Michael Smith created IMPALA-15159:
--------------------------------------
Summary: DCHECK in reservation tracker
Key: IMPALA-15159
URL: https://issues.apache.org/jira/browse/IMPALA-15159
Project: IMPALA
Issue Type: Bug
Reporter: Michael Smith
EE tests encountered DCHECK at
[https://github.com/apache/impala/blob/e0a6e94/be/src/runtime/bufferpool/reservation-tracker.cc#L130:]
{code:java}
F20260705 12:53:22.345126 1614382 reservation-tracker.cc:130]
5b47df214497c748:2cc88d5900000000] Check failed: used_reservation_.Load() == 0
(49152 vs. 0)
{code}
with minidump stack
{code:java}
Thread 450 (crashed)
0 libc.so.6!__GI_raise + 0x10f
rax = 0x0000000000000000 rdx = 0x0000000000000000
rcx = 0x00007f07648575af rbx = 0x0000000000000006
rsi = 0x00007f0646be6d40 rdi = 0x0000000000000002
rbp = 0x00007f0646be7120 rsp = 0x00007f0646be6d40
r8 = 0x0000000000000000 r9 = 0x00007f0646be6d40
r10 = 0x0000000000000008 r11 = 0x0000000000000246
r12 = 0x0000000014e178e0 r13 = 0x0000000000000003
r14 = 0x000000000a86a939 r15 = 0x00007f0646be7318
rip = 0x00007f07648575af
Found by: given as instruction pointer in context
1 libc.so.6!__GI_abort + 0x127
rbx = 0x0000000014e178e0 rbp = 0x00007f0646be7120
rsp = 0x00007f0646be6e60 r12 = 0x0000000014e178e0
r13 = 0x0000000000000003 r14 = 0x000000000a86a939
r15 = 0x00007f0646be7318 rip = 0x00007f076482aee5
Found by: call frame info
2 impalad!google::DumpStackTraceAndExit [utilities.cc : 178 + 0x5]
rbx = 0x0000000014e178e0 rbp = 0x00007f0646be7120
rsp = 0x00007f0646be6f90 r12 = 0x0000000014e178e0
r13 = 0x0000000000000003 r14 = 0x000000000a86a939
r15 = 0x00007f0646be7318 rip = 0x0000000002370e09
Found by: call frame info
3 impalad!google::LogMessage::Flush() [logging.cc : 1799 + 0x2]
rbp = 0x00007f0646be7318 rsp = 0x00007f0646be7130
rip = 0x0000000009ac995b
Found by: previous frame's frame pointer
4 libstdc++.so.6!std::basic_ostream<char, std::char_traits<char> >&
std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&, char const*, long) [streambuf : 458 + 0xd]
rbp = 0x00007f0646be7318 rsp = 0x00007f0646be7170
rip = 0x00007f07686a67b4
Found by: stack scanning
5 impalad!impala::ReservationTracker::Close() [reservation-tracker.cc : 130 +
0x5]
rbx = 0x0000000025f43de0 rbp = 0x00000000274ea1a0
rsp = 0x00007f0646be71e0 r12 = 0x0000000000000000
r13 = 0x00007f0646be8b80 r14 = 0x0000000009acaf19
r15 = 0x00007f0646be8b80 rip = 0x0000000004dd8c42
Found by: call frame info
6 impalad!std::mutex::unlock() [std_mutex.h : 118 + 0x8]
rsp = 0x00007f0646be7230 rip = 0x000000000251f15d
Found by: stack scanning
7 impalad!impala::RowBatch::BufferInfo::~BufferInfo() [row-batch.h : 540 +
0x10]
rsp = 0x00007f0646be72a0 rip = 0x00000000038a54a1
Found by: stack scanning
8 impalad!void
std::_Destroy_aux<false>::__destroy<impala::RowBatch::BufferInfo*>(impala::RowBatch::BufferInfo*,
impala::RowBatch::BufferInfo*) [stl_construct.h : 152 + 0x8]
rsp = 0x00007f0646be72e0 rip = 0x00000000038a85e4
Found by: stack scanning
9 impalad!impala::BufferPool::Client::Close() [buffer-pool-internal.h : 217 +
0x15]
rsp = 0x00007f0646be73e0 rip = 0x0000000004dce903
Found by: stack scanning
10
impalad!impala::BufferPool::DeregisterClient(impala::BufferPool::ClientHandle*)
[buffer-pool.cc : 137 + 0x15]
rsp = 0x00007f0646be7410 rip = 0x0000000004db8127
Found by: stack scanning
11 impalad!std::__shared_ptr_access<impala::KrpcDataStreamRecvr,
(__gnu_cxx::_Lock_policy)2, false, false>::_M_get() const [shared_ptr_base.h :
1027 + 0x9]
rsp = 0x00007f0646be7420 rip = 0x00000000037644a1
Found by: stack scanning
12 impalad!impala::ExchangeNode::Close(impala::RuntimeState*)
[exchange-node.cc : 163 + 0xc]
rsp = 0x00007f0646be7470 rip = 0x0000000004f6860c
Found by: stack scanning
13 impalad!impala::FragmentInstanceState::ExecInternal()
[fragment-instance-state.cc : 530 + 0x5]
rsp = 0x00007f0646be74e0 rip = 0x0000000003a486b7
Found by: stack scanning
14 impalad!void std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_M_construct<char*>(char*, char*,
std::forward_iterator_tag) [basic_string.tcc : 232 + 0x9]
rsp = 0x00007f0646be7520 rip = 0x0000000002a7890a
Found by: stack scanning
15 impalad!void
__gnu_cxx::new_allocator<std::_Rb_tree_node<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > >
>::construct<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&>(std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >*, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) [new_allocator.h : 156 +
0x19]
rsp = 0x00007f0646be7590 rip = 0x000000000271225e
Found by: stack scanning
{code}
The query was {{{}select * from alltypes limit 899{}}}, part of
{code:java}
query_test/test_scanners.py::TestScannersAllTableFormatsWithLimit::test_limit["table_format:
avro/snap/block" | "protocol: hs2" | "exec_option: {'abort_on_error': 1,
'batch_size': 100, 'disable_codegen': True, 'disable_codegen_rows_threshold':
0, 'exec_single_node_rows_threshold': 0, 'num_nodes': 0, 'test_replan': 1,
'mt_dop': 0}"]{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]