Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 4.0.0
-
None
-
ghx-label-11
Description
When cancel the retrying failed query in web UI, the impalad may crash
The stack :
#0 0x00007ff4c5254387 in raise () from /lib64/libc.so.6 #1 0x00007ff4c5255a78 in abort () from /lib64/libc.so.6 #2 0x00000000055b8f84 in google::DumpStackTraceAndExit() () #3 0x00000000055ae37d in google::LogMessage::Fail() () #4 0x00000000055afc6d in google::LogMessage::SendToLog() () #5 0x00000000055adcdb in google::LogMessage::Flush() () #6 0x00000000055b18d9 in google::LogMessageFatal::~LogMessageFatal() () #7 0x000000000302963e in impala::QueryDriver::RetryQueryFromThread (this=0xf691420, error=..., query_driver=...) at /data/Impala-ASF/be/src/runtime/query-driver.cc:211 #8 0x000000000302fcc5 in boost::_mfi::mf2<void, impala::QueryDriver, impala::Status const&, std::shared_ptr<impala::QueryDriver> >::operator() (this=0x1340f4a0, p=0xf691420, a1=..., a2=...) at /data/Impala-ASF/toolchain/toolchain-packages-gcc7.5.0/boost-1.61.0-p2/include/boost/bind/mem_fn_template.hpp:280 #9 0x000000000302fa12 in boost::_bi::list3<boost::_bi::value<impala::QueryDriver*>, boost::_bi::value<impala::Status>, boost::_bi::value<std::shared_ptr<impala::QueryDriver> > >::operator()<boost::_mfi::mf2<void, impala::QueryDriver, impala::Status const&, std::shared_ptr<impala::QueryDriver> >, boost::_bi::list0> (this=0x1340f4b0, f=..., a=...) at /data/Impala-ASF/toolchain/toolchain-packages-gcc7.5.0/boost-1.61.0-p2/include/boost/bind/bind.hpp:398 #10 0x000000000302f51f in boost::_bi::bind_t<void, boost::_mfi::mf2<void, impala::QueryDriver, impala::Status const&, std::shared_ptr<impala::QueryDriver> >, boost::_bi::list3<boost::_bi::value<impala::QueryDriver*>, boost::_bi::value<impala::Status>, boost::_bi::value<std::shared_ptr<impala::QueryDriver> > > >::operator() (this=0x1340f4a0) at /data/Impala-ASF/toolchain/toolchain-packages-gcc7.5.0/boost-1.61.0-p2/include/boost/bind/bind.hpp:1222 #11 0x000000000302f23a in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf2<void, impala::QueryDriver, impala::Status const&, std::shared_ptr<impala::QueryDriver> >, boost::_bi::list3<boost::_bi::value<impala::QueryDriver*>, boost::_bi::value<impala::Status>, boost::_bi::value<std::shared_ptr<impala::QueryDriver> > > >, void>::invoke (function_obj_ptr=...) at /data/Impala-ASF/toolchain/toolchain-packages-gcc7.5.0/boost-1.61.0-p2/include/boost/function/function_template.hpp:159 #12 0x000000000226f5a8 in boost::function0<void>::operator() (this=0x7ff3af279b20) at /data/Impala-ASF/toolchain/toolchain-packages-gcc7.5.0/boost-1.61.0-p2/include/boost/function/function_template.hpp:770 #13 0x0000000002a1d804 in impala::Thread::SuperviseThread(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*) (name=..., category=..., functor=..., parent_thread_info=0x7ff3ac4757c0, thread_started=0x7ff3ac474170) at /data/Impala-ASF/be/src/util/thread.cc:360 #14 0x0000000002a26165 in boost::_bi::list5<boost::_bi::value<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<boost::function<void ()> >, boost::_bi::value<impala::ThreadDebugInfo*>, boost::_bi::value<impala::Promise<long, (impala::PromiseMode)0>*> >::operator()<void (*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*), boost::_bi::list0>(boost::_bi::type<void>, void (*&)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*), boost::_bi::list0&, int) (this=0xd3b9e80, f=@0xd3b9e78: 0x2a1d4be <impala::Thread::SuperviseThread(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*)>, a=...) at /data/Impala-ASF/toolchain/toolchain-packages-gcc7.5.0/boost-1.61.0-p2/include/boost/bind/bind.hpp:531 #15 0x0000000002a26089 in boost::_bi::bind_t<void, void (*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*), boost::_bi::list5<boost::_bi::value<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<boost::function<void ()> >, boost::_bi::value<impala::ThreadDebugInfo*>, boost::_bi::value<impala::Promise<long, (impala::PromiseMode)0>*> > >::operator()() (this=0xd3b9e78) at /data/Impala-ASF/toolchain/toolchain-packages-gcc7.5.0/boost-1.61.0-p2/include/boost/bind/bind.hpp:1222 #16 0x0000000002a2604a in boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long, (impala::PromiseMode)0>*), boost::_bi::list5<boost::_bi::value<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::_bi::value<boost::function<void ()> >, boost::_bi::value<impala::ThreadDebugInfo*>, boost::_bi::value<impala::Promise<long, (impala::PromiseMode)0>*> > > >::run() (this=0xd3b9cc0) at /data/Impala-ASF/toolchain/toolchain-packages-gcc7.5.0/boost-1.61.0-p2/include/boost/thread/detail/thread.hpp:116 ---Type <return> to continue, or q <return> to quit--- #17 0x00000000042a9412 in thread_proxy () #18 0x00007ff4c899dea5 in start_thread () from /lib64/libpthread.so.0 #19 0x00007ff4c531c96d in clone () from /lib64/libc.so.6