Zoltán Borók-Nagy created IMPALA-13224:
------------------------------------------
Summary: ARM build crashes in
BitPacking::UnpackAndDecodeUpTo31Values
Key: IMPALA-13224
URL: https://issues.apache.org/jira/browse/IMPALA-13224
Project: IMPALA
Issue Type: Bug
Components: Backend
Reporter: Zoltán Borók-Nagy
ARM build crashes in BitPacking::UnpackAndDecodeUpTo31Values.
I see the following frames in hs_err_pid files:
{noformat}
Stack: [0x0000ffff245c0000,0x0000ffff24dc0000], sp=0x0000ffff24dbe0b0, free
space=8184k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [impalad+0x32fa740] llvm::detail::DoubleAPFloat::makeInf(bool)+0x0
C [impalad+0x16bc7a8]
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>*)+0x288
C [impalad+0x16bda60] 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()+0x60
C [impalad+0x1f0d6b8] unsigned char const*
impala::BitPacking::UnpackAndDecodeUpTo31Values<impala::DecimalValue<long>,
8>(unsigned char const*, long, impala::DecimalValue<long>*, long, int,
impala::DecimalValue<long>*, long, bool*)+0x18
C [libpthread.so.0+0x78b8] start_thread+0x188
C [libc.so.6+0x23afc] thread_start+0xc
{noformat}
Another:
{noformat}
Stack: [0x0000ffff4cdf0000,0x0000ffff4d5f0000], sp=0x0000ffff4d5ee0b0, free
space=8184k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [impalad+0x32fa740] llvm::detail::DoubleAPFloat::makeInf(bool)+0x0
C [impalad+0x16bc7a8]
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>*)+0x288
C [impalad+0x16bda60] 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()+0x60
C [impalad+0x1f0d6b8] unsigned char const*
impala::BitPacking::UnpackAndDecodeUpTo31Values<impala::DecimalValue<long>,
8>(unsigned char const*, long, impala::DecimalValue<long>*, long, int,
impala::DecimalValue<long>*, long, bool*)+0x18
C [libpthread.so.0+0x78b8] start_thread+0x188
C [libc.so.6+0x23afc] thread_start+0xc
{noformat}
Another:
{noformat}
Stack: [0x0000ffffedf70000,0x0000ffffee170000], sp=0x0000ffffee157180, free
space=1948k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libpthread.so.0+0xdc60] pthread_cond_wait+0x210
C [impalad+0x1f13f5c] unsigned char const*
impala::BitPacking::UnpackAndDecodeUpTo31Values<impala::DecimalValue<long>,
21>(unsigned char const*, long, impala::DecimalValue<long>*, long, int,
impala::DecimalValue<long>*, long, bool*)+0x58c
C [impalad+0x1f0db60] boost::thread::join_noexcept()+0x50
C [impalad+0xed81f8] impala::ImpalaServicePool::Join()+0xd4
C [impalad+0xecb130] impala::RpcMgr::Join()+0x30
C [impalad+0x12c75ec] impala::ImpalaServer::Join()+0x1c
C [impalad+0x12b7ac4] ImpaladMain(int, char**)+0x514
C [impalad+0x8bc0b0] main+0x140
C [libc.so.6+0x24384] __libc_start_main+0xdc
C [impalad+0x950d50]
{noformat}
It's fishy that impala::BitPacking::UnpackAndDecodeUpTo31Values is common in
all files so something might go wrong there.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]