Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] The query caused a BE node core #44312

Open
2 of 3 tasks
htyoung opened this issue Nov 20, 2024 · 1 comment
Open
2 of 3 tasks

[Bug] The query caused a BE node core #44312

htyoung opened this issue Nov 20, 2024 · 1 comment

Comments

@htyoung
Copy link
Contributor

htyoung commented Nov 20, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

Version

1.2.7.1

What's Wrong?

BE node core, The stack information is as follows

*** Query id: a252a0414e5247ec-ac4afaae58f49731 ***
*** Aborted at 1732003960 (unix time) try "date -d @1732003960" if you are using GNU date ***
*** Current BE git commitID: Unknown ***
*** SIGSEGV address not mapped to object (@0x1f) received by PID 35328 (TID 0x7f2331ee5700) from PID 31; stack trace: ***
0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /root/doris/be/src/common/signal_handler.h:420
1# os::Linux::chained_handler(int, siginfo*, void*) in /data/service/jdk/jre/lib/amd64/server/libjvm.so
2# JVM_handle_linux_signal in /data/service/jdk/jre/lib/amd64/server/libjvm.so
3# signalHandler(int, siginfo*, void*) in /data/service/jdk/jre/lib/amd64/server/libjvm.so
4# 0x00007F5D8536C400 in /lib64/libc.so.6
5# doris::vectorized::IAggregateFunctionDataHelper<doris::vectorized::AggregateFunctionUniqExactData<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, doris::vectorized::AggregateFunctionUniq<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, doris::vectorized::AggregateFunctionUniqExactData<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > >::destroy(char*) const at /root/doris/be/src/vec/aggregate_functions/aggregate_function.h:389
6# ZNSt8__detail9__variant17__gen_vtable_implINS0_12_Multi_arrayIPFNS0_21__deduce_visit_resultIvEEOZN5doris10vectorized15AggregationNode26_close_with_serialized_keyEvEUlOT_E_RSt7variantIJNS6_27AggregationMethodSerializedI9PHHashMapI9StringRefPc11DefaultHashISF_vELb0EEEENS6_26AggregationMethodOneNumberIh12FixedHashMapIhSG_28FixedHashMapImplicitZeroCellIhSG_16HashTableNoStateE28FixedHashTableCalculatedSizeISP_E9AllocatorILb1ELb1EEELb0EEENSL_ItSM_ItSG_SN_ItSG_SO_E24FixedHashTableStoredSizeISW_EST_ELb0EEENSL_IjSE_IjSG_9HashCRC32IjELb0EELb0EEENSL_ImSE_ImSG_S11_ImELb0EELb0EEENS6_30AggregationMethodStringNoCacheI13StringHashMapISG_ST_EEENSL_INS6_7UInt128ESE_IS1C_SG_S11_IS1C_ELb0EELb0EEENSL_IjSE_IjSG_14HashMixWrapperIjS12_ELb0EELb0EEENSL_ImSE_ImSG_S1G_ImS15_ELb0EELb0EEENSL_IS1C_SE_IS1C_SG_S1G_IS1C_S1D_ELb0EELb0EEENS6_37AggregationMethodSingleNullableColumnINSL_IhNS6_26AggregationDataWithNullKeyISU_EELb0EEEEENS1Q_INSL_ItNS1R_ISZ_EELb0EEEEENS1Q_INSL_IjNS1R_IS13_EELb0EEEEENS1Q_INSL_ImNS1R_IS16_EELb0EEEEENS1Q_INSL_IjNS1R_IS1I_EELb0EEEEENS1Q_INSL_ImNS1R_IS1L_EELb0EEEEENS1Q_INSL_IS1C_NS1R_IS1E_EELb0EEEEENS1Q_INSL_IS1C_NS1R_IS1O_EELb0EEEEENS1Q_INS18_INS1R_IS1A_EEEEEENS6_26AggregationMethodKeysFixedIS16_Lb0EEENS2J_IS16_Lb1EEENS2J_IS1E_Lb0EEENS2J_IS1E_Lb1EEENS2J_ISE_INS6_7UInt256ESG_S11_IS2O_ELb0EELb0EEENS2J_IS2Q_Lb1EEENS2J_IS1L_Lb0EEENS2J_IS1L_Lb1EEENS2J_IS1O_Lb0EEENS2J_IS1O_Lb1EEENS2J_ISE_IS2O_SG_S1G_IS2O_S2P_ELb0EELb0EEENS2J_IS2Y_Lb1EEEEEEJEEESt16integer_sequenceImJLm0EEEE14__visit_invokeESB_S32 at /var/local/ldb-toolchain/include/c++/11/variant:1013
7# doris::vectorized::AggregationNode::_close_with_serialized_key() at /root/doris/be/src/vec/exec/vaggregation_node.cpp:1348
8# doris::vectorized::AggregationNode::close(doris::RuntimeState*) at /root/doris/be/src/vec/exec/vaggregation_node.cpp:535
9# doris::PlanFragmentExecutor::close() at /root/doris/be/src/runtime/plan_fragment_executor.cpp:687
10# doris::FragmentExecState::execute() at /root/doris/be/src/runtime/fragment_mgr.cpp:269
11# doris::FragmentMgr::_exec_actual(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>) at /root/doris/be/src/runtime/fragment_mgr.cpp:509
12# std::_Function_handler<void (), doris::FragmentMgr::exec_plan_fragment(doris::TExecPlanFragmentParams const&, std::function<void (doris::PlanFragmentExecutor*)>)::{lambda()#1}>::_M_invoke(std::_Any_data const&) at /var/local/ldb-toolchain/include/c++/11/bits/std_function.h:291
13# doris::ThreadPool::dispatch_thread() at /root/doris/be/src/util/threadpool.cpp:543
14# doris::Thread::supervise_thread(void*) at /root/doris/be/src/util/thread.cpp:455
15# start_thread in /lib64/libpthread.so.0
16# clone in /lib64/libc.so.6

What You Expected?

BE node works fine

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@ixzc
Copy link
Contributor

ixzc commented Nov 20, 2024

please search this query-id a252a0414e5247ec-ac4afaae58f49731 in doris fe.audit.log file and execute this sql again to see if it can cause BE core again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants