You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2016/06/22 15:19:57 UTC

[jira] [Resolved] (KUDU-1486) Segfault in KeyEncoder

     [ https://issues.apache.org/jira/browse/KUDU-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon resolved KUDU-1486.
-------------------------------
       Resolution: Fixed
         Assignee: Todd Lipcon
    Fix Version/s: 1.0.0

I dug into this and found that it was caused by tcmalloc profiling. Fixed here: https://gerrit.cloudera.org/#/c/3445/


> Segfault in KeyEncoder
> ----------------------
>
>                 Key: KUDU-1486
>                 URL: https://issues.apache.org/jira/browse/KUDU-1486
>             Project: Kudu
>          Issue Type: Bug
>          Components: tablet
>    Affects Versions: 0.9.0
>            Reporter: Mike Percy
>            Assignee: Todd Lipcon
>             Fix For: 1.0.0
>
>
> Found this crasher while running ITBLL
> {code}
> 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
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)