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

   ```
   23:00:15   F20240824 22:56:49.773799 66432 thread_context.h:238] Check 
failed: doris::k_doris_exit || !doris::config::enable_memory_orphan_check || 
thread_mem_tracker()->label() != "Orphan" If you crash here, it means that 
SCOPED_ATTACH_TASK and SCOPED_SWITCH_THREAD_MEM_TRACKER_LIMITER are not used 
correctly. starting position of each thread is expected to use 
SCOPED_ATTACH_TASK to bind a MemTrackerLimiter belonging to 
Query/Load/Compaction/Other Tasks, otherwise memory alloc using Doris Allocator 
in the thread will crash. If you want to switch MemTrackerLimiter during thread 
execution, please use SCOPED_SWITCH_THREAD_MEM_TRACKER_LIMITER, do not repeat 
Attach. Of course, you can modify enable_memory_orphan_check=false in be.conf 
to avoid this crash.
   23:00:15   *** Check failure stack trace: ***
   23:00:15       @     0x55645d3388e6  
google::LogMessageFatal::~LogMessageFatal()
   23:00:15       @     0x5564439637c2  doris::ThreadContext::consume_memory()
   23:00:15       @     0x5564439914fe  Allocator<>::release_memory()
   23:00:15       @     0x5564354be11e  std::_Sp_counted_ptr<>::_M_dispose()
   23:00:15       @     0x55643557bc3b  std::deque<>::pop_front()
   23:00:15       @     0x5564355756b1  
doris::io::StreamLoadPipe::~StreamLoadPipe()
   23:00:15       @     0x5564354bfa77  
doris::StreamLoadContext::~StreamLoadContext()
   23:00:15       @     0x556436ee5114  doris::HttpRequest::~HttpRequest()
   ```
   
   


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to