Why is application crashing during shutdown with uncaught exception from diagnostic_handler() ?

0 Likes
over 8 years ago

Problem:

  • Product : VBC 4.5
  • Platform : NA
  • Compiler : NA
  • Visibroker component : ORB
Why is application crashing during shutdown with stack pointing to diagnostic_handler() ?
Stack trace of crash:
#0 0x151264 in basic_lstring,LAllocator>::~basic_lstring ()
#1 0xc03ad738 in TCompTechCleanupMemberInCtorDtor::DestructActiveObject () from /usr/lib/libCsup.2
#2 0xc03b1010 in TExceptionActionCleanup::ProcessThrow () from /usr/lib/libCsup.2
#3 0xc03b3de0 in ThrowException () from /usr/lib/libCsup.2
#4 0xc03b4218 in __throw__FPvT1 () from /usr/lib/libCsup.2
#5 0xc3aa5cb0 in diagnostic_handler () from /opt/vbroker/lib/liborb_r.sl
#6 0xc203024c in xio::Cm::Mutex::~Mutex (this=0x40663c20, #free=2) at /dev2.5A/wlb/3.1DEV/vsm#wlb_3.1DEV/xioCmfwThreads-vsm#wlb_3.1DEV/xioCmfwThreads/src/xioCmMutex.C:63
#7 0xc2026bdc in xio::Cm::Thread::~Thread (this=0x40663c08, #free=0) at /dev2.5A/wlb/3.1DEV/vsm#wlb_3.1DEV/xioCmfwThreads-vsm#wlb_3.1DEV/xioCmfwThreads/src/xioCmThread.C:118
#8 0xc21bd484 in xio::Cm::Ma::ManagementObject::~ManagementObject ( this=0x40663c04, #free=2) at xioCmMaManagementObject.C:273
#9 0x229c24 in xio::Cm::SgcpWd::Ma::ManagementObject::~ManagementObject ( this=0x40663c04, #free=2) at xioCmSgcpWdMaManagementObject.C:84
#10 0x16dbe0 in xio::Cm::Wd::StartupAgent::~StartupAgent (this=0x40663bd8, #free=3) at xioCmSgcpWdStartupAgent.C:808
#11 0x1843c4 in xio::Cm::Singleton::deleteTheSingleton () at /dev2.5A/wlb/3.1DEV/vsm#wlb_3.1DEV/xioCmfwCommon-vsm#wlb_3.1DEV/xioCmfwCommon/include/xioCmSingleton.C:112
#12 0x183e7c in main (argc=1, argv=0x7b3f2384) at xioCmSgcpWdMain.C:359

Resolution:

The diagnostic_handler() throws the BAD_INV_ORDER exception and this suggests looking into whether a clean shutdown is performed. Please try calling the following shutdown() call as this will prevent a potential shutdown problems:

ORB::shutdown(1UL)

Tags:

Comment List
Anonymous
Related Discussions
Recommended