Havenask 1.0.0-beta coredump
- Dominant language
- C++
- Stars
- 1.8k
- Forks
- 352
- PR merge metrics
- No merged PRs in 30d
Description
**core 1:**
(gdb) bt
#0 0x00007f7e3fdadbb5 in raise () from /lib64/libc.so.6
#1 0x00007f7e3fd968a4 in abort () from /lib64/libc.so.6
#2 0x00007f7e3fd96789 in __assert_fail_base.cold () from /lib64/libc.so.6
#3 0x00007f7e3fda5fd6 in __assert_fail () from /lib64/libc.so.6
#4 0x000000000a48fdd2 in table::ColumnData::get (this=0x7f7c844abbb0, rowIndex=16) at bazel-out/k8-dbg/bin/aios/table/_virtual_includes/table/table/ColumnData.h:73
#5 0x000000000a572cf0 in operator() > (__closure=0x7f7ae2faa4d0, a=...) at aios/ha3/ha3/sql/ops/join/JoinBase.cpp:218
#6 0x000000000a573521 in table::ValueTypeSwitch::switchType&)::, isearch::sql::JoinBase::evaluateTableColumn(const TablePtr&, table::TablePtr&, const string&, const string&, size_t, const std::vector&):: >(matchdoc::BuiltinType, bool, struct {...}, struct {...}) (bt=matchdoc::bt_uint64, isMulti=false, func=..., multiFunc=...) at bazel-out/k8-dbg/bin/aios/table/_virtual_includes/table/table/ValueTypeSwitch.h:68
#7 0x000000000a571e15 in table::ValueTypeSwitch::switchType&)::, isearch::sql::JoinBase::evaluateTableColumn(const TablePtr&, table::TablePtr&, const string&, const string&, size_t, const std::vector&):: >(matchdoc::ValueType, struct {...}, struct {...}) (vt=..., func=..., multiFunc=...) at bazel-out/k8-dbg/bin/aios/table/_virtual_includes/table/table/ValueTypeSwitch.h:48
#8 0x000000000a57178a in isearch::sql::JoinBase::evaluateTableColumn (this=0x7f7cac412a70, inputTable=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 8, weak count 0) = {...}, outputTable=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 1, weak count 0) = {...}, inputField="stop_dept_id", outputField="stop_dept_id", joinIndex=0, rowIndexes=std::vector of length 33, capacity 1837 = {...})
at aios/ha3/ha3/sql/ops/join/JoinBase.cpp:223
#9 0x000000000a571499 in isearch::sql::JoinBase::evaluateRightTableColumns (this=0x7f7cac412a70, rowIndexes=std::vector of length 33, capacity 1837 = {...}, inputTable=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 8, weak count 0) = {...}, joinIndexStart=0, outputTable=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 1, weak count 0) = {...}) at aios/ha3/ha3/sql/ops/join/JoinBase.cpp:187
#10 0x000000000a5711c3 in isearch::sql::JoinBase::evaluateJoinedTable (this=0x7f7cac412a70, leftTableIndexes=std::vector of length 33, capacity 1837 = {...}, rightTableIndexes=std::vector of length 33, capacity 1837 = {...},
leftTable=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 2, weak count 0) = {...}, rightTable=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 8, weak count 0) = {...}, outputTable=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 1, weak count 0) = {...}) at aios/ha3/ha3/sql/ops/join/JoinBase.cpp:151
#11 0x000000000a578579 in isearch::sql::LeftJoin::generateResultTable (this=0x7f7cac412a70, leftTableIndexes=std::vector of length 33, capacity 1837 = {...}, rightTableIndexes=std::vector of length 33, capacity 1837 = {...},
leftTable=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 2, weak count 0) = {...}, rightTable=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 8, weak count 0) = {...}, joinedRowCount=11, outputTable=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 1, weak count 0) = {...}) at aios/ha3/ha3/sql/ops/join/LeftJoin.cpp:63
#12 0x000000000a4cd6f7 in isearch::sql::HashJoinKernel::doCompute (this=0x7f7c7c1f12e0, outputTable=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 1, weak count 0) = {...}) at aios/ha3/ha3/sql/ops/join/kernel/HashJoinKernel.cpp:164
#13 0x000000000a4ccff2 in isearch::sql::HashJoinKernel::compute (this=0x7f7c7c1f12e0, runContext=...) at aios/ha3/ha3/sql/ops/join/kernel/HashJoinKernel.cpp:122
#14 0x000000001294cfa5 in navi::Node::doCompute (this=0x7f7c443f36f0, schedInfo=...) at navi/engine/Node.cpp:1238
#15 0x000000001294cc42 in navi::Node::compute (this=0x7f7c443f36f0, schedInfo=...) at navi/engine/Node.cpp:1198
#16 0x00000000129188a3 in navi::KernelWorkItem::doProcess (this=0x7f7c843ea220) at navi/engine/KernelWorkItem.cpp:29
#17 0x0000000012941e5c in navi::NaviWorkerItem::process (this=0x7f7c843ea220) at navi/engine/NaviWorkerBase.cpp:44
#18 0x000000001293bfb0 in navi::NaviThreadPool::workLoop (this=0x7f7c0c5b8fc0, tid=4) at navi/engine/NaviThreadPool.cpp:416
#19 0x000000001293e001 in std::__invoke_impl (__f=
@0x7f7c0c5bf060: (void (navi::NaviThreadPool::*)(navi::NaviThreadPool * const, int)) 0x1293bd78 , __t=@0x7f7c0c5bf078: 0x7f7c0c5b8fc0)
at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/invoke.h:73
#20 0x000000001293ded1 in std::__invoke (__fn=
@0x7f7c0c5bf060: (void (navi::NaviThreadPool::*)(navi::NaviThreadPool * const, int)) 0x1293bd78 ) at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/invoke.h:95
#21 0x000000001293ddb7 in std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) (this=0x7f7c0c5bf060, __args=...)
at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/functional:416
#22 0x000000001293dca0 in std::_Bind::operator()<, void>() (this=0x7f7c0c5bf060) at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/functional:499
#23 0x000000001293d9be in std::__invoke_impl&>(std::__invoke_other, std::_Bind&)
(__f=...) at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/invoke.h:60
#24 0x000000001293d60e in std::__invoke_r&>(std::_Bind&) (__fn=...)
at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/invoke.h:110
#25 0x000000001293d2e6 in std::_Function_handler >::_M_invoke(std::_Any_data const&) (__functor=...)
at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_function.h:291
#26 0x0000000009495e5c in std::function::operator()() const (this=0x7f7c0c5bee10) at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_function.h:622
#27 0x000000001308cb49 in autil::Thread::threadWrapperFunction (arg=0x7f7c0c5bee10) at aios/autil/autil/Thread.cpp:40
#28 0x00007f7e4029f3f9 in start_thread () from /lib64/libp
### coredump2
#0 0x00007fd766cdabb5 in raise () from /lib64/libc.so.6
#1 0x00007fd766cc38a4 in abort () from /lib64/libc.so.6
#2 0x00007fd766cc3789 in __assert_fail_base.cold () from /lib64/libc.so.6
#3 0x00007fd766cd2fd6 in __assert_fail () from /lib64/libc.so.6
#4 0x000000000a4c9458 in table::Table::markDeleteRow (this=0x7fd5c064d300, rowIndex=1054) at bazel-out/k8-dbg/bin/aios/table/_virtual_includes/table/table/Table.h:136
#5 0x000000001285bcad in table::Table::clearFrontRows (this=0x7fd5c064d300, clearSize=2240) at aios/table/table/Table.cpp:122
#6 0x000000000a4cda84 in isearch::sql::HashJoinKernel::doCompute (this=0x7fd5c05fdd20, outputTable=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 1, weak count 0) = {...}) at aios/ha3/ha3/sql/ops/join/kernel/HashJoinKernel.cpp:189
#7 0x000000000a4ccff2 in isearch::sql::HashJoinKernel::compute (this=0x7fd5c05fdd20, runContext=...) at aios/ha3/ha3/sql/ops/join/kernel/HashJoinKernel.cpp:122
#8 0x000000001294cfa5 in navi::Node::doCompute (this=0x7fd54c677060, schedInfo=...) at navi/engine/Node.cpp:1238
#9 0x000000001294cc42 in navi::Node::compute (this=0x7fd54c677060, schedInfo=...) at navi/engine/Node.cpp:1198
#10 0x00000000129188a3 in navi::KernelWorkItem::doProcess (this=0x7fd5a45edd70) at navi/engine/KernelWorkItem.cpp:29
#11 0x0000000012941e5c in navi::NaviWorkerItem::process (this=0x7fd5a45edd70) at navi/engine/NaviWorkerBase.cpp:44
#12 0x000000001293bfb0 in navi::NaviThreadPool::workLoop (this=0x7fd52c5ac280, tid=3) at navi/engine/NaviThreadPool.cpp:416
#13 0x000000001293e001 in std::__invoke_impl (__f=
@0x7fd52c5c3b60: (void (navi::NaviThreadPool::*)(navi::NaviThreadPool * const, int)) 0x1293bd78 , __t=@0x7fd52c5c3b78: 0x7fd52c5ac280)
at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/invoke.h:73
#14 0x000000001293ded1 in std::__invoke (__fn=
@0x7fd52c5c3b60: (void (navi::NaviThreadPool::*)(navi::NaviThreadPool * const, int)) 0x1293bd78 ) at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/invoke.h:95
#15 0x000000001293ddb7 in std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) (this=0x7fd52c5c3b60, __args=...)
at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/functional:416
#16 0x000000001293dca0 in std::_Bind::operator()<, void>() (this=0x7fd52c5c3b60) at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/functional:499
#17 0x000000001293d9be in std::__invoke_impl&>(std::__invoke_other, std::_Bind&)
(__f=...) at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/invoke.h:60
#18 0x000000001293d60e in std::__invoke_r&>(std::_Bind&) (__fn=...)
at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/invoke.h:110
#19 0x000000001293d2e6 in std::_Function_handler >::_M_invoke(std::_Any_data const&) (__functor=...)
at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_function.h:291
#20 0x0000000009495e5c in std::function::operator()() const (this=0x7fd52c5c3930) at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_function.h:622
#21 0x000000001308cb49 in autil::Thread::threadWrapperFunction (arg=0x7fd52c5c3930) at aios/autil/autil/Thread.cpp:40
#22 0x00007fd7671cc3f9 in start_thread () from /lib64/libpthread.so.0
#23 0x00007fd766d9eb13 in clone () from /lib64/libc.so.6
(gdb)
#0 0x00007fd766cdabb5 in raise () from /lib64/libc.so.6
#1 0x00007fd766cc38a4 in abort () from /lib64/libc.so.6
#2 0x00007fd766cc3789 in __assert_fail_base.cold () from /lib64/libc.so.6
#3 0x00007fd766cd2fd6 in __assert_fail () from /lib64/libc.so.6
#4 0x000000000a4c9458 in table::Table::markDeleteRow (this=0x7fd5c064d300, rowIndex=1054) at bazel-out/k8-dbg/bin/aios/table/_virtual_includes/table/table/Table.h:136
#5 0x000000001285bcad in table::Table::clearFrontRows (this=0x7fd5c064d300, clearSize=2240) at aios/table/table/Table.cpp:122
#6 0x000000000a4cda84 in isearch::sql::HashJoinKernel::doCompute (this=0x7fd5c05fdd20, outputTable=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 1, weak count 0) = {...}) at aios/ha3/ha3/sql/ops/join/kernel/HashJoinKernel.cpp:189
#7 0x000000000a4ccff2 in isearch::sql::HashJoinKernel::compute (this=0x7fd5c05fdd20, runContext=...) at aios/ha3/ha3/sql/ops/join/kernel/HashJoinKernel.cpp:122
#8 0x000000001294cfa5 in navi::Node::doCompute (this=0x7fd54c677060, schedInfo=...) at navi/engine/Node.cpp:1238
#9 0x000000001294cc42 in navi::Node::compute (this=0x7fd54c677060, schedInfo=...) at navi/engine/Node.cpp:1198
#10 0x00000000129188a3 in navi::KernelWorkItem::doProcess (this=0x7fd5a45edd70) at navi/engine/KernelWorkItem.cpp:29
#11 0x0000000012941e5c in navi::NaviWorkerItem::process (this=0x7fd5a45edd70) at navi/engine/NaviWorkerBase.cpp:44
#12 0x000000001293bfb0 in navi::NaviThreadPool::workLoop (this=0x7fd52c5ac280, tid=3) at navi/engine/NaviThreadPool.cpp:416
#13 0x000000001293e001 in std::__invoke_impl (__f=
@0x7fd52c5c3b60: (void (navi::NaviThreadPool::*)(navi::NaviThreadPool * const, int)) 0x1293bd78 , __t=@0x7fd52c5c3b78: 0x7fd52c5ac280)
at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/invoke.h:73
#14 0x000000001293ded1 in std::__invoke (__fn=
@0x7fd52c5c3b60: (void (navi::NaviThreadPool::*)(navi::NaviThreadPool * const, int)) 0x1293bd78 ) at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/invoke.h:95
#15 0x000000001293ddb7 in std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) (this=0x7fd52c5c3b60, __args=...)
at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/functional:416
#16 0x000000001293dca0 in std::_Bind::operator()<, void>() (this=0x7fd52c5c3b60) at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/functional:499
#17 0x000000001293d9be in std::__invoke_impl&>(std::__invoke_other, std::_Bind&)
(__f=...) at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/invoke.h:60
#18 0x000000001293d60e in std::__invoke_r&>(std::_Bind&) (__fn=...)
at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/invoke.h:110
#19 0x000000001293d2e6 in std::_Function_handler >::_M_invoke(std::_Any_data const&) (__functor=...)
at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_function.h:291
#20 0x0000000009495e5c in std::function::operator()() const (this=0x7fd52c5c3930) at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_function.h:622
#21 0x000000001308cb49 in autil::Thread::threadWrapperFunction (arg=0x7fd52c5c3930) at aios/autil/autil/Thread.cpp:40
#22 0x00007fd7671cc3f9 in start_thread () from /lib64/libpthread.so.0
#23 0x00007fd766d9eb13 in clone () from /lib64/libc.so.6
(gdb)
#0 0x00007fd766cdabb5 in raise () from /lib64/libc.so.6
#1 0x00007fd766cc38a4 in abort () from /lib64/libc.so.6
#2 0x00007fd766cc3789 in __assert_fail_base.cold () from /lib64/libc.so.6
#3 0x00007fd766cd2fd6 in __assert_fail () from /lib64/libc.so.6
#4 0x000000000a4c9458 in table::Table::markDeleteRow (this=0x7fd5c064d300, rowIndex=1054) at bazel-out/k8-dbg/bin/aios/table/_virtual_includes/table/table/Table.h:136
#5 0x000000001285bcad in table::Table::clearFrontRows (this=0x7fd5c064d300, clearSize=2240) at aios/table/table/Table.cpp:122
#6 0x000000000a4cda84 in isearch::sql::HashJoinKernel::doCompute (this=0x7fd5c05fdd20, outputTable=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr'
std::shared_ptr (use count 1, weak count 0) = {...}) at aios/ha3/ha3/sql/ops/join/kernel/HashJoinKernel.cpp:189
#7 0x000000000a4ccff2 in isearch::sql::HashJoinKernel::compute (this=0x7fd5c05fdd20, runContext=...) at aios/ha3/ha3/sql/ops/join/kernel/HashJoinKernel.cpp:122
#8 0x000000001294cfa5 in navi::Node::doCompute (this=0x7fd54c677060, schedInfo=...) at navi/engine/Node.cpp:1238
#9 0x000000001294cc42 in navi::Node::compute (this=0x7fd54c677060, schedInfo=...) at navi/engine/Node.cpp:1198
#10 0x00000000129188a3 in navi::KernelWorkItem::doProcess (this=0x7fd5a45edd70) at navi/engine/KernelWorkItem.cpp:29
#11 0x0000000012941e5c in navi::NaviWorkerItem::process (this=0x7fd5a45edd70) at navi/engine/NaviWorkerBase.cpp:44
#12 0x000000001293bfb0 in navi::NaviThreadPool::workLoop (this=0x7fd52c5ac280, tid=3) at navi/engine/NaviThreadPool.cpp:416
#13 0x000000001293e001 in std::__invoke_impl (__f=
@0x7fd52c5c3b60: (void (navi::NaviThreadPool::*)(navi::NaviThreadPool * const, int)) 0x1293bd78 , __t=@0x7fd52c5c3b78: 0x7fd52c5ac280)
at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/invoke.h:73
#14 0x000000001293ded1 in std::__invoke (__fn=
@0x7fd52c5c3b60: (void (navi::NaviThreadPool::*)(navi::NaviThreadPool * const, int)) 0x1293bd78 ) at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/invoke.h:95
#15 0x000000001293ddb7 in std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) (this=0x7fd52c5c3b60, __args=...)
at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/functional:416
#16 0x000000001293dca0 in std::_Bind::operator()<, void>() (this=0x7fd52c5c3b60) at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/functional:499
#17 0x000000001293d9be in std::__invoke_impl&>(std::__invoke_other, std::_Bind&)
(__f=...) at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/invoke.h:60
#18 0x000000001293d60e in std::__invoke_r&>(std::_Bind&) (__fn=...)
at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/invoke.h:110
#19 0x000000001293d2e6 in std::_Function_handler >::_M_invoke(std::_Any_data const&) (__functor=...)
at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_function.h:291
#20 0x0000000009495e5c in std::function::operator()() const (this=0x7fd52c5c3930) at /usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/std_function.h:622
#21 0x000000001308cb49 in autil::Thread::threadWrapperFunction (arg=0x7fd52c5c3930) at aios/autil/autil/Thread.cpp:40
#22 0x00007fd7671cc3f9 in start_thread () from /lib64/libpthread.so.0
#23 0x00007fd766d9eb13 in clone () from /lib64/libc.so.6
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting aios/ha3/ha3/sql/ops/join/JoinBase.cpp, LeftJoin.cpp, and HashJoinKernel.cpp around the reported lines, then review the assertions in aios/table/table/Table.cpp and the referenced table headers. Use the two coredump traces to reproduce the failing join path. Done means the coredumps no longer occur and regression coverage demonstrates valid row and column handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100