SAP Knowledge Base Article - Preview

3087966 - HANA database startup hangs - Error while inserting libcom_err.so.3

Symptom

The indexserver startup reports "Error while inserting libcom_err.so.3"

[60053]{-1}[-1/-1] 2021-08-14 15:36:56.207273 i Basis            TraceStream.cpp(00718) : ==== Starting hdbindexserver, version 2.00.053.00.1605092543 (fa/hana2sp05), build linuxx86_64 49fd3e766fbee9a5c22dd609397d2fa640b9df09 2020-11-11 12:12:22 ld5146 gcc (SAP release 20200227, based on SUSE gcc9-9.2.1+r275327-1.3.7) 9.2.1 20190903 [gcc-9-branch revision 275330]
[60053]{-1}[-1/-1] 2021-08-14 15:36:56.207320 i Memory           mmProtectionKeys.cpp(00050) : ProtectionKeys disabled
...
[60571]{-1}[9/669297716] 2021-08-14 15:37:33.814325 e Memory           mmMallocProxy.cpp(00751) : Error while inserting libcom_err.so.3, B=0x00007fc9958e6000, E=0x00007fc9958e85a8, ELF=0x00007fc40cd1b808 into MallocAllocatorMap, conflicts with next libhdbepminstall.so, B=0x00007fc9958d9000, E=0x00007fc9958e8610, ELF=0x00007fc40ccf1648
[60571]{-1}[9/669297716] 2021-08-14 15:37:33.814347 e Memory           mmMallocProxy.cpp(00837) : Map:
[60571]{-1}[9/669297716] 2021-08-14 15:37:33.814350 e Memory           mmMallocProxy.cpp(00841) : PM: hdbindexserver, B=0x000055669d179000, E=0x000055669d353a49, ELF=0x00007fd159009c48
[60571]{-1}[9/669297716] 2021-08-14 15:37:33.814355 e Memory           mmMallocProxy.cpp(00841) : PM: libkrb5support.so.0, B=0x00007fc99361f000, E=0x00007fc99362ad48, ELF=0x00007fc40cd1bcc8
[60571]{-1}[9/669297716] 2021-08-14 15:37:33.814358 e Memory           mmMallocProxy.cpp(00841) : PM: libk5crypto.so.3, B=0x00007fc99362e000, E=0x00007fc99365c6c8, ELF=0x00007fc40cd1b348
...

While you can also find a recent crash of the index server with a Call-Stack like:

 1: 0x00007fd5c793b474 in MemoryManager::AllocatorMapBase::updateMallocAllocatorMapByModuleInfosIncrementally(void const*)+0xe60 at ELF.hpp:358 (libhdbbasis.so)
 2: 0x00007fd5c793bcd5 in MemoryManager::AllocatorMapBase::getAllocatorSynchronized(void const*)+0x91 at mmMallocProxy.cpp:581 (libhdbbasis.so)
 3: 0x00007fd5c793beed in malloc_hook(unsigned long, void const*) [clone .lto_priv.0]+0x19 at mmMallocProxy.cpp:994 (libhdbbasis.so)
 4: 0x00007fd406334774 in add_error_table+0x40 (libcom_err.so.3)
 5: 0x00007fd4061a200a in gssint_mechglue_init__aux+0x16 (libgssapi_krb5.so)
 6: 0x00007fd5c7149e40 in __GI___pthread_once+0x50 (libpthread.so.0)
 7: 0x00007fd4061a6717 in gssint_mechglue_initialize_library+0x13 (libgssapi_krb5.so)
 8: 0x00007fd4061a67a2 in gss_indicate_mechs+0x50 (libgssapi_krb5.so)
 9: 0x00007fd5d243d9ae in Authentication::GSS::ProviderGSSAPI::getImplementedMechs(Authentication::GSS::Error&) [clone .constprop.0]+0x3a at Provider.cpp:490 (libhdbauthsrv.so)
10: 0x00007fd5d2482845 in Authentication::GSS::Provider::createDefaultProvider(Authentication::GSS::Error&)+0x6e1 at Provider.cpp:320 (libhdbauthsrv.so)
11: 0x00007fd5d2489fc1 in Authentication::GSS::Manager::initialize()+0x160 at Manager.cpp:80 (libhdbauthsrv.so)
12: 0x00007fd5d248a178 in Authentication::GSS::Manager::getInstance()+0x24 at Manager.cpp:66 (libhdbauthsrv.so)
13: 0x00007fd5d245ad39 in Authentication::Server::Method::Iter::initMethodKerberos()+0x15 at Method.cpp:147 (libhdbauthsrv.so)
14: 0x00007fd5d245afa6 in Authentication::Server::Method::Iter::getNext()+0x72 at Method.cpp:181 (libhdbauthsrv.so)
15: 0x00007fd5d2461025 in Authentication::Server::Manager::Generator::initialize(bool)+0x71 at Manager.cpp:153 (libhdbauthsrv.so)
16: 0x00007fd5d674648f in ptime::CatalogAuthMgr::createPasswordHash(ptime::NString const&, ltt::auto_ptr<char, ltt::default_deleter, ltt::integral_constant<bool, false> >&, unsigned long&, Authentication::MethodType)+0x3b at catalog_authmgr.cc:1497 (libhdbrskernel.so)
17: 0x00007fd5d674a89f in ptime::CatalogAuthMgr::alterPassword(ptime::Transaction&, ptime::NString const&, bool, Metadata::smart_ptr<Metadata::UserPasswordInfo>, long)+0xab at catalog_authmgr.cc:1636 (libhdbrskernel.so)
18: 0x00007fd5d674afb4 in ptime::CatalogAuthMgr::alterPassword(ptime::Transaction&, char const*, bool, Metadata::smart_ptr<Metadata::UserPasswordInfo>, long)+0x60 at catalog_authmgr.cc:1623 (libhdbrskernel.so)
19: 0x00007fd5d68171c3 in ptime::Catalog::setupStatisticsServerUserAndCredential()+0x17e0 at catalog.cc:9504 (libhdbrskernel.so)
20: 0x000055cc5ee12d24 in TRexAPI::TREXIndexServer::assign(NameServer::ServiceStartInfo&, bool, TREX_ERROR::TRexError&)+0xba0 at TREXIndexServer.cpp:1503 (hdbindexserver)
21: 0x000055cc5ee198b7 in TRexAPI::AssignThread::run(void*)+0x33 at TREXIndexServer.cpp:544 (hdbindexserver)
22: 0x00007fd5cce1f844 in TrexThreads::PoolThread::run()+0x970 at PoolThread.cpp:462 (libhdbbasement.so)
23: 0x00007fd5cce21680 in TrexThreads::PoolThread::run(void*&)+0x10 at PoolThread.cpp:142 (libhdbbasement.so)
24: 0x00007fd5c7ad7d8d in Execution::Thread::staticMainImp(Execution::Thread*)+0x529 at Thread.cpp:522 (libhdbbasis.so)
25: 0x00007fd5c7ac7dc9 in Execution::pthreadFunctionWrapper(Execution::Thread*)+0x165 at ThreadInterposition.cpp:639 (libhdbbasis.so)
26: 0x00007fd5c7144dd5 in start_thread+0xc1 (libpthread.so.0)
27: 0x00007fd5c582502d in __clone+0x69 (libc.so.6)


Read more...

Product

SAP HANA, platform edition 2.0

Keywords

KBA , HAN-DB , SAP HANA Database , Problem

About this page

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

Search for additional results

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