Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-13224

ARM build crashes in BitPacking::UnpackAndDecodeUpTo31Values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Backend
    • ghx-label-10

    Description

      ARM build crashes in BitPacking::UnpackAndDecodeUpTo31Values.

      I see the following frames in hs_err_pid files:

      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
      

      Another:

      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
      

      Another:

      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]
      

      It's fishy that impala::BitPacking::UnpackAndDecodeUpTo31Values is common in all files so something might go wrong there.

      Attachments

        Activity

          People

            Unassigned Unassigned
            boroknagyz Zoltán Borók-Nagy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: