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] [Closed] (IMPALA-5458) Statestore segfaults in ImpalaServer::CatalogUpdateCallback()
Date Mon, 31 Jul 2017 20:05:00 GMT

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

Lars Volker closed IMPALA-5458.
-------------------------------
    Resolution: Cannot Reproduce

I'm closing this as part of a bulk change. I have not seen this issues since I created it
and will re-open if I see it happen again.

> Statestore segfaults in ImpalaServer::CatalogUpdateCallback()
> -------------------------------------------------------------
>
>                 Key: IMPALA-5458
>                 URL: https://issues.apache.org/jira/browse/IMPALA-5458
>             Project: IMPALA
>          Issue Type: Bug
>    Affects Versions: Impala 2.8.0
>            Reporter: Lars Volker
>            Priority: Critical
>              Labels: crash
>
> It looks like eventually the copy c'tor of TExprNode crashes when trying to copy an invalid
string. Here is the stack trace of the crashing thread from a minidump.
> {noformat}
>  0  libstdc++.so.6!std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::basic_string(std::string const&) + 0xb
>  1  impalad!impala::TExprNode::TExprNode(impala::TExprNode const&) [Types_types.h
: 461 + 0x14]
>  2  impalad!impala::TExpr* std::__uninitialized_copy<false>::__uninit_copy<__gnu_cxx::__normal_iterator<impala::TExpr
const*, std::vector<impala::TExpr, std::allocator<impala::TExpr> > >, impala::TExpr*>(__gnu_cxx::__normal_iterator<impala::TExpr
const*, std::vector<impala::TExpr, std::allocator<impala::TExpr> > >, __gnu_cxx::__normal_iterator<impala::TExpr
const*, std::vector<impala::TExpr, std::allocator<impala::TExpr> > >, impala::TExpr*)
[stl_construct.h : 75 + 0x10]
>  3  impalad!std::_Rb_tree_node<std::pair<long const, impala::THdfsPartition>
>* std::_Rb_tree<long, std::pair<long const, impala::THdfsPartition>, std::_Select1st<std::pair<long
const, impala::THdfsPartition> >, std::less<long>, std::allocator<std::pair<long
const, impala::THdfsPartition> > >::_M_create_node<std::pair<long const, impala::THdfsPartition>
const&>(std::pair<long const, impala::THdfsPartition> const&) [stl_uninitialized.h
: 125 + 0x5]
>  4  impalad!std::_Rb_tree<long, std::pair<long const, impala::THdfsPartition>,
std::_Select1st<std::pair<long const, impala::THdfsPartition> >, std::less<long>,
std::allocator<std::pair<long const, impala::THdfsPartition> > >::_M_copy(std::_Rb_tree_node<std::pair<long
const, impala::THdfsPartition> > const*, std::_Rb_tree_node<std::pair<long const,
impala::THdfsPartition> >*) [stl_tree.h : 445 + 0x5]
>  5  impalad!std::_Rb_tree<long, std::pair<long const, impala::THdfsPartition>,
std::_Select1st<std::pair<long const, impala::THdfsPartition> >, std::less<long>,
std::allocator<std::pair<long const, impala::THdfsPartition> > >::_M_copy(std::_Rb_tree_node<std::pair<long
const, impala::THdfsPartition> > const*, std::_Rb_tree_node<std::pair<long const,
impala::THdfsPartition> >*) [stl_tree.h : 1213 + 0xb]
>  6  impalad!std::_Rb_tree<long, std::pair<long const, impala::THdfsPartition>,
std::_Select1st<std::pair<long const, impala::THdfsPartition> >, std::less<long>,
std::allocator<std::pair<long const, impala::THdfsPartition> > >::_M_copy(std::_Rb_tree_node<std::pair<long
const, impala::THdfsPartition> > const*, std::_Rb_tree_node<std::pair<long const,
impala::THdfsPartition> >*) [stl_tree.h : 1223 + 0xb]
>  7  impalad!std::_Rb_tree<long, std::pair<long const, impala::THdfsPartition>,
std::_Select1st<std::pair<long const, impala::THdfsPartition> >, std::less<long>,
std::allocator<std::pair<long const, impala::THdfsPartition> > >::_M_copy(std::_Rb_tree_node<std::pair<long
const, impala::THdfsPartition> > const*, std::_Rb_tree_node<std::pair<long const,
impala::THdfsPartition> >*) [stl_tree.h : 1223 + 0xb]
>  8  impalad!std::_Rb_tree<long, std::pair<long const, impala::THdfsPartition>,
std::_Select1st<std::pair<long const, impala::THdfsPartition> >, std::less<long>,
std::allocator<std::pair<long const, impala::THdfsPartition> > >::_M_copy(std::_Rb_tree_node<std::pair<long
const, impala::THdfsPartition> > const*, std::_Rb_tree_node<std::pair<long const,
impala::THdfsPartition> >*) [stl_tree.h : 1223 + 0xb]
>  9  impalad!std::_Rb_tree<long, std::pair<long const, impala::THdfsPartition>,
std::_Select1st<std::pair<long const, impala::THdfsPartition> >, std::less<long>,
std::allocator<std::pair<long const, impala::THdfsPartition> > >::_M_copy(std::_Rb_tree_node<std::pair<long
const, impala::THdfsPartition> > const*, std::_Rb_tree_node<std::pair<long const,
impala::THdfsPartition> >*) [stl_tree.h : 1223 + 0xb]
> 10  impalad!std::_Rb_tree<long, std::pair<long const, impala::THdfsPartition>,
std::_Select1st<std::pair<long const, impala::THdfsPartition> >, std::less<long>,
std::allocator<std::pair<long const, impala::THdfsPartition> > >::_M_copy(std::_Rb_tree_node<std::pair<long
const, impala::THdfsPartition> > const*, std::_Rb_tree_node<std::pair<long const,
impala::THdfsPartition> >*) [stl_tree.h : 1213 + 0xb]
> 11  impalad!std::_Rb_tree<long, std::pair<long const, impala::THdfsPartition>,
std::_Select1st<std::pair<long const, impala::THdfsPartition> >, std::less<long>,
std::allocator<std::pair<long const, impala::THdfsPartition> > >::_M_copy(std::_Rb_tree_node<std::pair<long
const, impala::THdfsPartition> > const*, std::_Rb_tree_node<std::pair<long const,
impala::THdfsPartition> >*) [stl_tree.h : 1213 + 0xb]
> 12  impalad!std::_Rb_tree<long, std::pair<long const, impala::THdfsPartition>,
std::_Select1st<std::pair<long const, impala::THdfsPartition> >, std::less<long>,
std::allocator<std::pair<long const, impala::THdfsPartition> > >::_M_copy(std::_Rb_tree_node<std::pair<long
const, impala::THdfsPartition> > const*, std::_Rb_tree_node<std::pair<long const,
impala::THdfsPartition> >*) [stl_tree.h : 1223 + 0xb]
> 13  impalad!impala::THdfsTable::THdfsTable(impala::THdfsTable const&) [stl_tree.h
: 676 + 0x8]
> 14  impalad!impala::TTable::TTable(impala::TTable const&) [CatalogObjects_types.h
: 1633 + 0x22]
> 15  impalad!impala::TCatalogObject* std::__uninitialized_copy<false>::__uninit_copy<impala::TCatalogObject*,
impala::TCatalogObject*>(impala::TCatalogObject*, impala::TCatalogObject*, impala::TCatalogObject*)
[CatalogObjects_types.h : 2118 + 0x5]
> 16  impalad!void std::vector<impala::TCatalogObject, std::allocator<impala::TCatalogObject>
>::_M_emplace_back_aux<impala::TCatalogObject const&>(impala::TCatalogObject
const&) [stl_uninitialized.h : 125 + 0x8]
> 17  impalad!impala::ImpalaServer::CatalogUpdateCallback(std::map<std::string, impala::TTopicDelta,
std::less<std::string>, std::allocator<std::pair<std::string const, impala::TTopicDelta>
> > const&, std::vector<impala::TTopicDelta, std::allocator<impala::TTopicDelta>
>*) [impala-server.cc : 1273 + 0xc]
> 18  impalad!impala::StatestoreSubscriber::UpdateState(std::map<std::string, impala::TTopicDelta,
std::less<std::string>, std::allocator<std::pair<std::string const, impala::TTopicDelta>
> > const&, impala::TUniqueId const&, std::vector<impala::TTopicDelta, std::allocator<impala::TTopicDelta>
>*, bool*) [function_template.hpp : 767 + 0x9]
> 19  impalad!impala::StatestoreSubscriberThriftIf::UpdateState(impala::TUpdateStateResponse&,
impala::TUpdateStateRequest const&) [statestore-subscriber.cc : 79 + 0x20]
> 20  impalad!impala::StatestoreSubscriberProcessor::process_UpdateState(int, apache::thrift::protocol::TProtocol*,
apache::thrift::protocol::TProtocol*, void*) [StatestoreSubscriber.cpp : 501 + 0x6]
> 21  impalad!impala::StatestoreSubscriberProcessor::dispatchCall(apache::thrift::protocol::TProtocol*,
apache::thrift::protocol::TProtocol*, std::string const&, int, void*) [StatestoreSubscriber.cpp
: 474 + 0x15]
> 22  impalad!apache::thrift::TDispatchProcessor::process(boost::shared_ptr<apache::thrift::protocol::TProtocol>,
boost::shared_ptr<apache::thrift::protocol::TProtocol>, void*) [TDispatchProcessor.h
: 121 + 0x1c]
> 23  impalad!apache::thrift::server::TAcceptQueueServer::Task::run() [TAcceptQueueServer.cpp
: 76 + 0x11]
> 24  impalad!impala::ThriftThread::RunRunnable(boost::shared_ptr<apache::thrift::concurrency::Runnable>,
impala::Promise<unsigned long>*) [thrift-thread.cc : 64 + 0x6]
> 25  impalad!boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,
boost::_mfi::mf2<void, impala::ThriftThread, boost::shared_ptr<apache::thrift::concurrency::Runnable>,
impala::Promise<unsigned long>*>, boost::_bi::list3<boost::_bi::value<impala::ThriftThread*>,
boost::_bi::value<boost::shared_ptr<apache::thrift::concurrency::Runnable> >,
boost::_bi::value<impala::Promise<unsigned long>*> > >, void>::invoke(boost::detail::function::function_buffer&)
[mem_fn_template.hpp : 280 + 0xf]
> 26  impalad!impala::Thread::SuperviseThread(std::string const&, std::string const&,
boost::function<void ()>, impala::Promise<long>*) [function_template.hpp : 767
+ 0x7]
> 27  impalad!boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(std::string
const&, std::string const&, boost::function<void ()>, impala::Promise<long>*),
boost::_bi::list4<boost::_bi::value<std::string>, boost::_bi::value<std::string>,
boost::_bi::value<boost::function<void ()> >, boost::_bi::value<impala::Promise<long>*>
> > >::run() [bind.hpp : 457 + 0x6]
> 28  impalad!thread_proxy + 0xda
> 29  libpthread-2.12.so + 0x7aa1
> 30  libc-2.12.so + 0xe893d
> {noformat}



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

Mime
View raw message