Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Feature Complete
-
None
-
None
Description
I've seen this semi-frequently on a master release build (can't repro in asan).
Seems like a symptom of a general race condition in the cache, though I haven't dug deeper.
I have the core/bin if needed.
Trace:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/dralves/work/cloudera/code/Impala/../kudu/build/latest//kudu-master -fs_w'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000000000085cc4f in data (this=0x7ff126c441d0) at src/kudu/cfile/block_cache.h:106
106 const Slice *slice = reinterpret_cast<const Slice *>(cache_->Value(handle_));
(gdb) bt
#0 0x000000000085cc4f in data (this=0x7ff126c441d0) at src/kudu/cfile/block_cache.h:106
#1 data (this=0x7ff126c441d0) at src/kudu/cfile/block_handle.h:51
#2 kudu::cfile::BloomFileReader::CheckKeyPresent (this=0x3fe4aa0, probe=..., maybe_present=0x7ff126c4439e) at src/kudu/cfile/bloomfile.cc:251
#3 0x000000000084868d in kudu::tablet::CFileSet::FindRow (this=0x42fa980, probe=..., idx=0x7ff126c44460, stats=0x7ff126c44500) at src/kudu/tablet/cfile_set.cc:195
#4 0x0000000000848a80 in kudu::tablet::CFileSet::CheckRowPresent (this=<optimized out>, probe=..., present=0x7ff126c4455f, rowid=<optimized out>, stats=<optimized out>) at src/kudu/tablet/cfile_set.cc:225
#5 0x00000000007f2114 in kudu::tablet::DiskRowSet::CheckRowPresent (this=0x3fb9e60, probe=..., present=0x7ff126c4455f, stats=0x7ff126c44500) at src/kudu/tablet/diskrowset.cc:590
#6 0x00000000007a8027 in kudu::tablet::Tablet::InsertUnlocked (this=0x3ea4500, tx_state=0x43a9680, insert=0x46ccf50) at src/kudu/tablet/tablet.cc:366
#7 0x00000000007a8a22 in kudu::tablet::Tablet::ApplyRowOperation (this=<optimized out>, tx_state=<optimized out>, row_op=<optimized out>) at src/kudu/tablet/tablet.cc:483
#8 0x00000000007aa626 in kudu::tablet::Tablet::ApplyRowOperations (this=0x3ea4500, tx_state=0x43a9680) at src/kudu/tablet/tablet.cc:475
#9 0x00000000007e0894 in kudu::tablet::WriteTransaction::Apply (this=0x41226f0, commit_msg=0x7ff126c448b0) at src/kudu/tablet/transactions/write_transaction.cc:97
#10 0x00000000007d8a9f in kudu::tablet::TransactionDriver::ApplyTask (this=0x42f9400) at src/kudu/tablet/transactions/transaction_driver.cc:352
#11 0x00000000012dca7c in operator() (this=<optimized out>) at /opt/toolchain/boost-pic-1.55.0/include/boost/function/function_template.hpp:767
#12 kudu::FunctionRunnable::Run (this=<optimized out>) at src/kudu/util/threadpool.cc:35
#13 0x00000000012da798 in kudu::ThreadPool::DispatchThread (this=0x3d3cc80, permanent=false) at src/kudu/util/threadpool.cc:306
#14 0x00000000012d6593 in operator() (this=0x4380028) at /opt/toolchain/boost-pic-1.55.0/include/boost/function/function_template.hpp:767
#15 kudu::Thread::SuperviseThread (arg=0x4380000) at src/kudu/util/thread.cc:483
#16 0x00007ff1423826aa in start_thread (arg=0x7ff126c45700) at pthread_create.c:333