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

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

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 (1)

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 20:06
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.