SAP Knowledge Base Article - Preview

3009075 - HANA crashes on startup with exception "waiters left on the binarysemaphore" at NameServer::ClockMonitor::ClockMonitor

Symptom

The nameserver crashes with a crashstack similar to the below found in the crashdump trace file:

[CRASH_STACK] Stacktrace of crash: (0000-00-00 00:00:00 000 Local)
----> Pending exceptions (possible root cause) <----
--- Pending assertion:
exception 1: no.1000000 (Basis/Synchronization/impl/Semaphore.cpp:560) TID: 000000
1 waiters left on the binarysemaphore Event[ClockMonitor.cpp:16]@0x0000000000000000: NameServer::ClockMonitor::ClockMonitor; $condition$=m_WaiterCount == 0
exception throw location:
1: Synchronization::BinarySemaphore::~BinarySemaphore()+0xf0 at Semaphore.cpp:560 (libhdbbasis.so)
2: NameServer::ClockMonitor::~ClockMonitor()+0x39 at ClockMonitor.cpp:14 (libhdbns.so)
3: NameServer::TREXNameServer::~TREXNameServer()+0x680 at memory.hpp:1185 (libhdbns.so)
4: ltt::impl::RefCountImpl<NameServer::TREXNameServer, ltt::default_deleter>::destroy(ltt::allocator&)+0x1b at memory.hpp:1185 (hdbnameserver)
5: ltt::impl::RefCountBase::own_decrement()+0x19 at shared_ptr.hpp:210 (hdbnameserver)
6: TRexAPI::TREXIndexServer::shutdown()+0x2a7 at shared_ptr.hpp:396 (hdbnameserver)
[...]


In the nameserver trace file (nameserver_<host>.<port>.<counter>.trc) an error similar to the below is found:

0000-00-00 00:00:00 f Service TrexService.cpp(00530) : FATAL: initialization of service failed with exception exception 1: no.2001006 (Basis/IO/FileAccess/impl/PathFile.cpp:195) TID: 000000
isDirectory(path= '/tmp/<some_directory>/<filename>.csv'): Object not found (rc= 2)


Read more...

Environment

HANA Platform 2.0

Product

SAP HANA, platform edition 2.0

Keywords

KBA , HAN-DB , SAP HANA Database , HAN-DB-SEC , SAP HANA Security & User Management , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.