Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-580

Crash in StripeStreamsImpl::getEncoding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • C++
    • None

    Description

      Encounter crash when reading a corrupt file (attached as 000000_0) using the C++ orc-scan tool. Backtrace of the crash

      #0  orc::StripeStreamsImpl::getEncoding (this=0x7ffdf765f580, columnId=<optimized out>) at /home/quanlong/workspace/orc/c++/src/StripeStream.cc:67
      #1  0x00000000005f759f in orc::StructColumnReader::StructColumnReader (this=this@entry=0x1d37990, type=..., stripe=...) at /home/quanlong/workspace/orc/c++/src/ColumnReader.cc:869
      #2  0x00000000005f741b in orc::buildReader (type=..., stripe=...) at /home/quanlong/workspace/orc/c++/src/ColumnReader.cc:1802
      #3  0x000000000059fd08 in orc::RowReaderImpl::startNextStripe (this=0x1d2d590) at /home/quanlong/workspace/orc/c++/src/Reader.cc:910
      #4  0x00000000005a015a in orc::RowReaderImpl::next (this=0x1d2d590, data=...) at /home/quanlong/workspace/orc/c++/src/Reader.cc:925
      #5  0x00000000005978f8 in scanFile (out=..., filename=<optimized out>, batchSize=batchSize@entry=1024) at /home/quanlong/workspace/orc/tools/src/FileScan.cc:39
      #6  0x0000000000597178 in main (argc=1, argv=<optimized out>) at /home/quanlong/workspace/orc/tools/src/FileScan.cc:84 

      Attachments

        1. 000000_0
          0.8 kB
          Quanlong Huang

        Issue Links

          Activity

            People

              stigahuang Quanlong Huang
              stigahuang Quanlong Huang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m