Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1486

Segfault in KeyEncoder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.10.0
    • tablet
    • None

    Description

      Found this crasher while running ITBLL

      Program terminated with signal 11, Segmentation fault.
      #0  Encode (key=0xf27878537e280a81, is_last=false, dst=0x7f2d55a15598) at ../../src/kudu/common/key_encoder.h:84
      84      ../../src/kudu/common/key_encoder.h: No such file or directory.
              in ../../src/kudu/common/key_encoder.h
      
      (gdb) bt
      #0  Encode (key=0xf27878537e280a81, is_last=false, dst=0x7f2d55a15598) at ../../src/kudu/common/key_encoder.h:84
      #1  kudu::KeyEncoderTraits<(kudu::DataType)7, kudu::faststring, void>::EncodeWithSeparators (key=0xf27878537e280a81, is_last=false, dst=0x7f2d55a15598) at ../../src/kudu/common/key_encoder.h:91
      #2  0x00000000017ed916 in Encode (row=...) at ../../src/kudu/common/key_encoder.h:311
      #3  AddColumnKey (row=...) at ../../src/kudu/common/encoded_key.cc:155
      #4  kudu::EncodedKey::FromContiguousRow (row=...) at ../../src/kudu/common/encoded_key.cc:46
      #5  0x00000000008a870e in RowSetKeyProbe (this=0x118ecdc0, tx_state=0x19820360, op=0x261d25c0) at ../../src/kudu/tablet/rowset.h:179
      #6  kudu::tablet::Tablet::AcquireLockForOp (this=0x118ecdc0, tx_state=0x19820360, op=0x261d25c0) at ../../src/kudu/tablet/tablet.cc:358
      #7  0x00000000008a8a3e in kudu::tablet::Tablet::AcquireRowLocks (this=0x118ecdc0, tx_state=0x19820360) at ../../src/kudu/tablet/tablet.cc:334
      #8  0x00000000008e234f in kudu::tablet::WriteTransaction::Prepare (this=0x13ad1710) at ../../src/kudu/tablet/transactions/write_transaction.cc:95
      #9  0x00000000008d95c8 in kudu::tablet::TransactionDriver::PrepareAndStart (this=0x1f8bcc60) at ../../src/kudu/tablet/transactions/transaction_driver.cc:170
      #10 0x00000000008d9ead in kudu::tablet::TransactionDriver::PrepareAndStartTask (this=0x1f8bcc60) at ../../src/kudu/tablet/transactions/transaction_driver.cc:159
      #11 0x000000000191a74e in operator() (this=0x5157080, permanent=false) at /usr/include/boost/function/function_template.hpp:1013
      #12 Run (this=0x5157080, permanent=false) at ../../src/kudu/util/threadpool.cc:48
      #13 kudu::ThreadPool::DispatchThread (this=0x5157080, permanent=false) at ../../src/kudu/util/threadpool.cc:343
      #14 0x00000000019154fa in operator() (arg=0x5367ad0) at /usr/include/boost/function/function_template.hpp:1013
      #15 kudu::Thread::SuperviseThread (arg=0x5367ad0) at ../../src/kudu/util/thread.cc:586
      #16 0x000000305f4079d1 in start_thread () from /lib64/libpthread.so.0
      #17 0x000000305f0e88fd in clone () from /lib64/libc.so.6
      

      Attachments

        Issue Links

          Activity

            People

              tlipcon Todd Lipcon
              mpercy Mike Percy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: