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] index compaction exception core #46507

Open
3 tasks done
qidaye opened this issue Jan 7, 2025 · 0 comments
Open
3 tasks done

[Bug] index compaction exception core #46507

qidaye opened this issue Jan 7, 2025 · 0 comments

Comments

@qidaye
Copy link
Contributor

qidaye commented Jan 7, 2025

Search before asking

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

Version

branch-2.1

What's Wrong?

#0  0x00007f3f8723452f in raise () from /lib64/libc.so.6
#1  0x00007f3f87207e65 in abort () from /lib64/libc.so.6
#2  0x0000563d04a4911a in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#3  0x0000563d04a47a56 in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#4  0x0000563d04a47ac1 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:58
#5  0x0000563d04a47a3b in std::rethrow_exception (ep=...) at ../../../../libstdc++-v3/libsupc++/eh_ptr.cc:217
#6  0x0000563cd2c3ace9 in std::__basic_future<doris::Status>::_M_get_result (this=0x7f2d6488f380) at /mnt/disk2/luen/develop/tools/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/future:721
#7  0x0000563cd2c2346c in std::future<doris::Status>::get (this=0x7f2d6488f380) at /mnt/disk2/luen/develop/tools/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/future:805
#8  0x0000563cd4bcf3c4 in doris::CompactionAction::_handle_run_compaction (this=0x603001bee570, req=0x6120005a3640, json_result=0x7f2d646870c0) at /mnt/disk2/luen/develop/workspace/doris-2.1/be/src/http/action/compaction_action.cpp:180
#9  0x0000563cd4bd4a21 in doris::CompactionAction::handle (this=0x603001bee570, req=0x6120005a3640) at /mnt/disk2/luen/develop/workspace/doris-2.1/be/src/http/action/compaction_action.cpp:354
#10 0x0000563cd4d4da80 in doris::on_request (ev_req=0x611003be6500, arg=0x619000623980) at /mnt/disk2/luen/develop/workspace/doris-2.1/be/src/http/ev_http_server.cpp:68
#11 0x0000563d0226d057 in ?? ()
#12 0x0000563d0224d2b1 in bufferevent_run_readcb_ ()
#13 0x0000563d0226f273 in ?? ()
#14 0x0000563d022560b9 in ?? ()
#15 0x0000563d02256737 in ?? ()
#16 0x0000563d02258d68 in ?? ()
#17 0x0000563cd4d4d750 in doris::EvHttpServer::start()::$_0::operator()() const (this=0x60600102f7b8) at /mnt/disk2/luen/develop/workspace/doris-2.1/be/src/http/ev_http_server.cpp:139
#18 0x0000563cd4d4cf55 in std::__invoke_impl<void, doris::EvHttpServer::start()::$_0&>(std::__invoke_other, doris::EvHttpServer::start()::$_0&) (__f=...)
    at /mnt/disk2/luen/develop/tools/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/invoke.h:61
#19 0x0000563cd4d4cf05 in std::__invoke_r<void, doris::EvHttpServer::start()::$_0&>(doris::EvHttpServer::start()::$_0&) (__fn=...)
    at /mnt/disk2/luen/develop/tools/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/invoke.h:111
#20 0x0000563cd4d4cdcd in std::_Function_handler<void (), doris::EvHttpServer::start()::$_0>::_M_invoke(std::_Any_data const&) (__functor=...)
    at /mnt/disk2/luen/develop/tools/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/std_function.h:291
#21 0x0000563ccf873a93 in std::function<void ()>::operator()() const (this=0x60600102f7b8) at /mnt/disk2/luen/develop/tools/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/std_function.h:560
#22 0x0000563cd3a581b9 in doris::FunctionRunnable::run (this=0x60600102f7b0) at /mnt/disk2/luen/develop/workspace/doris-2.1/be/src/util/threadpool.cpp:48
#23 0x0000563cd3a43b00 in doris::ThreadPool::dispatch_thread (this=0x61500053be00) at /mnt/disk2/luen/develop/workspace/doris-2.1/be/src/util/threadpool.cpp:544
#24 0x0000563cd3a6abd4 in std::__invoke_impl<void, void (doris::ThreadPool::*&)(), doris::ThreadPool*&> (
    __f=@0x603001bf0220: (void (doris::ThreadPool::*)(doris::ThreadPool * const)) 0x563cd3a41c30 <doris::ThreadPool::dispatch_thread()>, __t=@0x603001bf0230: 0x61500053be00)
    at /mnt/disk2/luen/develop/tools/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/invoke.h:74
#25 0x0000563cd3a6aaad in std::__invoke<void (doris::ThreadPool::*&)(), doris::ThreadPool*&> (__fn=@0x603001bf0220: (void (doris::ThreadPool::*)(doris::ThreadPool * const)) 0x563cd3a41c30 <doris::ThreadPool::dispatch_thread()>,
    __args=@0x603001bf0230: 0x61500053be00) at /mnt/disk2/luen/develop/tools/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/invoke.h:96
#26 0x0000563cd3a6aa35 in std::_Bind<void (doris::ThreadPool::*(doris::ThreadPool*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x603001bf0220, __args=...)
    at /mnt/disk2/luen/develop/tools/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/functional:420
#27 0x0000563cd3a6a8de in std::_Bind<void (doris::ThreadPool::*(doris::ThreadPool*))()>::operator()<, void>() (this=0x603001bf0220)
    at /mnt/disk2/luen/develop/tools/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/functional:503
#28 0x0000563cd3a6a7f5 in std::__invoke_impl<void, std::_Bind<void (doris::ThreadPool::*(doris::ThreadPool*))()>&>(std::__invoke_other, std::_Bind<void (doris::ThreadPool::*(doris::ThreadPool*))()>&) (__f=...)
    at /mnt/disk2/luen/develop/tools/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/invoke.h:61
#29 0x0000563cd3a6a795 in std::__invoke_r<void, std::_Bind<void (doris::ThreadPool::*(doris::ThreadPool*))()>&>(std::_Bind<void (doris::ThreadPool::*(doris::ThreadPool*))()>&) (__fn=...)
    at /mnt/disk2/luen/develop/tools/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/invoke.h:111
#30 0x0000563cd3a6a43d in std::_Function_handler<void (), std::_Bind<void (doris::ThreadPool::*(doris::ThreadPool*))()> >::_M_invoke(std::_Any_data const&) (__functor=...)
    at /mnt/disk2/luen/develop/tools/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/std_function.h:291
#31 0x0000563ccf873a93 in std::function<void ()>::operator()() const (this=0x6110039b4718) at /mnt/disk2/luen/develop/tools/ldb_toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/std_function.h:560
#32 0x0000563cd3a12dec in doris::Thread::supervise_thread (arg=0x6110039b4700) at /mnt/disk2/luen/develop/workspace/doris-2.1/be/src/util/thread.cpp:498
#33 0x00007f3f868301ca in start_thread () from /lib64/libpthread.so.0
#34 0x00007f3f8721f8d3 in clone () from /lib64/libc.so.6

What You Expected?

compaction successfully.

How to Reproduce?

When construct columns to do index compaction columns, index reader close error, BE will core.

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

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

1 participant