[omniORB] Assertion fails on destroy()

Marius Cosma marius.cosma at eu.rsystems.com
Tue Sep 21 16:09:37 UTC 2021


Hello guys,

Can anyone give me a hint on the following issue? I'm not really sure whether it is an application issue, an omniORB issue or rather an OS issue.

Thank you!


Environment:

  *   Solaris 10 (patch level Generic_150400-65) on sparc
  *   Omniorb 4.2.4
  *   64 bit application

Everything was working just fine before applying Solaris patch Generic_150400-65.


I'm starting the server on main thread:
orb->run();
orb->destroy();
On SIGTERM, the application is stopped:
               orb->shutdown(0);

The following ASSERT failing
omniORB: (0) 2021-09-21 17:34:42.537875: Preparing to shutdown ORB.
omniORB: (0) 2021-09-21 17:34:42.538034: Starting an ORB shutdown thread.
omniORB: (2) 2021-09-21 17:34:42.538282: ORB shutdown thread started.
omniORB: (2) 2021-09-21 17:34:42.538709: Destroying POA(RootPOA).
omniORB: (2) 2021-09-21 17:34:42.538982: Destroying POA(my poa).
omniORB: (2) 2021-09-21 17:34:42.539118: Deactivating all POA(my poa)'s objects.
omniORB: (2) 2021-09-21 17:34:42.539278: State root/my poa<ppbServer> (active) -> deactivating (OA destruction)
omniORB: (2) 2021-09-21 17:34:42.539397: State root/my poa<ppbCustomer.Server> (active) -> deactivating (OA destruction)
omniORB: (2) 2021-09-21 17:34:42.539519: Waiting for requests to complete on POA(my poa).
omniORB: (2) 2021-09-21 17:34:42.539637: Requests on POA(my poa) completed.
omniORB: (2) 2021-09-21 17:34:42.539840: State root/my poa<ppbServer> (deactivating OA) -> etherealising
omniORB: (2) 2021-09-21 17:34:42.539961: State root/my poa<ppbCustomer.Server> (deactivating OA) -> etherealising
omniORB: (2) 2021-09-21 17:34:42.540084: Etherealising POA(my poa)'s objects.
omniORB: (2) 2021-09-21 17:34:42.540233: Removing root/my poa<ppbServer> (etherealising) from object table
omniORB: (2) 2021-09-21 17:34:42.540352: ServantBase has zero ref count -- deleted.
omniORB: (2) 2021-09-21 17:34:42.540813: Removing root/my poa<ppbCustomer.Server> (etherealising) from object table
omniORB: (2) 2021-09-21 17:34:42.540948: Object table entry root/my poa<ppbCustomer.Server> (dead) deleted.
omniORB: (2) 2021-09-21 17:34:42.541112: ServantBase has zero ref count -- deleted.
omniORB: (2) 2021-09-21 17:34:42.541441: Wait for 0 detached objects.
omniORB: (2) 2021-09-21 17:34:42.541592: Destruction of POA(my poa) complete.
omniORB: (2) 2021-09-21 17:34:42.541754: Deactivating all POA(RootPOA)'s objects.
omniORB: (2) 2021-09-21 17:34:42.541854: Waiting for requests to complete on POA(RootPOA).
omniORB: (2) 2021-09-21 17:34:42.541971: Requests on POA(RootPOA) completed.
omniORB: (2) 2021-09-21 17:34:42.542069: Etherealising POA(RootPOA)'s objects.
omniORB: (2) 2021-09-21 17:34:42.542184: Wait for 0 detached objects.
omniORB: (2) 2021-09-21 17:34:42.542281: All object adapters inactive. Stopping serving incoming endpoints.
omniORB: (2) 2021-09-21 17:34:42.542390: giopServer deactivate...
omniORB: (2) 2021-09-21 17:34:42.542507: Terminate rendezvousers...
omniORB: (2) 2021-09-21 17:34:42.542623: giopRendezvouser for giop:tcp:10.8.74.112:10702 terminate...
omniORB: (1) 2021-09-21 17:34:42.543762: giopServer terminate connection from giop:tcp:[::ffff:10.8.74.112]:52923.
omniORB: (1) 2021-09-21 17:34:42.553913: giopRendezvouser for endpoint giop:tcp:10.8.74.112:10702 exit.
omniORB: (1) 2021-09-21 17:34:42.554215: No remaining rendezvousers.
omniORB: (1) 2021-09-21 17:34:42.554359: AsyncInvoker: thread id 1 finished immediate general task.
omniORB: (2) 2021-09-21 17:34:42.554380: Rendezvousers terminated.
omniORB: (2) 2021-09-21 17:34:42.554619: giopServer deactivated.
omniORB: (2) 2021-09-21 17:34:42.554735: Destruction of POA(RootPOA) complete.
omniORB: (2) 2021-09-21 17:34:42.554862: Shutting-down all incoming endpoints.
omniORB: (2) 2021-09-21 17:34:42.555175: TCP endpoint shut down.
omniORB: (2) 2021-09-21 17:34:42.555411: Disable ObjRef(IDL:ppb:1.1) root/my poa<ppbServer>
omniORB: (2) 2021-09-21 17:34:42.555595: Object table entry root/my poa<ppbServer> (dead) deleted.
omniORB: (2) 2021-09-21 17:34:42.555708: 1 object reference present at ORB shutdown.
omniORB: (2) 2021-09-21 17:34:42.555821: ORB shutdown is complete.
omniORB: (2) 2021-09-21 17:34:42.555958: Shut down AsyncInvoker...
omniORB: (2) 2021-09-21 17:34:42.556079: Shut down dedicated thread queue.
omniORB: (2) 2021-09-21 17:34:42.556211: AsyncInvoker shut down.
omniORB: (0) 2021-09-21 17:34:42.556411: Destroy ORB...
omniORB: (0) 2021-09-21 17:34:42.556550: Deinitialising omniDynamic library.
omniORB: (0) 2021-09-21 17:34:42.556694: Release registered value factories.
omniORB: (0) 2021-09-21 17:34:42.556799: Terminate strand scavenger.
omniORB: (0) 2021-09-21 17:34:42.556911: Close remaining strands.
omniORB: (0) 2021-09-21 17:34:42.557036: 0 remaining bidir ropes deleted.
omniORB: (0) 2021-09-21 17:34:42.557137: 0 remaining ropes deleted.
omniORB: (0) 2021-09-21 17:34:42.557328: Clear endPoint options.
omniORB: (0) 2021-09-21 17:34:42.557506: Wait for 1 invoker thread to finish.
omniORB: (1) 2021-09-21 17:34:42.557652: AsyncInvoker: thread id 1 released from general tasks. Total general threads = 0.
omniORB: (1) 2021-09-21 17:34:42.557807: AsyncInvoker: thread id 1 has exited. Total threads = 0.
omniORB: (0) 2021-09-21 17:34:42.557821: Invoker threads finished.
omniORB: (0) 2021-09-21 17:34:42.558074: AsyncInvoker: deleted.
omniORB: (0) 2021-09-21 17:34:42.558263: No more references to the ORB -- deleted.
omniORB: (0) 2021-09-21 17:34:42.558398: ORB destroyed.
omniORB: (0) 2021-09-21 17:34:42.558777: ObjRef(IDL:ppb:1.1) -- deleted.
omniORB: (0) 2021-09-21 17:34:42.560190: Assertion failed.  This indicates a bug in the application
using omniORB, or maybe in omniORB itself.
 file: ../../../../../src/lib/omniORB/orbcore/corbaObject.cc
 line: 172
 info: !_NP_is_pseudo()


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.omniorb-support.com/pipermail/omniorb-list/attachments/20210921/44e56679/attachment-0001.html>


More information about the omniORB-list mailing list