impala-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Volker (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IMPALA-5462) Unhandled exception in RuntimeProfile::ToThrift() leads to abort()
Date Tue, 27 Jun 2017 18:25:00 GMT

     [ https://issues.apache.org/jira/browse/IMPALA-5462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lars Volker resolved IMPALA-5462.
---------------------------------
       Resolution: Duplicate
    Fix Version/s: Impala 2.10.0

This should be fixed by IMPALA-5487. If the {{children_}} vector reallocates during the call
to {{size()}}, we may end up with corrupt result.

> Unhandled exception in RuntimeProfile::ToThrift() leads to abort()
> ------------------------------------------------------------------
>
>                 Key: IMPALA-5462
>                 URL: https://issues.apache.org/jira/browse/IMPALA-5462
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 2.8.0
>            Reporter: Lars Volker
>            Priority: Critical
>             Fix For: Impala 2.10.0
>
>
> 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.
> {noformat}
>  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
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message