2275745 – Indexserver Crash on Master Node of Scale Out during PlanViz Execution or Plan Trace Creation

Symptom

Using PlanViz or creating a Plan Trace in a distributed environment leads to a crash of the indexserver on the master node.
The crash occurs in function ptime::Query::PlanCache::lookup_or_compile_ with a short callstack similar to the below one:

[STACK_SHORT]

<ctx-id>[thr=<threadid>]: Request at
1: 0x00007f7c1a386a4a in ptime::Query::PlanCache::lookup_or_compile_(ptime::Transaction&, char const*, char const*, bool, char const*, ptime::Query::PlanHandle&, bool)+0xc96 at query_cache.cc:412 (libhdbrskernel.so)
2: 0x00007f7c1a387090 in ptime::Query::PlanCache::lookup_or_compile(ptime::Transaction&, char const*, char const*, bool, char const*, ptime::Query::PlanHandle&, bool)+0xb0 at smartptr_handle.hpp:349 (libhdbrskernel.so)
3: 0x00007f7c1a7edc2b in ptime::RemoteQueryExecution::handleQueryExecute(TrexNet::Request*)+0x647 at RemoteQueryExecution.cc:670 (libhdbrskernel.so)
4: 0x00007f7c1a7eedad in ptime::RemoteQueryExecution::handleRequest(TrexNet::Request&)+0xf9 at RemoteQueryExecution.cc:498 (libhdbrskernel.so)
5: 0x00007f7c39a7eac9 in TRexAPI::TREXIndexServer::handle(TrexNet::Request&, TrexService::HandlerContext&)+0x3b75 at TREXIndexServer.cpp:4420 (hdbindexserver)
6: 0x00007f7c2e8f0c16 in TrexService::WorkerThread::run(void*)+0x6b2 at TrexServiceThreads.cpp:499 (libhdbbasement.so)
7: 0x00007f7c2e916e18 in TrexThreads::PoolThread::run()+0x8e4 at PoolThread.cpp:402 (libhdbbasement.so)
8: 0x00007f7c2e919420 in TrexThreads::PoolThread::run(void*&)+0x10 at PoolThread.cpp:175 (libhdbbasement.so)
9: 0x00007f7c15eb89c9 in Execution::Thread::staticMainImp(void**)+0x7e5 at Thread.cpp:467 (libhdbbasis.so)
10: 0x00007f7c15eb989d in Execution::Thread::staticMain(void*)+0x39 at ThreadMain.cpp:26 (libhdbbasis.so)

Solution

2275745 – Indexserver Crash on Master Node of Scale Out during PlanViz Execution or Plan Trace Creation

 

Leave a Reply