mrhhsg opened a new pull request, #56755:
URL: https://github.com/apache/doris/pull/56755

   ### What problem does this PR solve?
   
   ```text
   #0  __GI___pthread_sigmask (how=2, newmask=<optimized out>, oldmask=0x0) at 
./nptl/pthread_sigmask.c:43
   #1  0x00007f91fd6c471e in PosixSignals::chained_handler(int, siginfo*, 
void*) [clone .part.0] () from 
/usr/lib/jvm/java-17-openjdk-amd64/lib/server/libjvm.so
   #2  0x00007f91fd6c5206 in JVM_handle_linux_signal () from 
/usr/lib/jvm/java-17-openjdk-amd64/lib/server/libjvm.so
   #3  <signal handler called>
   #4  __gnu_cxx::__exchange_and_add (__mem=0xe, __val=-1) at 
/usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/ext/atomicity.h:68
   #5  __gnu_cxx::__exchange_and_add_dispatch (__mem=0xe, __val=-1) at 
/usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/ext/atomicity.h:103
   #6  std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_weak_release 
(this=0x2) at 
/usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/shared_ptr_base.h:211
   #7  std::__weak_count<(__gnu_cxx::_Lock_policy)2>::~__weak_count 
(this=<optimized out>) at 
/usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/shared_ptr_base.h:1168
   #8  std::__weak_ptr<doris::QueryContext, 
(__gnu_cxx::_Lock_policy)2>::~__weak_ptr (this=<optimized out>) at 
/usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/shared_ptr_base.h:2003
   #9  doris::QueryTaskController::revoke_memory()::$_1::~$_1() 
(this=<optimized out>) at 
/root/doris/be/src/runtime/workload_management/query_task_controller.cpp:168
   #10 
std::_Function_base::_Base_manager<doris::QueryTaskController::revoke_memory()::$_1>::_M_destroy(std::_Any_data&,
 std::integral_constant<bool, false>) (__victim=...)
       at 
/usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/std_function.h:177
   #11 
std::_Function_base::_Base_manager<doris::QueryTaskController::revoke_memory()::$_1>::_M_manager(std::_Any_data&,
 std::_Any_data const&, std::_Manager_operation) (__dest=..., 
__op=std::__destroy_functor, __source=...)
       at 
/usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/std_function.h:205
   #12 std::_Function_handler<void (doris::pipeline::SpillContext*), 
doris::QueryTaskController::revoke_memory()::$_1>::_M_manager(std::_Any_data&, 
std::_Any_data const&, std::_Manager_operation) (__dest=..., __source=..., 
__op=std::__destroy_functor)
       at 
/usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/std_function.h:284
   #13 0x000055f37fba60c5 in std::_Function_base::~_Function_base 
(this=0x7f8dbb0c9fe0) at 
/usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/std_function.h:246
   #14 doris::pipeline::SpillContext::~SpillContext (this=0x7f91536f0150) at 
/root/doris/be/src/pipeline/exec/spill_utils.h:57
   #15 0x000055f384259e4b in 
std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release 
(this=0x7f91536f0140) at 
/usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/shared_ptr_base.h:345
   #16 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::operator= 
(this=0x7f8d61302518, __r=...) at 
/usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/shared_ptr_base.h:1088
   #17 std::__shared_ptr<doris::pipeline::SpillContext, 
(__gnu_cxx::_Lock_policy)2>::operator= (this=0x7f8d61302510) at 
/usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/shared_ptr_base.h:1530
   #18 std::shared_ptr<doris::pipeline::SpillContext>::operator= 
(this=0x7f8d61302510) at 
/usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/shared_ptr.h:413
   #19 doris::pipeline::PipelineTask::revoke_memory (this=0x7f8d61302490, 
spill_context=...) at /root/doris/be/src/pipeline/pipeline_task.cpp:812
   #20 0x000055f37fba3c2d in doris::QueryTaskController::revoke_memory 
(this=<optimized out>) at 
/root/doris/be/src/runtime/workload_management/query_task_controller.cpp:185
   #21 0x000055f37fb99d08 in doris::WorkloadGroupMgr::handle_single_query_ 
(this=<optimized out>, requestor=..., 
size_to_reserve=size_to_reserve@entry=1024000, 
time_in_queue=time_in_queue@entry=27, paused_reason=...)
       at 
/root/doris/be/src/runtime/workload_group/workload_group_manager.cpp:820
   #22 0x000055f37fb981d0 in doris::WorkloadGroupMgr::handle_paused_queries 
(this=0x7f9141d8a800) at 
/root/doris/be/src/runtime/workload_group/workload_group_manager.cpp:381
   #23 0x000055f37eb97297 in doris::Daemon::memory_maintenance_thread 
(this=0x7ffe63cad730) at /root/doris/be/src/common/daemon.cpp:354
   #24 0x000055f37fd812fc in std::function<void ()>::operator()() const 
(this=0x7f8dbb0c9fe0) at 
/usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/std_function.h:593
   #25 doris::Thread::supervise_thread (arg=0x7f914ba25e10) at 
/root/doris/be/src/util/thread.cpp:460
   #26 0x00007f91fc75fac3 in start_thread (arg=<optimized out>) at 
./nptl/pthread_create.c:442
   #27 0x00007f91fc7f1850 in __closefrom_fallback (from=1674236160, 
dirfd_fallback=<optimized out>) at 
../sysdeps/unix/sysv/linux/closefrom_fallback.c:45
   #28 0x0000000000000000 in ?? ()
   ```
   
   Related PR: #xxx
   
   Problem Summary:
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test <!-- At least one of them must be included. -->
       - [ ] Regression test
       - [ ] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason <!-- Add your reason?  -->
   
   - Behavior changed:
       - [ ] No.
       - [ ] Yes. <!-- Explain the behavior change -->
   
   - Does this need documentation?
       - [ ] No.
       - [ ] Yes. <!-- Add document PR link here. eg: 
https://github.com/apache/doris-website/pull/1214 -->
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should 
merge into -->
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to