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

Unhandled exception in RuntimeProfile::ToThrift() leads to abort()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: Impala 2.8.0
    • Fix Version/s: Impala 2.10.0
    • Component/s: Backend
    • Labels:
      None
    • Epic Color:
      ghx-label-1

      Description

      An unhandled exception in RuntimeProfile::ToThrift() leads to an abort(). The name of the function (__throw_length_error) throwing the exception looks like it may come from a call to reserve(), which may indicate this to be a duplicate of IMPALA-5457. Here is the stack trace of the crashing thread from a minidump.

       0  libc-2.12.so + 0x32625
       1  libc-2.12.so + 0x33e05
       2  libc-2.12.so + 0x6b58
       3  libstdc++.so.6!__gnu_cxx::__verbose_terminate_handler() + 0xbe0
       4  ld-2.12.so + 0xe0c0
       5  libstdc++.so.6!__gnu_cxx::__verbose_terminate_handler() + 0x15d
       6  libstdc++.so.6!std::rethrow_exception(std::__exception_ptr::exception_ptr) + 0x76
       7  libstdc++.so.6!std::terminate() + 0x11
       8  libstdc++.so.6!__cxa_throw + 0x68
       9  libstdc++.so.6!std::__throw_length_error(char const*) + 0x66
      10  impalad!std::vector<impala::TRuntimeProfileNode, std::allocator<impala::TRuntimeProfileNode> >::reserve(unsigned long) [vector.tcc : 69 + 0xc]
      11  impalad!impala::RuntimeProfile::ToThrift(std::vector<impala::TRuntimeProfileNode, std::allocator<impala::TRuntimeProfileNode> >*) const [runtime-profile.cc : 755 + 0x8]
      12  impalad!impala::RuntimeProfile::SerializeToArchiveString(std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >*) const [runtime-profile.cc : 724 + 0x5]
      13  impalad!impala::ImpalaServer::GetRuntimeProfileStr(impala::TUniqueId const&, bool, std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >*) [impala-server.cc : 571 + 0x5]
      14  impalad!impala::ImpalaHttpHandler::QueryProfileEncodedHandler(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >*) [impala-http-handler.cc : 219 + 0x1c]
      15  impalad!impala::Webserver::RenderUrlWithTemplate(std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, impala::Webserver::UrlHandler const&, std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >*, impala::ContentType*) [function_template.hpp : 767 + 0x11]
      16  impalad!impala::Webserver::BeginRequestCallback(sq_connection*, sq_request_info*) [webserver.cc : 418 + 0x1c]
      17  impalad!handle_request + 0x740
      18  impalad!process_new_connection + 0x16d
      19  impalad!worker_thread + 0x2dd
      20  libpthread-2.12.so + 0x7aa1
      21  libc-2.12.so + 0xe893d
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lv Lars Volker
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: