stdpain edited a comment on issue #5213:
URL: 
https://github.com/apache/incubator-doris/issues/5213#issuecomment-757094232


   @acelyc111 
   I apply patch #5124  and add some sleep code, it also core with a DCHECK 
fail 
   here is a core dump: 
   ```
   #0  0x00007f6e943323f7 in raise () from 
/opt/compiler/gcc-4.8.2/lib64/libc.so.6
   #1  0x00007f6e943337d8 in abort () from 
/opt/compiler/gcc-4.8.2/lib64/libc.so.6
   #2  0x0000000001be6256 in google::DumpStackTraceAndExit () at 
src/utilities.cc:147
   #3  0x0000000001bdd55d in google::LogMessage::Fail () at src/logging.cc:1599
   #4  0x0000000001bdf3e4 in google::LogMessage::SendToLog 
(this=0x7f6e213446d0) at src/logging.cc:1553
   #5  0x0000000001bdd084 in google::LogMessage::Flush (this=0x7f6e213446d0) at 
src/logging.cc:1422
   #6  0x0000000001bdfe19 in google::LogMessageFatal::~LogMessageFatal 
(this=<optimized out>, __in_chrg=<optimized out>)
       at src/logging.cc:2125
   #7  0x00000000011f5d7d in doris::Mutex::lock (this=this@entry=0x6e86d18) at 
../src/util/mutex.cpp:107
   #8  0x0000000000e7625f in doris::MutexLock::MutexLock (try_lock=false, 
mutex=0x6e86d18, this=<synthetic pointer>)
       at ../src/util/mutex.h:60
   #9  doris::CountDownLatch::wait_until (when=..., this=0x6e86d18) at 
../src/util/countdown_latch.h:76
   #10 doris::CountDownLatch::wait_for (delta=..., this=0x6e86d18) at 
../src/util/countdown_latch.h:87
   #11 doris::StorageEngine::_compaction_tasks_producer_callback 
(this=0x6e86c00) at ../src/olap/olap_server.cpp:382
   #12 0x00000000011fabe8 in std::function<void ()>::operator()() const 
(this=0x7b846a8)
       at 
/ssd1/opt/stdpain/workspace/doris/workspace/doris-toolchain/gcc730/include/c++/7.3.0/bits/std_function.h:706
   #13 doris::Thread::supervise_thread (arg=0x7b84690) at 
../src/util/thread.cpp:386
   #14 0x00007f6e94dc11c3 in start_thread () from 
/opt/compiler/gcc-4.8.2/lib64/libpthread.so.0
   #15 0x00007f6e943e412d in clone () from 
/opt/compiler/gcc-4.8.2/lib64/libc.so.6
   ```
   
   I use shard_ptr solve it #5214 


----------------------------------------------------------------
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.

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