Closed wanpengfei-git closed 2 years ago
another graceful exit ASAN crash:
=================================================================
==163680==ERROR: AddressSanitizer: heap-use-after-free on address 0x614000001668 at pc 0x0000046ce4bb bp 0x7f489c7f05f0 sp 0x7f489c7f05e8
READ of size 8 at 0x614000001668 thread T648
#0 0x46ce4ba in starrocks::DataDir::path_hash() const /home/stdpain/SR/be/src/storage/data_dir.h:61
#1 0x476f5e7 in starrocks::TabletManager::find_best_tablet_to_compaction(starrocks::CompactionType, starrocks::DataDir*) /home/stdpain/SR/be/src/storage/tablet_manager.cpp:554
#2 0x46b779f in starrocks::StorageEngine::_perform_cumulative_compaction(starrocks::DataDir*) /home/stdpain/SR/be/src/storage/storage_engine.cpp:570
#3 0x4692a1f in starrocks::StorageEngine::_cumulative_compaction_thread_callback(void*, starrocks::DataDir*) /home/stdpain/SR/be/src/storage/olap_server.cpp:310
#4 0x468dfed in operator() /home/stdpain/SR/be/src/storage/olap_server.cpp:110
#5 0x469c295 in __invoke_impl<void, starrocks::StorageEngine::start_bg_threads()::<lambda()> > /home/disk1/doris-deps/toolchain/installed/gcc-9.2.0/include/c++/9.2.0/bits/invoke.h:60
#6 0x469bf2c in __invoke<starrocks::StorageEngine::start_bg_threads()::<lambda()> > /home/disk1/doris-deps/toolchain/installed/gcc-9.2.0/include/c++/9.2.0/bits/invoke.h:95
#7 0x469bc85 in _M_invoke<0> /home/disk1/doris-deps/toolchain/installed/gcc-9.2.0/include/c++/9.2.0/thread:244
#8 0x469bb0f in operator() /home/disk1/doris-deps/toolchain/installed/gcc-9.2.0/include/c++/9.2.0/thread:251
#9 0x469b9cb in _M_run /home/disk1/doris-deps/toolchain/installed/gcc-9.2.0/include/c++/9.2.0/thread:195
#10 0xbc0513f in execute_native_thread_routine ../../../../../libstdc++-v3/src/c++11/thread.cc:80
#11 0x7f49da04dea4 in start_thread (/lib64/libpthread.so.0+0x7ea4)
#12 0x7f49d9668b0c in clone (/lib64/libc.so.6+0xfeb0c)
Steps to reproduce the behavior (Required)
StarRocks version (Required)
select current_version()