[omniORB] Windows timeout during ORB shutdown
Thomas Ives
tri at observatorysciences.co.uk
Mon Jan 26 21:48:55 UTC 2026
Hi Duncan,
> It is going to be quite hard to do anything about this without a simple
program that reproduces it.
I have managed to reproduce the issue by modifying echo/eg1.cc example.
This test reliably reproduces the issue for me (whereas for my Tango
test I will occasionally not see the problem). I have attached the
modified eg1.cc program and a log of the output it produces (eg1.out).
As far as I can tell, the assertion failure is due to a bug in omniORB
and not the program.
omniORB is assuming that waiting for scanGranularity seconds is enough
time for all the dedicated threads to finish, however, on Windows each
of those threads can wait for up to scanGranularity seconds itself, so
if you have many threads the main thread times out waiting.
> As you say, Windows makes life much harder than Linux (and Unix
platforms) because shutting down a socket does not wake up threads
waiting on it, hence all the issues with timeouts.
I have done some digging into the winsock2 documentation and it appears
that we can wake up the selecting thread using Win32's QueueUserAPC
function. The winsock2 documentation for select[1] says the following
in a note towards the end of the remarks:
> When issuing a blocking Winsock call such as select with the timeout
parameter set to NULL, Winsock may need to wait for a network event
before the call can complete. Winsock performs an alertable wait in this
situation, which can be interrupted by an asynchronous procedure call
(APC) scheduled on the same thread.
I have managed to hack together a proof of concept that fixes the issue
(in this exact situation) using QueueUserAPC (patch attached).
Unfortunately, in order for the thread to not go back to waiting in
the select call, we need to call closesocket() in the QueueUserAPC
callback. This makes it a little tricky to get all the pieces we need
together to be able to get this working and I haven't put any effort
into making this nice. Also, I wouldn't be surprised if this patch
causes problems in different situations.
I've also attached the output of the eg1 program with this fix applied
(fixed.out). Notice that as well as the missing assertion failure, the
program now takes around ~200 ms as opposed to the ~5 s it was taking
previously.
Would it be possible to incorporate something along these lines into
omniORB?
Thomas
[1]
https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-select
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eg1.cc
Type: text/x-c++src
Size: 4045 bytes
Desc: not available
URL: <https://www.omniorb-support.com/pipermail/omniorb-list/attachments/20260126/f89b2fd8/attachment-0001.bin>
-------------- next part --------------
PS C:\work\deps\omniORB-4.3.4\src\examples\echo> .\eg1.exe
omniORB: (0) 2026-01-26 18:16:02.846000: Version: 4.3.4
omniORB: (0) 2026-01-26 18:16:02.846000: Distribution date: Mon 5 Jan 11:45:42 GMT 2026
omniORB: (0) 2026-01-26 18:16:02.846000: My addresses are:
omniORB: 127.0.0.1
omniORB: 10.0.2.15
omniORB: fec0::ba04:3181:4e9d:c705
omniORB: (0) 2026-01-26 18:16:02.846000: Maximum supported GIOP version is 1.2
omniORB: (0) 2026-01-26 18:16:02.846000: Native char code sets: UTF-8 ISO-8859-1.
omniORB: (0) 2026-01-26 18:16:02.846000: Transmission char code sets: UTF-8(1.2) UTF-8(1.1) ISO-8859-1(1.2) ISO-8859-1(1.1) ISO-8859-1(1.0).
omniORB: (0) 2026-01-26 18:16:02.846000: Native wide char code sets: UTF-16.
omniORB: (0) 2026-01-26 18:16:02.846000: Transmission wide char code sets: UTF-16(1.2).
omniORB: (0) 2026-01-26 18:16:02.846000: Information: the omniDynamic library is not linked.
omniORB: (0) 2026-01-26 18:16:02.846000: Current configuration is as follows:
omniORB: DefaultInitRef (file) =
omniORB: DefaultInitRef (args) =
omniORB: abortOnInternalError = 0
omniORB: abortOnNativeException = 0
omniORB: acceptBiDirectionalGIOP = 0
omniORB: acceptMisalignedTcIndirections = 0
omniORB: bootstrapAgentHostname =
omniORB: bootstrapAgentPort = 900
omniORB: clientCallTimeOutPeriod = 0
omniORB: clientConnectTimeOutPeriod = 0
omniORB: clientTransportRule = * unix,ssl,tcp
omniORB: configFile = C:\OMNIORB.CFG
omniORB: connectionWatchImmediate = 0
omniORB: connectionWatchPeriod = 50000
omniORB: copyValuesInLocalCalls = 1
omniORB: defaultCharCodeSet = nil
omniORB: defaultWCharCodeSet = nil
omniORB: diiThrowsSysExceptions = 0
omniORB: dumpConfiguration = 0
omniORB: endPoint = giop:tcp::12345
omniORB: endPointPublish = addr
omniORB: exceptionIdInAny = 1
omniORB: giopBufferSize = 8192
omniORB: giopDirectReceiveCutOff = 1024
omniORB: giopDirectSendCutOff = 16384
omniORB: giopMaxMsgSize = 2097152
omniORB: giopMinChunkBeforeDirectSend = 1024
omniORB: giopTargetAddressMode = KeyAddr
omniORB: id = omniORB4
omniORB: idleThreadTimeout = 10
omniORB: immediateAddressSwitch = 0
omniORB: inConScanPeriod = 180
omniORB: lcdMode = 0
omniORB: listenBacklog = 2147483647
omniORB: maxClientThreadPoolSize = 100
omniORB: maxGIOPConnectionPerServer = 5
omniORB: maxGIOPVersion = 1.2
omniORB: maxInterleavedCallsPerConnection = 5
omniORB: maxServerThreadPerConnection = 100
omniORB: maxServerThreadPoolSize = 100
omniORB: maxSocketRecv = 131072
omniORB: maxSocketSend = 131072
omniORB: nativeCharCodeSet = ISO-8859-1
omniORB: nativeWCharCodeSet = UTF-16
omniORB: objectTableSize = 0
omniORB: offerBiDirectionalGIOP = 0
omniORB: oneCallPerConnection = 1
omniORB: outConScanPeriod = 120
omniORB: poaHoldRequestTimeout = 0
omniORB: poaUniquePersistentSystemIds = 1
omniORB: principal = [Null]
omniORB: resetTimeOutOnRetries = 0
omniORB: resolveNamesForTransportRules = 1
omniORB: retainAddressOrder = 0
omniORB: scanGranularity = 5
omniORB: serverCallTimeOutPeriod = 0
omniORB: serverTransportRule = * unix,ssl,tcp
omniORB: socketSendBuffer = 16384
omniORB: strictIIOP = 1
omniORB: supportBootstrapAgent = 0
omniORB: supportCurrent = 1
omniORB: supportPerThreadTimeOut = 0
omniORB: tcAliasExpand = 0
omniORB: threadPerConnectionLowerLimit = 9000
omniORB: threadPerConnectionPolicy = 1
omniORB: threadPerConnectionUpperLimit = 10000
omniORB: threadPoolWatchConnection = 1
omniORB: throwTransientOnTimeOut = 0
omniORB: traceExceptions = 1
omniORB: traceFile = [stderr]
omniORB: traceInvocationReturns = 0
omniORB: traceInvocations = 0
omniORB: traceLevel = 25
omniORB: traceLocking = 0
omniORB: traceThreadId = 1
omniORB: traceTime = 1
omniORB: unixTransportDirectory = /tmp/omni-%u
omniORB: unixTransportPermission = 777
omniORB: useTypeCodeIndirections = 1
omniORB: validateUTF8 = 0
omniORB: verifyObjectExistsAndType = 1
omniORB: (0) 2026-01-26 18:16:02.846000: Initialising incoming endpoints.
omniORB: (0) 2026-01-26 18:16:02.846000: Instantiate endpoint 'giop:tcp::12345'
omniORB: (0) 2026-01-26 18:16:02.846000: Attempt to set socket to listen on IPv4 and IPv6.
omniORB: (0) 2026-01-26 18:16:02.846000: Bind to address :: port 12345.
omniORB: (0) 2026-01-26 18:16:02.846000: Publish specification: 'addr'
omniORB: (0) 2026-01-26 18:16:02.846000: Try to publish 'addr' for endpoint giop:tcp:10.0.2.15:12345
omniORB: (0) 2026-01-26 18:16:02.846000: Publish endpoint 'giop:tcp:10.0.2.15:12345'
omniORB: (0) 2026-01-26 18:16:02.846000: Starting serving incoming endpoints.
omniORB: (0) 2026-01-26 18:16:02.846000: Adding key<foo0> (activating) to object table.
omniORB: (0) 2026-01-26 18:16:02.846000: State key<foo0> (activating) -> active
omniORB: (0) 2026-01-26 18:16:02.846000: Adding key<foo1> (activating) to object table.
omniORB: (0) 2026-01-26 18:16:02.846000: State key<foo1> (activating) -> active
omniORB: (0) 2026-01-26 18:16:02.846000: Adding key<foo2> (activating) to object table.
omniORB: (0) 2026-01-26 18:16:02.846000: State key<foo2> (activating) -> active
omniORB: (0) 2026-01-26 18:16:02.846000: Adding key<foo3> (activating) to object table.
omniORB: (0) 2026-01-26 18:16:02.846000: State key<foo3> (activating) -> active
omniORB: (0) 2026-01-26 18:16:02.846000: Adding key<foo4> (activating) to object table.
omniORB: (0) 2026-01-26 18:16:02.846000: State key<foo4> (activating) -> active
omniORB: (1) 2026-01-26 18:16:02.846000: AsyncInvoker: thread id 1 has started. Total threads = 1.
omniORB: (1) 2026-01-26 18:16:02.846000: AsyncInvoker: thread id 1 assigned to general tasks. Total general threads = 1.
omniORB: (1) 2026-01-26 18:16:02.846000: AsyncInvoker: thread id 1 performing immediate general task.
omniORB: (1) 2026-01-26 18:16:02.846000: giopRendezvouser task execute for giop:tcp:10.0.2.15:12345
omniORB: (? 13168) 2026-01-26 18:16:02.846000: Creating ref to remote: key<foo0>
target id : IDL:omg.org/CORBA/Object:1.0
most derived id:
omniORB: (? 15224) 2026-01-26 18:16:02.846000: Creating ref to remote: key<foo2>
target id : IDL:omg.org/CORBA/Object:1.0
most derived id:
omniORB: (? 11816) 2026-01-26 18:16:02.846000: Creating ref to remote: key<foo1>
target id : IDL:omg.org/CORBA/Object:1.0
most derived id:
omniORB: (? 13168) 2026-01-26 18:16:02.846000: Resolve name 'localhost'...
omniORB: (? 12268) 2026-01-26 18:16:02.846000: Creating ref to remote: key<foo3>
target id : IDL:omg.org/CORBA/Object:1.0
most derived id:
omniORB: (? 4784) 2026-01-26 18:16:02.846000: Creating ref to remote: key<foo4>
target id : IDL:omg.org/CORBA/Object:1.0
most derived id:
omniORB: (? 13168) 2026-01-26 18:16:02.862000: Name 'localhost' resolved to ::1
omniORB: (? 13168) 2026-01-26 18:16:02.862000: Name 'localhost' resolved to 127.0.0.1
omniORB: (? 13168) 2026-01-26 18:16:02.862000: Client attempt to connect to giop:tcp:[::1]:12345
omniORB: (? 12268) 2026-01-26 18:16:02.862000: Client attempt to connect to giop:tcp:[::1]:12345
omniORB: (? 11816) 2026-01-26 18:16:02.862000: Client attempt to connect to giop:tcp:[::1]:12345
omniORB: (6) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 6 has started. Total threads = 2.
omniORB: (6) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 6 assigned to general tasks. Total general threads = 2.
omniORB: (6) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 6 performing immediate general task.
omniORB: (6) 2026-01-26 18:16:02.862000: Scavenger task execute.
omniORB: (1) 2026-01-26 18:16:02.862000: Server accepted connection from giop:tcp:[::1]:51143
omniORB: (? 12268) 2026-01-26 18:16:02.862000: Client opened connection to giop:tcp:[::1]:12345
omniORB: (? 12268) 2026-01-26 18:16:02.862000: sendChunk: to giop:tcp:[::1]:12345 65 bytes
omniORB: (1) 2026-01-26 18:16:02.862000: Server accepted connection from giop:tcp:[::1]:51142
omniORB: (? 4784) 2026-01-26 18:16:02.862000: Client attempt to connect to giop:tcp:[::1]:12345
omniORB: (1) 2026-01-26 18:16:02.862000: Server accepted connection from giop:tcp:[::1]:51144
omniORB: (8) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 8 has started. Total threads = 4.
omniORB: (8) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 8 assigned to server tasks. Total server threads = 1.
omniORB: (8) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 8 performing immediate server task.
omniORB: (1) 2026-01-26 18:16:02.862000: Server accepted connection from giop:tcp:[::1]:51145
omniORB: (? 11816) 2026-01-26 18:16:02.862000: Client opened connection to giop:tcp:[::1]:12345
omniORB: (? 11816) 2026-01-26 18:16:02.862000: sendChunk: to giop:tcp:[::1]:12345 65 bytes
omniORB: (10) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 10 has started. Total threads = 6.
omniORB: (10) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 10 assigned to server tasks. Total server threads = 2.
omniORB: (10) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 10 performing immediate server task.
omniORB: (10) 2026-01-26 18:16:02.862000: giopWorker task execute.
omniORB: (10) 2026-01-26 18:16:02.862000: Accepted connection from giop:tcp:[::1]:51145 because of this rule: "* unix,ssl,tcp"
omniORB: (9) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 9 has started. Total threads = 5.
omniORB: (9) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 9 assigned to server tasks. Total server threads = 3.
omniORB: (9) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 9 performing immediate server task.
omniORB: (9) 2026-01-26 18:16:02.862000: giopWorker task execute.
omniORB: (9) 2026-01-26 18:16:02.862000: Accepted connection from giop:tcp:[::1]:51144 because of this rule: "* unix,ssl,tcp"
omniORB: (? 4784) 2026-01-26 18:16:02.862000: Client opened connection to giop:tcp:[::1]:12345
omniORB: (? 4784) 2026-01-26 18:16:02.862000: sendChunk: to giop:tcp:[::1]:12345 65 bytes
omniORB: (7) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 7 has started. Total threads = 3.
omniORB: (7) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 7 assigned to server tasks. Total server threads = 4.
omniORB: (7) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 7 performing immediate server task.
omniORB: (7) 2026-01-26 18:16:02.862000: giopWorker task execute.
omniORB: (7) 2026-01-26 18:16:02.862000: Accepted connection from giop:tcp:[::1]:51143 because of this rule: "* unix,ssl,tcp"
omniORB: (? 15224) 2026-01-26 18:16:02.862000: Client attempt to connect to giop:tcp:[::1]:12345
omniORB: (9) 2026-01-26 18:16:02.862000: inputMessage: from giop:tcp:[::1]:51144 65 bytes
omniORB: (8) 2026-01-26 18:16:02.862000: giopWorker task execute.
omniORB: (8) 2026-01-26 18:16:02.862000: Accepted connection from giop:tcp:[::1]:51142 because of this rule: "* unix,ssl,tcp"
omniORB: (? 15224) 2026-01-26 18:16:02.862000: Client opened connection to giop:tcp:[::1]:12345
omniORB: (? 15224) 2026-01-26 18:16:02.862000: sendChunk: to giop:tcp:[::1]:12345 65 bytes
omniORB: (10) 2026-01-26 18:16:02.862000: inputMessage: from giop:tcp:[::1]:51145 65 bytes
omniORB: (7) 2026-01-26 18:16:02.862000: inputMessage: from giop:tcp:[::1]:51143 65 bytes
omniORB: (1) 2026-01-26 18:16:02.862000: Server accepted connection from giop:tcp:[::1]:51146
omniORB: (9) 2026-01-26 18:16:02.862000: sendChunk: to giop:tcp:[::1]:51144 25 bytes
omniORB: (10) 2026-01-26 18:16:02.862000: sendChunk: to giop:tcp:[::1]:51145 25 bytes
omniORB: (11) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 11 has started. Total threads = 7.
omniORB: (? 4784) 2026-01-26 18:16:02.862000: inputMessage: from giop:tcp:[::1]:12345 25 bytes
omniORB: (? 4784) 2026-01-26 18:16:02.862000: Creating ref to remote: key<foo4>
target id : IDL:Echo:1.0
most derived id:
omniORB: (? 4784) 2026-01-26 18:16:02.862000: sendChunk: to giop:tcp:[::1]:12345 63 bytes
omniORB: (? 11816) 2026-01-26 18:16:02.862000: inputMessage: from giop:tcp:[::1]:12345 25 bytes
omniORB: (? 11816) 2026-01-26 18:16:02.862000: Creating ref to remote: key<foo1>
target id : IDL:Echo:1.0
most derived id:
omniORB: (? 11816) 2026-01-26 18:16:02.862000: sendChunk: to giop:tcp:[::1]:12345 63 bytes
omniORB: (10) 2026-01-26 18:16:02.862000: inputMessage: from giop:tcp:[::1]:51145 63 bytes
omniORB: (9) 2026-01-26 18:16:02.862000: inputMessage: from giop:tcp:[::1]:51144 63 bytes
omniORB: (11) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 11 assigned to server tasks. Total server threads = 5.
omniORB: (11) 2026-01-26 18:16:02.862000: AsyncInvoker: thread id 11 performing immediate server task.
omniORB: (11) 2026-01-26 18:16:02.862000: giopWorker task execute.
omniORB: (11) 2026-01-26 18:16:02.862000: Accepted connection from giop:tcp:[::1]:51146 because of this rule: "* unix,ssl,tcp"
omniORB: (7) 2026-01-26 18:16:02.862000: sendChunk: to giop:tcp:[::1]:51143 25 bytes
omniORB: (11) 2026-01-26 18:16:02.862000: inputMessage: from giop:tcp:[::1]:51146 65 bytes
omniORB: (11) 2026-01-26 18:16:02.862000: sendChunk: to giop:tcp:[::1]:51146 25 bytes
omniORB: (? 12268) 2026-01-26 18:16:02.862000: inputMessage: from giop:tcp:[::1]:12345 25 bytes
omniORB: (? 15224) 2026-01-26 18:16:02.862000: inputMessage: from giop:tcp:[::1]:12345 25 bytes
omniORB: (? 12268) 2026-01-26 18:16:02.862000: Creating ref to remote: key<foo3>
target id : IDL:Echo:1.0
most derived id:
omniORB: (? 12268) 2026-01-26 18:16:02.862000: sendChunk: to giop:tcp:[::1]:12345 63 bytes
omniORB: (? 15224) 2026-01-26 18:16:02.862000: Creating ref to remote: key<foo2>
target id : IDL:Echo:1.0
most derived id:
omniORB: (? 15224) 2026-01-26 18:16:02.862000: sendChunk: to giop:tcp:[::1]:12345 63 bytes
omniORB: (11) 2026-01-26 18:16:02.862000: inputMessage: from giop:tcp:[::1]:51146 63 bytes
omniORB: (7) 2026-01-26 18:16:02.862000: inputMessage: from giop:tcp:[::1]:51143 63 bytes
omniORB: (? 13168) 2026-01-26 18:16:02.878000: Client opened connection to giop:tcp:[::1]:12345
omniORB: (? 13168) 2026-01-26 18:16:02.878000: sendChunk: to giop:tcp:[::1]:12345 65 bytes
omniORB: (8) 2026-01-26 18:16:02.878000: inputMessage: from giop:tcp:[::1]:51142 65 bytes
omniORB: (8) 2026-01-26 18:16:02.878000: sendChunk: to giop:tcp:[::1]:51142 25 bytes
omniORB: (? 13168) 2026-01-26 18:16:02.878000: inputMessage: from giop:tcp:[::1]:12345 25 bytes
omniORB: (? 13168) 2026-01-26 18:16:02.878000: Creating ref to remote: key<foo0>
target id : IDL:Echo:1.0
most derived id:
omniORB: (? 13168) 2026-01-26 18:16:02.878000: sendChunk: to giop:tcp:[::1]:12345 63 bytes
omniORB: (8) 2026-01-26 18:16:02.878000: inputMessage: from giop:tcp:[::1]:51142 63 bytes
omniORB: (7) 2026-01-26 18:16:02.971000: sendChunk: to giop:tcp:[::1]:51143 35 bytes
omniORB: (9) 2026-01-26 18:16:02.971000: sendChunk: to giop:tcp:[::1]:51144 35 bytes
omniORB: (11) 2026-01-26 18:16:02.971000: sendChunk: to giop:tcp:[::1]:51146 35 bytes
omniORB: (10) 2026-01-26 18:16:02.971000: sendChunk: to giop:tcp:[::1]:51145 35 bytes
omniORB: (? 15224) 2026-01-26 18:16:02.971000: inputMessage: from giop:tcp:[::1]:12345 35 bytes
I said, "Hello!".
The Echo object replied, "Hello!".
omniORB: (? 11816) 2026-01-26 18:16:02.971000: inputMessage: from giop:tcp:[::1]:12345 35 bytes
I said, "Hello!".
The Echo object replied, "Hello!".
omniORB: (? 12268) 2026-01-26 18:16:02.971000: inputMessage: from giop:tcp:[::1]:12345 35 bytes
I said, "Hello!".
The Echo object replied, "Hello!".
omniORB: (? 4784) 2026-01-26 18:16:02.971000: inputMessage: from giop:tcp:[::1]:12345 35 bytes
I said, "Hello!".
The Echo object replied, "Hello!".
omniORB: (? 15224) 2026-01-26 18:16:02.971000: ObjRef() -- deleted.
omniORB: (? 15224) 2026-01-26 18:16:02.971000: omniRemoteIdentity deleted.
omniORB: (? 15224) 2026-01-26 18:16:02.971000: ObjRef() -- deleted.
omniORB: (? 4784) 2026-01-26 18:16:02.971000: ObjRef() -- deleted.
omniORB: (? 4784) 2026-01-26 18:16:02.971000: omniRemoteIdentity deleted.
omniORB: (? 4784) 2026-01-26 18:16:02.971000: ObjRef() -- deleted.
omniORB: (? 11816) 2026-01-26 18:16:02.971000: ObjRef() -- deleted.
omniORB: (? 11816) 2026-01-26 18:16:02.971000: omniRemoteIdentity deleted.
omniORB: (? 11816) 2026-01-26 18:16:02.971000: ObjRef() -- deleted.
omniORB: (? 12268) 2026-01-26 18:16:02.971000: ObjRef() -- deleted.
omniORB: (? 12268) 2026-01-26 18:16:02.971000: omniRemoteIdentity deleted.
omniORB: (? 12268) 2026-01-26 18:16:02.971000: ObjRef() -- deleted.
omniORB: (8) 2026-01-26 18:16:02.987000: sendChunk: to giop:tcp:[::1]:51142 35 bytes
omniORB: (? 13168) 2026-01-26 18:16:02.987000: inputMessage: from giop:tcp:[::1]:12345 35 bytes
I said, "Hello!".
The Echo object replied, "Hello!".
omniORB: (? 13168) 2026-01-26 18:16:02.987000: ObjRef() -- deleted.
omniORB: (? 13168) 2026-01-26 18:16:02.987000: omniRemoteIdentity deleted.
omniORB: (? 13168) 2026-01-26 18:16:02.987000: ObjRef() -- deleted.
omniORB: (0) 2026-01-26 18:16:02.987000: Preparing to shutdown ORB.
omniORB: (0) 2026-01-26 18:16:02.987000: Destroying POA(RootPOA).
omniORB: (0) 2026-01-26 18:16:02.987000: Destroying POA(omniINSPOA).
omniORB: (0) 2026-01-26 18:16:02.987000: Deactivating all POA(omniINSPOA)'s objects.
omniORB: (0) 2026-01-26 18:16:02.987000: State key<foo4> (active) -> deactivating (OA destruction)
omniORB: (0) 2026-01-26 18:16:02.987000: State key<foo3> (active) -> deactivating (OA destruction)
omniORB: (0) 2026-01-26 18:16:02.987000: State key<foo2> (active) -> deactivating (OA destruction)
omniORB: (0) 2026-01-26 18:16:02.987000: State key<foo1> (active) -> deactivating (OA destruction)
omniORB: (0) 2026-01-26 18:16:02.987000: State key<foo0> (active) -> deactivating (OA destruction)
omniORB: (0) 2026-01-26 18:16:02.987000: Waiting for requests to complete on POA(omniINSPOA).
omniORB: (0) 2026-01-26 18:16:02.987000: Requests on POA(omniINSPOA) completed.
omniORB: (0) 2026-01-26 18:16:02.987000: State key<foo4> (deactivating OA) -> etherealising
omniORB: (0) 2026-01-26 18:16:02.987000: State key<foo3> (deactivating OA) -> etherealising
omniORB: (0) 2026-01-26 18:16:02.987000: State key<foo2> (deactivating OA) -> etherealising
omniORB: (0) 2026-01-26 18:16:02.987000: State key<foo1> (deactivating OA) -> etherealising
omniORB: (0) 2026-01-26 18:16:02.987000: State key<foo0> (deactivating OA) -> etherealising
omniORB: (0) 2026-01-26 18:16:02.987000: Etherealising POA(omniINSPOA)'s objects.
omniORB: (0) 2026-01-26 18:16:02.987000: Removing key<foo4> (etherealising) from object table
omniORB: (0) 2026-01-26 18:16:02.987000: Object table entry key<foo4> (dead) deleted.
omniORB: (0) 2026-01-26 18:16:02.987000: ServantBase has zero ref count -- deleted.
omniORB: (0) 2026-01-26 18:16:02.987000: Removing key<foo3> (etherealising) from object table
omniORB: (0) 2026-01-26 18:16:02.987000: Object table entry key<foo3> (dead) deleted.
omniORB: (0) 2026-01-26 18:16:02.987000: ServantBase has zero ref count -- deleted.
omniORB: (0) 2026-01-26 18:16:02.987000: Removing key<foo2> (etherealising) from object table
omniORB: (0) 2026-01-26 18:16:02.987000: Object table entry key<foo2> (dead) deleted.
omniORB: (0) 2026-01-26 18:16:02.987000: ServantBase has zero ref count -- deleted.
omniORB: (0) 2026-01-26 18:16:02.987000: Removing key<foo1> (etherealising) from object table
omniORB: (0) 2026-01-26 18:16:02.987000: Object table entry key<foo1> (dead) deleted.
omniORB: (0) 2026-01-26 18:16:02.987000: ServantBase has zero ref count -- deleted.
omniORB: (0) 2026-01-26 18:16:02.987000: Removing key<foo0> (etherealising) from object table
omniORB: (0) 2026-01-26 18:16:02.987000: Object table entry key<foo0> (dead) deleted.
omniORB: (0) 2026-01-26 18:16:02.987000: ServantBase has zero ref count -- deleted.
omniORB: (0) 2026-01-26 18:16:02.987000: Wait for 0 detached objects.
omniORB: (0) 2026-01-26 18:16:02.987000: Destruction of POA(omniINSPOA) complete.
omniORB: (0) 2026-01-26 18:16:02.987000: Deactivating all POA(RootPOA)'s objects.
omniORB: (0) 2026-01-26 18:16:02.987000: Waiting for requests to complete on POA(RootPOA).
omniORB: (0) 2026-01-26 18:16:02.987000: Requests on POA(RootPOA) completed.
omniORB: (0) 2026-01-26 18:16:02.987000: Etherealising POA(RootPOA)'s objects.
omniORB: (0) 2026-01-26 18:16:02.987000: Wait for 0 detached objects.
omniORB: (0) 2026-01-26 18:16:02.987000: All object adapters inactive. Stopping serving incoming endpoints.
omniORB: (0) 2026-01-26 18:16:02.987000: giopServer deactivate...
omniORB: (0) 2026-01-26 18:16:02.987000: Close connections with threads and monitors...
omniORB: (0) 2026-01-26 18:16:02.987000: Closed 5 connections out of 5.
omniORB: (0) 2026-01-26 18:16:02.987000: Wait for 5 dedicated threads to finish...
omniORB: (9) 2026-01-26 18:16:07.986000: Error in network receive (start of message): giop:tcp:[::1]:51144
omniORB: (9) 2026-01-26 18:16:07.986000: throw giopStream::CommFailure from giopStream.cc:857(0,NO,COMM_FAILURE_UnMarshalArguments)
omniORB: (10) 2026-01-26 18:16:07.986000: Error in network receive (start of message): giop:tcp:[::1]:51145
omniORB: (10) 2026-01-26 18:16:07.986000: throw giopStream::CommFailure from giopStream.cc:857(0,NO,COMM_FAILURE_UnMarshalArguments)
omniORB: (11) 2026-01-26 18:16:07.986000: Error in network receive (start of message): giop:tcp:[::1]:51146
omniORB: (11) 2026-01-26 18:16:07.986000: throw giopStream::CommFailure from giopStream.cc:857(0,NO,COMM_FAILURE_UnMarshalArguments)
omniORB: (7) 2026-01-26 18:16:07.986000: Error in network receive (start of message): giop:tcp:[::1]:51143
omniORB: (7) 2026-01-26 18:16:07.986000: throw giopStream::CommFailure from giopStream.cc:857(0,NO,COMM_FAILURE_UnMarshalArguments)
omniORB: (9) 2026-01-26 18:16:07.986000: Server connection giop:tcp:[::1]:51144 refcount = 1
omniORB: (9) 2026-01-26 18:16:07.986000: removeConnectionAndWorker for dedicated worker. 4 remaining.
omniORB: (10) 2026-01-26 18:16:07.986000: Server connection giop:tcp:[::1]:51145 refcount = 1
omniORB: (10) 2026-01-26 18:16:07.986000: removeConnectionAndWorker for dedicated worker. 3 remaining.
omniORB: (11) 2026-01-26 18:16:07.986000: Server connection giop:tcp:[::1]:51146 refcount = 1
omniORB: (11) 2026-01-26 18:16:07.986000: removeConnectionAndWorker for dedicated worker. 2 remaining.
omniORB: (7) 2026-01-26 18:16:07.986000: Server connection giop:tcp:[::1]:51143 refcount = 1
omniORB: (7) 2026-01-26 18:16:07.986000: removeConnectionAndWorker for dedicated worker. 1 remaining.
omniORB: (9) 2026-01-26 18:16:07.986000: Server connection giop:tcp:[::1]:51144 refcount = 0
omniORB: (9) 2026-01-26 18:16:07.986000: Server close connection from giop:tcp:[::1]:51144
omniORB: (9) 2026-01-26 18:16:07.986000: AsyncInvoker: thread id 9 finished immediate server task.
omniORB: (10) 2026-01-26 18:16:07.986000: Server connection giop:tcp:[::1]:51145 refcount = 0
omniORB: (10) 2026-01-26 18:16:07.986000: Server close connection from giop:tcp:[::1]:51145
omniORB: (10) 2026-01-26 18:16:07.986000: AsyncInvoker: thread id 10 finished immediate server task.
omniORB: (11) 2026-01-26 18:16:07.986000: Server connection giop:tcp:[::1]:51146 refcount = 0
omniORB: (11) 2026-01-26 18:16:07.986000: Server close connection from giop:tcp:[::1]:51146
omniORB: (11) 2026-01-26 18:16:07.986000: AsyncInvoker: thread id 11 finished immediate server task.
omniORB: (7) 2026-01-26 18:16:07.986000: Server connection giop:tcp:[::1]:51143 refcount = 0
omniORB: (7) 2026-01-26 18:16:07.986000: Server close connection from giop:tcp:[::1]:51143
omniORB: (7) 2026-01-26 18:16:07.986000: AsyncInvoker: thread id 7 finished immediate server task.
omniORB: (8) 2026-01-26 18:16:08.001000: Error in network receive (start of message): giop:tcp:[::1]:51142
omniORB: (8) 2026-01-26 18:16:08.001000: throw giopStream::CommFailure from giopStream.cc:857(0,NO,COMM_FAILURE_UnMarshalArguments)
omniORB: (0) 2026-01-26 18:16:08.001000: Timed out. 1 connection and 1 dedicated worker remaining.
omniORB: (0) 2026-01-26 18:16:08.001000: Terminate rendezvousers...
omniORB: (0) 2026-01-26 18:16:08.001000: giopRendezvouser for giop:tcp:10.0.2.15:12345 terminate...
omniORB: (8) 2026-01-26 18:16:08.001000: Server connection giop:tcp:[::1]:51142 refcount = 1
omniORB: (8) 2026-01-26 18:16:08.001000: removeConnectionAndWorker for dedicated worker. 0 remaining.
omniORB: (8) 2026-01-26 18:16:08.001000: Server connection giop:tcp:[::1]:51142 refcount = 0
omniORB: (8) 2026-01-26 18:16:08.001000: Server close connection from giop:tcp:[::1]:51142
omniORB: (8) 2026-01-26 18:16:08.001000: AsyncInvoker: thread id 8 finished immediate server task.
omniORB: (1) 2026-01-26 18:16:08.001000: giopServer terminate connection from giop:tcp:[::ffff:10.0.2.15]:51147.
omniORB: (1) 2026-01-26 18:16:08.001000: giopRendezvouser for endpoint giop:tcp:10.0.2.15:12345 exit.
omniORB: (1) 2026-01-26 18:16:08.001000: No remaining rendezvousers.
omniORB: (1) 2026-01-26 18:16:08.001000: AsyncInvoker: thread id 1 finished immediate general task.
omniORB: (0) 2026-01-26 18:16:08.001000: Rendezvousers terminated.
omniORB: (0) 2026-01-26 18:16:08.001000: giopServer deactivated.
omniORB: (0) 2026-01-26 18:16:08.001000: Destruction of POA(RootPOA) complete.
omniORB: (0) 2026-01-26 18:16:08.001000: Shutting-down all incoming endpoints.
omniORB: (0) 2026-01-26 18:16:08.001000: TCP endpoint shut down.
omniORB: (0) 2026-01-26 18:16:08.001000: 0 object references present at ORB shutdown.
omniORB: (0) 2026-01-26 18:16:08.001000: ORB shutdown is complete.
omniORB: (0) 2026-01-26 18:16:08.001000: Shut down AsyncInvoker...
omniORB: (0) 2026-01-26 18:16:08.001000: Shut down dedicated thread queue.
omniORB: (0) 2026-01-26 18:16:08.001000: AsyncInvoker shut down.
omniORB: (0) 2026-01-26 18:16:08.001000: Destroy ORB...
omniORB: (0) 2026-01-26 18:16:08.001000: Terminate strand scavenger.
omniORB: (0) 2026-01-26 18:16:08.001000: Close remaining strands.
omniORB: (0) 2026-01-26 18:16:08.001000: Shutdown close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 18:16:08.001000: Client connection giop:tcp:[::1]:12345 refcount (forced) = 0
omniORB: (0) 2026-01-26 18:16:08.001000: Client close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 18:16:08.001000: Shutdown close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 18:16:08.001000: Client connection giop:tcp:[::1]:12345 refcount (forced) = 0
omniORB: (0) 2026-01-26 18:16:08.001000: Client close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 18:16:08.001000: Shutdown close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 18:16:08.001000: Client connection giop:tcp:[::1]:12345 refcount (forced) = 0
omniORB: (0) 2026-01-26 18:16:08.001000: Client close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 18:16:08.001000: Shutdown close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 18:16:08.001000: Client connection giop:tcp:[::1]:12345 refcount (forced) = 0
omniORB: (0) 2026-01-26 18:16:08.001000: Client close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 18:16:08.001000: Shutdown close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 18:16:08.001000: Client connection giop:tcp:[::1]:12345 refcount (forced) = 0
omniORB: (0) 2026-01-26 18:16:08.001000: Client close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 18:16:08.001000: 0 remaining bidir ropes deleted.
omniORB: (0) 2026-01-26 18:16:08.001000: 1 remaining rope deleted.
omniORB: (0) 2026-01-26 18:16:08.001000: Clear endPoint options.
omniORB: (6) 2026-01-26 18:16:08.001000: AsyncInvoker: thread id 6 finished immediate general task.
omniORB: (6) 2026-01-26 18:16:08.001000: AsyncInvoker: thread id 6 released from general tasks. Total general threads = 1.
omniORB: (0) 2026-01-26 18:16:08.001000: Wait for 7 invoker threads to finish.
omniORB: (7) 2026-01-26 18:16:08.001000: AsyncInvoker: thread id 7 released from server tasks. Total server threads = 4.
omniORB: (10) 2026-01-26 18:16:08.001000: AsyncInvoker: thread id 10 released from server tasks. Total server threads = 2.
omniORB: (11) 2026-01-26 18:16:08.001000: AsyncInvoker: thread id 11 released from server tasks. Total server threads = 0.
omniORB: (11) 2026-01-26 18:16:08.001000: AsyncInvoker: thread id 11 has exited. Total threads = 3.
omniORB: (9) 2026-01-26 18:16:08.001000: AsyncInvoker: thread id 9 released from server tasks. Total server threads = 1.
omniORB: (9) 2026-01-26 18:16:08.001000: AsyncInvoker: thread id 9 has exited. Total threads = 2.
omniORB: (7) 2026-01-26 18:16:08.001000: AsyncInvoker: thread id 7 has exited. Total threads = 6.
omniORB: (10) 2026-01-26 18:16:08.001000: AsyncInvoker: thread id 10 has exited. Total threads = 4.
omniORB: (1) 2026-01-26 18:16:08.001000: AsyncInvoker: thread id 1 released from general tasks. Total general threads = 0.
omniORB: (1) 2026-01-26 18:16:08.001000: AsyncInvoker: thread id 1 has exited. Total threads = 1.
omniORB: (6) 2026-01-26 18:16:08.001000: AsyncInvoker: thread id 6 has exited. Total threads = 5.
omniORB: (8) 2026-01-26 18:16:08.001000: AsyncInvoker: thread id 8 released from server tasks. Total server threads = 3.
omniORB: (8) 2026-01-26 18:16:08.001000: AsyncInvoker: thread id 8 has exited. Total threads = 0.
omniORB: (0) 2026-01-26 18:16:08.001000: Invoker threads finished.
omniORB: (0) 2026-01-26 18:16:08.001000: AsyncInvoker: deleted.
omniORB: (0) 2026-01-26 18:16:08.001000: ORB destroyed.
omniORB: (0) 2026-01-26 18:16:08.001000: Configuration file "C:\OMNIORB.CFG" either does not exist or is not a file. No settings read.
omniORB: (0) 2026-01-26 18:16:08.001000: Version: 4.3.4
omniORB: (0) 2026-01-26 18:16:08.001000: Distribution date: Mon 5 Jan 11:45:42 GMT 2026
omniORB: (0) 2026-01-26 18:16:08.001000: Maximum supported GIOP version is 1.2
omniORB: (0) 2026-01-26 18:16:08.001000: Native char code sets: UTF-8 ISO-8859-1.
omniORB: (0) 2026-01-26 18:16:08.001000: Transmission char code sets: UTF-8(1.2) UTF-8(1.1) ISO-8859-1(1.2) ISO-8859-1(1.1) ISO-8859-1(1.0).
omniORB: (0) 2026-01-26 18:16:08.001000: Native wide char code sets: UTF-16.
omniORB: (0) 2026-01-26 18:16:08.001000: Transmission wide char code sets: UTF-16(1.2).
omniORB: (0) 2026-01-26 18:16:08.001000: Information: the omniDynamic library is not linked.
omniORB: (0) 2026-01-26 18:16:08.001000: Current configuration is as follows:
omniORB: DefaultInitRef (file) =
omniORB: DefaultInitRef (args) =
omniORB: abortOnInternalError = 0
omniORB: abortOnNativeException = 0
omniORB: acceptBiDirectionalGIOP = 0
omniORB: acceptMisalignedTcIndirections = 0
omniORB: bootstrapAgentHostname =
omniORB: bootstrapAgentPort = 900
omniORB: clientCallTimeOutPeriod = 0
omniORB: clientConnectTimeOutPeriod = 0
omniORB: clientTransportRule = * unix,ssl,tcp
omniORB: configFile = C:\OMNIORB.CFG
omniORB: connectionWatchImmediate = 0
omniORB: connectionWatchPeriod = 50000
omniORB: copyValuesInLocalCalls = 1
omniORB: defaultCharCodeSet = nil
omniORB: defaultWCharCodeSet = nil
omniORB: diiThrowsSysExceptions = 0
omniORB: dumpConfiguration = 0
omniORB: endPoint = giop:tcp::12345
omniORB: endPointPublish = addr
omniORB: exceptionIdInAny = 1
omniORB: giopBufferSize = 8192
omniORB: giopDirectReceiveCutOff = 1024
omniORB: giopDirectSendCutOff = 16384
omniORB: giopMaxMsgSize = 2097152
omniORB: giopMinChunkBeforeDirectSend = 1024
omniORB: giopTargetAddressMode = KeyAddr
omniORB: id = omniORB4
omniORB: idleThreadTimeout = 10
omniORB: immediateAddressSwitch = 0
omniORB: inConScanPeriod = 180
omniORB: lcdMode = 0
omniORB: listenBacklog = 2147483647
omniORB: maxClientThreadPoolSize = 100
omniORB: maxGIOPConnectionPerServer = 5
omniORB: maxGIOPVersion = 1.2
omniORB: maxInterleavedCallsPerConnection = 5
omniORB: maxServerThreadPerConnection = 100
omniORB: maxServerThreadPoolSize = 100
omniORB: maxSocketRecv = 131072
omniORB: maxSocketSend = 131072
omniORB: nativeCharCodeSet = ISO-8859-1
omniORB: nativeWCharCodeSet = UTF-16
omniORB: objectTableSize = 0
omniORB: offerBiDirectionalGIOP = 0
omniORB: oneCallPerConnection = 1
omniORB: outConScanPeriod = 120
omniORB: poaHoldRequestTimeout = 0
omniORB: poaUniquePersistentSystemIds = 1
omniORB: principal = [Null]
omniORB: resetTimeOutOnRetries = 0
omniORB: resolveNamesForTransportRules = 1
omniORB: retainAddressOrder = 0
omniORB: scanGranularity = 5
omniORB: serverCallTimeOutPeriod = 0
omniORB: serverTransportRule = * unix,ssl,tcp
omniORB: socketSendBuffer = 16384
omniORB: strictIIOP = 1
omniORB: supportBootstrapAgent = 0
omniORB: supportCurrent = 1
omniORB: supportPerThreadTimeOut = 0
omniORB: tcAliasExpand = 0
omniORB: threadPerConnectionLowerLimit = 9000
omniORB: threadPerConnectionPolicy = 1
omniORB: threadPerConnectionUpperLimit = 10000
omniORB: threadPoolWatchConnection = 1
omniORB: throwTransientOnTimeOut = 0
omniORB: traceExceptions = 1
omniORB: traceFile = [stderr]
omniORB: traceInvocationReturns = 0
omniORB: traceInvocations = 0
omniORB: traceLevel = 25
omniORB: traceLocking = 0
omniORB: traceThreadId = 1
omniORB: traceTime = 1
omniORB: unixTransportDirectory = /tmp/omni-%u
omniORB: unixTransportPermission = 777
omniORB: useTypeCodeIndirections = 1
omniORB: validateUTF8 = 0
omniORB: verifyObjectExistsAndType = 1
omniORB: (0) 2026-01-26 18:16:08.001000: Initialising incoming endpoints.
omniORB: (0) 2026-01-26 18:16:08.001000: Instantiate endpoint 'giop:tcp::12345'
omniORB: (0) 2026-01-26 18:16:08.001000: Assertion failed. This indicates a bug in the application
using omniORB, or maybe in omniORB itself.
file: giopServer.cc
line: 154
info: pd_state != ZOMBIE
-------------- next part --------------
PS C:\work\deps\omniORB-4.3.4\src\examples\echo> .\eg1.exe
omniORB: (0) 2026-01-26 19:19:42.835000: Version: 4.3.4
omniORB: (0) 2026-01-26 19:19:42.835000: Distribution date: Mon 5 Jan 11:45:42 GMT 2026
omniORB: (0) 2026-01-26 19:19:42.835000: My addresses are:
omniORB: 127.0.0.1
omniORB: 10.0.2.15
omniORB: fec0::ba04:3181:4e9d:c705
omniORB: (0) 2026-01-26 19:19:42.835000: Maximum supported GIOP version is 1.2
omniORB: (0) 2026-01-26 19:19:42.835000: Native char code sets: UTF-8 ISO-8859-1.
omniORB: (0) 2026-01-26 19:19:42.835000: Transmission char code sets: UTF-8(1.2) UTF-8(1.1) ISO-8859-1(1.2) ISO-8859-1(1.1) ISO-8859-1(1.0).
omniORB: (0) 2026-01-26 19:19:42.835000: Native wide char code sets: UTF-16.
omniORB: (0) 2026-01-26 19:19:42.835000: Transmission wide char code sets: UTF-16(1.2).
omniORB: (0) 2026-01-26 19:19:42.835000: Information: the omniDynamic library is not linked.
omniORB: (0) 2026-01-26 19:19:42.835000: Current configuration is as follows:
omniORB: DefaultInitRef (file) =
omniORB: DefaultInitRef (args) =
omniORB: abortOnInternalError = 0
omniORB: abortOnNativeException = 0
omniORB: acceptBiDirectionalGIOP = 0
omniORB: acceptMisalignedTcIndirections = 0
omniORB: bootstrapAgentHostname =
omniORB: bootstrapAgentPort = 900
omniORB: clientCallTimeOutPeriod = 0
omniORB: clientConnectTimeOutPeriod = 0
omniORB: clientTransportRule = * unix,ssl,tcp
omniORB: configFile = C:\OMNIORB.CFG
omniORB: connectionWatchImmediate = 0
omniORB: connectionWatchPeriod = 50000
omniORB: copyValuesInLocalCalls = 1
omniORB: defaultCharCodeSet = nil
omniORB: defaultWCharCodeSet = nil
omniORB: diiThrowsSysExceptions = 0
omniORB: dumpConfiguration = 0
omniORB: endPoint = giop:tcp::12345
omniORB: endPoint = giop:tcp::12345
omniORB: endPointPublish = addr
omniORB: exceptionIdInAny = 1
omniORB: giopBufferSize = 8192
omniORB: giopDirectReceiveCutOff = 1024
omniORB: giopDirectSendCutOff = 16384
omniORB: giopMaxMsgSize = 2097152
omniORB: giopMinChunkBeforeDirectSend = 1024
omniORB: giopTargetAddressMode = KeyAddr
omniORB: id = omniORB4
omniORB: idleThreadTimeout = 10
omniORB: immediateAddressSwitch = 0
omniORB: inConScanPeriod = 180
omniORB: lcdMode = 0
omniORB: listenBacklog = 2147483647
omniORB: maxClientThreadPoolSize = 100
omniORB: maxGIOPConnectionPerServer = 5
omniORB: maxGIOPVersion = 1.2
omniORB: maxInterleavedCallsPerConnection = 5
omniORB: maxServerThreadPerConnection = 100
omniORB: maxServerThreadPoolSize = 100
omniORB: maxSocketRecv = 131072
omniORB: maxSocketSend = 131072
omniORB: nativeCharCodeSet = ISO-8859-1
omniORB: nativeWCharCodeSet = UTF-16
omniORB: objectTableSize = 0
omniORB: offerBiDirectionalGIOP = 0
omniORB: oneCallPerConnection = 1
omniORB: outConScanPeriod = 120
omniORB: poaHoldRequestTimeout = 0
omniORB: poaUniquePersistentSystemIds = 1
omniORB: principal = [Null]
omniORB: resetTimeOutOnRetries = 0
omniORB: resolveNamesForTransportRules = 1
omniORB: retainAddressOrder = 0
omniORB: scanGranularity = 5
omniORB: serverCallTimeOutPeriod = 0
omniORB: serverTransportRule = * unix,ssl,tcp
omniORB: socketSendBuffer = 16384
omniORB: strictIIOP = 1
omniORB: supportBootstrapAgent = 0
omniORB: supportCurrent = 1
omniORB: supportPerThreadTimeOut = 0
omniORB: tcAliasExpand = 0
omniORB: threadPerConnectionLowerLimit = 9000
omniORB: threadPerConnectionPolicy = 1
omniORB: threadPerConnectionUpperLimit = 10000
omniORB: threadPoolWatchConnection = 1
omniORB: throwTransientOnTimeOut = 0
omniORB: traceExceptions = 1
omniORB: traceFile = [stderr]
omniORB: traceInvocationReturns = 0
omniORB: traceInvocations = 0
omniORB: traceLevel = 25
omniORB: traceLocking = 0
omniORB: traceThreadId = 1
omniORB: traceTime = 1
omniORB: unixTransportDirectory = /tmp/omni-%u
omniORB: unixTransportPermission = 777
omniORB: useTypeCodeIndirections = 1
omniORB: validateUTF8 = 0
omniORB: verifyObjectExistsAndType = 1
omniORB: (0) 2026-01-26 19:19:42.835000: Initialising incoming endpoints.
omniORB: (0) 2026-01-26 19:19:42.835000: Instantiate endpoint 'giop:tcp::12345'
omniORB: (0) 2026-01-26 19:19:42.835000: Attempt to set socket to listen on IPv4 and IPv6.
omniORB: (0) 2026-01-26 19:19:42.835000: Bind to address :: port 12345.
omniORB: (0) 2026-01-26 19:19:42.835000: Instantiate endpoint 'giop:tcp::12345'
omniORB: (0) 2026-01-26 19:19:42.835000: Attempt to set socket to listen on IPv4 and IPv6.
omniORB: (0) 2026-01-26 19:19:42.835000: Bind to address :: port 12345.
omniORB: (0) 2026-01-26 19:19:42.835000: Publish specification: 'addr'
omniORB: (0) 2026-01-26 19:19:42.835000: Try to publish 'addr' for endpoint giop:tcp:10.0.2.15:12345
omniORB: (0) 2026-01-26 19:19:42.835000: Publish endpoint 'giop:tcp:10.0.2.15:12345'
omniORB: (0) 2026-01-26 19:19:42.835000: Try to publish 'addr' for endpoint giop:tcp:10.0.2.15:12345
omniORB: (0) 2026-01-26 19:19:42.835000: Starting serving incoming endpoints.
omniORB: (0) 2026-01-26 19:19:42.835000: Adding key<foo0> (activating) to object table.
omniORB: (0) 2026-01-26 19:19:42.835000: State key<foo0> (activating) -> active
omniORB: (0) 2026-01-26 19:19:42.835000: Adding key<foo1> (activating) to object table.
omniORB: (0) 2026-01-26 19:19:42.851000: State key<foo1> (activating) -> active
omniORB: (0) 2026-01-26 19:19:42.851000: Adding key<foo2> (activating) to object table.
omniORB: (0) 2026-01-26 19:19:42.851000: State key<foo2> (activating) -> active
omniORB: (1) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 1 has started. Total threads = 1.
omniORB: (1) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 1 assigned to general tasks. Total general threads = 1.
omniORB: (1) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 1 performing immediate general task.
omniORB: (1) 2026-01-26 19:19:42.851000: giopRendezvouser task execute for giop:tcp:10.0.2.15:12345
omniORB: (2) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 2 has started. Total threads = 2.
omniORB: (2) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 2 assigned to general tasks. Total general threads = 2.
omniORB: (2) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 2 performing immediate general task.
omniORB: (2) 2026-01-26 19:19:42.851000: giopRendezvouser task execute for giop:tcp:10.0.2.15:12345
omniORB: (0) 2026-01-26 19:19:42.851000: Adding key<foo3> (activating) to object table.
omniORB: (0) 2026-01-26 19:19:42.851000: State key<foo3> (activating) -> active
omniORB: (0) 2026-01-26 19:19:42.851000: Adding key<foo4> (activating) to object table.
omniORB: (0) 2026-01-26 19:19:42.851000: State key<foo4> (activating) -> active
omniORB: (? 8092) 2026-01-26 19:19:42.851000: Creating ref to remote: key<foo0>
target id : IDL:omg.org/CORBA/Object:1.0
most derived id:
omniORB: (? 14444) 2026-01-26 19:19:42.851000: Creating ref to remote: key<foo1>
target id : IDL:omg.org/CORBA/Object:1.0
most derived id:
omniORB: (? 8092) 2026-01-26 19:19:42.851000: Resolve name 'localhost'...
omniORB: (? 14028) 2026-01-26 19:19:42.851000: Creating ref to remote: key<foo4>
target id : IDL:omg.org/CORBA/Object:1.0
most derived id:
omniORB: (? 15904) 2026-01-26 19:19:42.851000: Creating ref to remote: key<foo3>
target id : IDL:omg.org/CORBA/Object:1.0
most derived id:
omniORB: (? 14608) 2026-01-26 19:19:42.851000: Creating ref to remote: key<foo2>
target id : IDL:omg.org/CORBA/Object:1.0
most derived id:
omniORB: (? 8092) 2026-01-26 19:19:42.851000: Name 'localhost' resolved to ::1
omniORB: (? 8092) 2026-01-26 19:19:42.851000: Name 'localhost' resolved to 127.0.0.1
omniORB: (? 8092) 2026-01-26 19:19:42.851000: Client attempt to connect to giop:tcp:[::1]:12345
omniORB: (? 14444) 2026-01-26 19:19:42.851000: Client attempt to connect to giop:tcp:[::1]:12345
omniORB: (? 15904) 2026-01-26 19:19:42.851000: Client attempt to connect to giop:tcp:[::1]:12345
omniORB: (? 14028) 2026-01-26 19:19:42.851000: Client attempt to connect to giop:tcp:[::1]:12345
omniORB: (7) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 7 has started. Total threads = 3.
omniORB: (? 8092) 2026-01-26 19:19:42.851000: Client opened connection to giop:tcp:[::1]:12345
omniORB: (? 14444) 2026-01-26 19:19:42.851000: Client opened connection to giop:tcp:[::1]:12345
omniORB: (? 14444) 2026-01-26 19:19:42.851000: sendChunk: to giop:tcp:[::1]:12345 65 bytes
omniORB: (? 15904) 2026-01-26 19:19:42.851000: Client opened connection to giop:tcp:[::1]:12345
omniORB: (? 15904) 2026-01-26 19:19:42.851000: sendChunk: to giop:tcp:[::1]:12345 65 bytes
omniORB: (? 8092) 2026-01-26 19:19:42.851000: sendChunk: to giop:tcp:[::1]:12345 65 bytes
omniORB: (7) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 7 assigned to general tasks. Total general threads = 3.
omniORB: (7) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 7 performing immediate general task.
omniORB: (7) 2026-01-26 19:19:42.851000: Scavenger task execute.
omniORB: (1) 2026-01-26 19:19:42.851000: Server accepted connection from giop:tcp:[::1]:51301
omniORB: (? 14608) 2026-01-26 19:19:42.851000: Client attempt to connect to giop:tcp:[::1]:12345
omniORB: (? 14028) 2026-01-26 19:19:42.851000: Client opened connection to giop:tcp:[::1]:12345
omniORB: (? 14028) 2026-01-26 19:19:42.851000: sendChunk: to giop:tcp:[::1]:12345 65 bytes
omniORB: (8) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 8 has started. Total threads = 4.
omniORB: (8) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 8 assigned to server tasks. Total server threads = 1.
omniORB: (8) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 8 performing immediate server task.
omniORB: (8) 2026-01-26 19:19:42.851000: giopWorker task execute.
omniORB: (8) 2026-01-26 19:19:42.851000: Accepted connection from giop:tcp:[::1]:51301 because of this rule: "* unix,ssl,tcp"
omniORB: (1) 2026-01-26 19:19:42.851000: Server accepted connection from giop:tcp:[::1]:51303
omniORB: (? 14608) 2026-01-26 19:19:42.851000: Client opened connection to giop:tcp:[::1]:12345
omniORB: (? 14608) 2026-01-26 19:19:42.851000: sendChunk: to giop:tcp:[::1]:12345 65 bytes
omniORB: (8) 2026-01-26 19:19:42.851000: inputMessage: from giop:tcp:[::1]:51301 65 bytes
omniORB: (1) 2026-01-26 19:19:42.851000: Server accepted connection from giop:tcp:[::1]:51302
omniORB: (9) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 9 has started. Total threads = 5.
omniORB: (8) 2026-01-26 19:19:42.851000: sendChunk: to giop:tcp:[::1]:51301 25 bytes
omniORB: (10) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 10 has started. Total threads = 6.
omniORB: (? 8092) 2026-01-26 19:19:42.851000: inputMessage: from giop:tcp:[::1]:12345 25 bytes
omniORB: (? 8092) 2026-01-26 19:19:42.851000: Creating ref to remote: key<foo0>
target id : IDL:Echo:1.0
most derived id:
omniORB: (? 8092) 2026-01-26 19:19:42.851000: sendChunk: to giop:tcp:[::1]:12345 63 bytes
omniORB: (1) 2026-01-26 19:19:42.851000: Server accepted connection from giop:tcp:[::1]:51304
omniORB: (9) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 9 assigned to server tasks. Total server threads = 2.
omniORB: (1) 2026-01-26 19:19:42.851000: Server accepted connection from giop:tcp:[::1]:51305
omniORB: (11) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 11 has started. Total threads = 7.
omniORB: (9) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 9 performing immediate server task.
omniORB: (9) 2026-01-26 19:19:42.851000: giopWorker task execute.
omniORB: (9) 2026-01-26 19:19:42.851000: Accepted connection from giop:tcp:[::1]:51303 because of this rule: "* unix,ssl,tcp"
omniORB: (10) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 10 assigned to server tasks. Total server threads = 3.
omniORB: (10) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 10 performing immediate server task.
omniORB: (10) 2026-01-26 19:19:42.851000: giopWorker task execute.
omniORB: (10) 2026-01-26 19:19:42.851000: Accepted connection from giop:tcp:[::1]:51302 because of this rule: "* unix,ssl,tcp"
omniORB: (9) 2026-01-26 19:19:42.851000: inputMessage: from giop:tcp:[::1]:51303 65 bytes
omniORB: (9) 2026-01-26 19:19:42.851000: sendChunk: to giop:tcp:[::1]:51303 25 bytes
omniORB: (11) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 11 assigned to server tasks. Total server threads = 4.
omniORB: (11) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 11 performing immediate server task.
omniORB: (11) 2026-01-26 19:19:42.851000: giopWorker task execute.
omniORB: (11) 2026-01-26 19:19:42.851000: Accepted connection from giop:tcp:[::1]:51304 because of this rule: "* unix,ssl,tcp"
omniORB: (? 15904) 2026-01-26 19:19:42.851000: inputMessage: from giop:tcp:[::1]:12345 25 bytes
omniORB: (? 15904) 2026-01-26 19:19:42.851000: Creating ref to remote: key<foo3>
target id : IDL:Echo:1.0
most derived id:
omniORB: (? 15904) 2026-01-26 19:19:42.851000: sendChunk: to giop:tcp:[::1]:12345 63 bytes
omniORB: (8) 2026-01-26 19:19:42.851000: inputMessage: from giop:tcp:[::1]:51301 63 bytes
omniORB: (11) 2026-01-26 19:19:42.851000: inputMessage: from giop:tcp:[::1]:51304 65 bytes
omniORB: (11) 2026-01-26 19:19:42.851000: sendChunk: to giop:tcp:[::1]:51304 25 bytes
omniORB: (10) 2026-01-26 19:19:42.851000: inputMessage: from giop:tcp:[::1]:51302 65 bytes
omniORB: (? 14028) 2026-01-26 19:19:42.851000: inputMessage: from giop:tcp:[::1]:12345 25 bytes
omniORB: (12) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 12 has started. Total threads = 8.
omniORB: (12) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 12 assigned to server tasks. Total server threads = 5.
omniORB: (12) 2026-01-26 19:19:42.851000: AsyncInvoker: thread id 12 performing immediate server task.
omniORB: (12) 2026-01-26 19:19:42.851000: giopWorker task execute.
omniORB: (12) 2026-01-26 19:19:42.851000: Accepted connection from giop:tcp:[::1]:51305 because of this rule: "* unix,ssl,tcp"
omniORB: (9) 2026-01-26 19:19:42.851000: inputMessage: from giop:tcp:[::1]:51303 63 bytes
omniORB: (? 14028) 2026-01-26 19:19:42.851000: Creating ref to remote: key<foo4>
target id : IDL:Echo:1.0
most derived id:
omniORB: (10) 2026-01-26 19:19:42.851000: sendChunk: to giop:tcp:[::1]:51302 25 bytes
omniORB: (12) 2026-01-26 19:19:42.851000: inputMessage: from giop:tcp:[::1]:51305 65 bytes
omniORB: (? 14444) 2026-01-26 19:19:42.851000: inputMessage: from giop:tcp:[::1]:12345 25 bytes
omniORB: (? 14028) 2026-01-26 19:19:42.851000: sendChunk: to giop:tcp:[::1]:12345 63 bytes
omniORB: (12) 2026-01-26 19:19:42.851000: sendChunk: to giop:tcp:[::1]:51305 25 bytes
omniORB: (? 14444) 2026-01-26 19:19:42.851000: Creating ref to remote: key<foo1>
target id : IDL:Echo:1.0
most derived id:
omniORB: (? 14444) 2026-01-26 19:19:42.851000: sendChunk: to giop:tcp:[::1]:12345 63 bytes
omniORB: (? 14608) 2026-01-26 19:19:42.851000: inputMessage: from giop:tcp:[::1]:12345 25 bytes
omniORB: (? 14608) 2026-01-26 19:19:42.851000: Creating ref to remote: key<foo2>
target id : IDL:Echo:1.0
most derived id:
omniORB: (? 14608) 2026-01-26 19:19:42.851000: sendChunk: to giop:tcp:[::1]:12345 63 bytes
omniORB: (11) 2026-01-26 19:19:42.851000: inputMessage: from giop:tcp:[::1]:51304 63 bytes
omniORB: (10) 2026-01-26 19:19:42.851000: inputMessage: from giop:tcp:[::1]:51302 63 bytes
omniORB: (12) 2026-01-26 19:19:42.851000: inputMessage: from giop:tcp:[::1]:51305 63 bytes
omniORB: (8) 2026-01-26 19:19:42.960000: sendChunk: to giop:tcp:[::1]:51301 35 bytes
omniORB: (? 8092) 2026-01-26 19:19:42.960000: inputMessage: from giop:tcp:[::1]:12345 35 bytes
I said, "Hello!".
The Echo object replied, "Hello!".
omniORB: (? 8092) 2026-01-26 19:19:42.960000: ObjRef() -- deleted.
omniORB: (? 8092) 2026-01-26 19:19:42.960000: omniRemoteIdentity deleted.
omniORB: (? 8092) 2026-01-26 19:19:42.960000: ObjRef() -- deleted.
omniORB: (10) 2026-01-26 19:19:42.975000: sendChunk: to giop:tcp:[::1]:51302 35 bytes
omniORB: (9) 2026-01-26 19:19:42.975000: sendChunk: to giop:tcp:[::1]:51303 35 bytes
omniORB: (12) 2026-01-26 19:19:42.975000: sendChunk: to giop:tcp:[::1]:51305 35 bytes
omniORB: (11) 2026-01-26 19:19:42.975000: sendChunk: to giop:tcp:[::1]:51304 35 bytes
omniORB: (? 14444) 2026-01-26 19:19:42.975000: inputMessage: from giop:tcp:[::1]:12345 35 bytes
I said, "Hello!".
The Echo object replied, "Hello!".
omniORB: (? 15904) 2026-01-26 19:19:42.975000: inputMessage: from giop:tcp:[::1]:12345 35 bytes
I said, "Hello!".
The Echo object replied, "Hello!".
omniORB: (? 14608) 2026-01-26 19:19:42.975000: inputMessage: from giop:tcp:[::1]:12345 35 bytes
I said, "Hello!".
The Echo object replied, "Hello!".
omniORB: (? 14028) 2026-01-26 19:19:42.975000: inputMessage: from giop:tcp:[::1]:12345 35 bytes
I said, "Hello!".
The Echo object replied, "Hello!".
omniORB: (? 14444) 2026-01-26 19:19:42.975000: ObjRef() -- deleted.
omniORB: (? 14444) 2026-01-26 19:19:42.975000: omniRemoteIdentity deleted.
omniORB: (? 14444) 2026-01-26 19:19:42.975000: ObjRef() -- deleted.
omniORB: (? 14028) 2026-01-26 19:19:42.975000: ObjRef() -- deleted.
omniORB: (? 14028) 2026-01-26 19:19:42.975000: omniRemoteIdentity deleted.
omniORB: (? 14028) 2026-01-26 19:19:42.975000: ObjRef() -- deleted.
omniORB: (? 15904) 2026-01-26 19:19:42.975000: ObjRef() -- deleted.
omniORB: (? 15904) 2026-01-26 19:19:42.975000: omniRemoteIdentity deleted.
omniORB: (? 15904) 2026-01-26 19:19:42.975000: ObjRef() -- deleted.
omniORB: (? 14608) 2026-01-26 19:19:42.975000: ObjRef() -- deleted.
omniORB: (? 14608) 2026-01-26 19:19:42.975000: omniRemoteIdentity deleted.
omniORB: (? 14608) 2026-01-26 19:19:42.975000: ObjRef() -- deleted.
omniORB: (0) 2026-01-26 19:19:42.975000: Preparing to shutdown ORB.
omniORB: (0) 2026-01-26 19:19:42.975000: Destroying POA(RootPOA).
omniORB: (0) 2026-01-26 19:19:42.975000: Destroying POA(omniINSPOA).
omniORB: (0) 2026-01-26 19:19:42.975000: Deactivating all POA(omniINSPOA)'s objects.
omniORB: (0) 2026-01-26 19:19:42.975000: State key<foo4> (active) -> deactivating (OA destruction)
omniORB: (0) 2026-01-26 19:19:42.975000: State key<foo3> (active) -> deactivating (OA destruction)
omniORB: (0) 2026-01-26 19:19:42.975000: State key<foo2> (active) -> deactivating (OA destruction)
omniORB: (0) 2026-01-26 19:19:42.975000: State key<foo1> (active) -> deactivating (OA destruction)
omniORB: (0) 2026-01-26 19:19:42.975000: State key<foo0> (active) -> deactivating (OA destruction)
omniORB: (0) 2026-01-26 19:19:42.975000: Waiting for requests to complete on POA(omniINSPOA).
omniORB: (0) 2026-01-26 19:19:42.975000: Requests on POA(omniINSPOA) completed.
omniORB: (0) 2026-01-26 19:19:42.975000: State key<foo4> (deactivating OA) -> etherealising
omniORB: (0) 2026-01-26 19:19:42.975000: State key<foo3> (deactivating OA) -> etherealising
omniORB: (0) 2026-01-26 19:19:42.975000: State key<foo2> (deactivating OA) -> etherealising
omniORB: (0) 2026-01-26 19:19:42.975000: State key<foo1> (deactivating OA) -> etherealising
omniORB: (0) 2026-01-26 19:19:42.975000: State key<foo0> (deactivating OA) -> etherealising
omniORB: (0) 2026-01-26 19:19:42.975000: Etherealising POA(omniINSPOA)'s objects.
omniORB: (0) 2026-01-26 19:19:42.975000: Removing key<foo4> (etherealising) from object table
omniORB: (0) 2026-01-26 19:19:42.975000: Object table entry key<foo4> (dead) deleted.
omniORB: (0) 2026-01-26 19:19:42.975000: ServantBase has zero ref count -- deleted.
omniORB: (0) 2026-01-26 19:19:42.975000: Removing key<foo3> (etherealising) from object table
omniORB: (0) 2026-01-26 19:19:42.975000: Object table entry key<foo3> (dead) deleted.
omniORB: (0) 2026-01-26 19:19:42.975000: ServantBase has zero ref count -- deleted.
omniORB: (0) 2026-01-26 19:19:42.975000: Removing key<foo2> (etherealising) from object table
omniORB: (0) 2026-01-26 19:19:42.975000: Object table entry key<foo2> (dead) deleted.
omniORB: (0) 2026-01-26 19:19:42.975000: ServantBase has zero ref count -- deleted.
omniORB: (0) 2026-01-26 19:19:42.975000: Removing key<foo1> (etherealising) from object table
omniORB: (0) 2026-01-26 19:19:42.975000: Object table entry key<foo1> (dead) deleted.
omniORB: (0) 2026-01-26 19:19:42.975000: ServantBase has zero ref count -- deleted.
omniORB: (0) 2026-01-26 19:19:42.975000: Removing key<foo0> (etherealising) from object table
omniORB: (0) 2026-01-26 19:19:42.975000: Object table entry key<foo0> (dead) deleted.
omniORB: (0) 2026-01-26 19:19:42.975000: ServantBase has zero ref count -- deleted.
omniORB: (0) 2026-01-26 19:19:42.975000: Wait for 0 detached objects.
omniORB: (0) 2026-01-26 19:19:42.975000: Destruction of POA(omniINSPOA) complete.
omniORB: (0) 2026-01-26 19:19:42.975000: Deactivating all POA(RootPOA)'s objects.
omniORB: (0) 2026-01-26 19:19:42.975000: Waiting for requests to complete on POA(RootPOA).
omniORB: (0) 2026-01-26 19:19:42.975000: Requests on POA(RootPOA) completed.
omniORB: (0) 2026-01-26 19:19:42.975000: Etherealising POA(RootPOA)'s objects.
omniORB: (0) 2026-01-26 19:19:42.975000: Wait for 0 detached objects.
omniORB: (0) 2026-01-26 19:19:42.975000: All object adapters inactive. Stopping serving incoming endpoints.
omniORB: (0) 2026-01-26 19:19:42.975000: giopServer deactivate...
omniORB: (0) 2026-01-26 19:19:42.975000: Close connections with threads and monitors...
omniORB: (9) 2026-01-26 19:19:42.975000: XXX(tri): Closing socket...
omniORB: (8) 2026-01-26 19:19:42.975000: XXX(tri): Closing socket...
omniORB: (11) 2026-01-26 19:19:42.975000: XXX(tri): Closing socket...
omniORB: (11) 2026-01-26 19:19:42.975000: Error in network receive (start of message): giop:tcp:[::1]:51304
omniORB: (0) 2026-01-26 19:19:42.975000: Closed 5 connections out of 5.
omniORB: (0) 2026-01-26 19:19:42.975000: Wait for 5 dedicated threads to finish...
omniORB: (9) 2026-01-26 19:19:42.975000: Error in network receive (start of message): giop:tcp:[::1]:51303
omniORB: (9) 2026-01-26 19:19:42.975000: throw giopStream::CommFailure from giopStream.cc:857(0,NO,COMM_FAILURE_UnMarshalArguments)
omniORB: (8) 2026-01-26 19:19:42.975000: Error in network receive (start of message): giop:tcp:[::1]:51301
omniORB: (9) 2026-01-26 19:19:42.975000: Server connection giop:tcp:[::1]:51303 refcount = 1
omniORB: (9) 2026-01-26 19:19:42.975000: removeConnectionAndWorker for dedicated worker. 4 remaining.
omniORB: (9) 2026-01-26 19:19:42.975000: Server connection giop:tcp:[::1]:51303 refcount = 0
omniORB: (9) 2026-01-26 19:19:42.975000: Server close connection from giop:tcp:[::1]:51303
omniORB: (9) 2026-01-26 19:19:42.975000: AsyncInvoker: thread id 9 finished immediate server task.
omniORB: (10) 2026-01-26 19:19:42.975000: XXX(tri): Closing socket...
omniORB: (10) 2026-01-26 19:19:42.975000: Error in network receive (start of message): giop:tcp:[::1]:51302
omniORB: (10) 2026-01-26 19:19:42.975000: throw giopStream::CommFailure from giopStream.cc:857(0,NO,COMM_FAILURE_UnMarshalArguments)
omniORB: (12) 2026-01-26 19:19:42.975000: XXX(tri): Closing socket...
omniORB: (12) 2026-01-26 19:19:42.975000: Error in network receive (start of message): giop:tcp:[::1]:51305
omniORB: (12) 2026-01-26 19:19:42.975000: throw giopStream::CommFailure from giopStream.cc:857(0,NO,COMM_FAILURE_UnMarshalArguments)
omniORB: (1) 2026-01-26 19:19:42.975000: select() returned WSAENOTSOCK / WSAEINVAL.
omniORB: (10) 2026-01-26 19:19:42.975000: Server connection giop:tcp:[::1]:51302 refcount = 1
omniORB: (10) 2026-01-26 19:19:42.975000: removeConnectionAndWorker for dedicated worker. 3 remaining.
omniORB: (11) 2026-01-26 19:19:42.975000: throw giopStream::CommFailure from giopStream.cc:857(0,NO,COMM_FAILURE_UnMarshalArguments)
omniORB: (8) 2026-01-26 19:19:42.975000: throw giopStream::CommFailure from giopStream.cc:857(0,NO,COMM_FAILURE_UnMarshalArguments)
omniORB: (12) 2026-01-26 19:19:42.975000: Server connection giop:tcp:[::1]:51305 refcount = 1
omniORB: (12) 2026-01-26 19:19:42.975000: removeConnectionAndWorker for dedicated worker. 2 remaining.
omniORB: (10) 2026-01-26 19:19:42.975000: Server connection giop:tcp:[::1]:51302 refcount = 0
omniORB: (10) 2026-01-26 19:19:42.975000: Server close connection from giop:tcp:[::1]:51302
omniORB: (10) 2026-01-26 19:19:42.975000: AsyncInvoker: thread id 10 finished immediate server task.
omniORB: (11) 2026-01-26 19:19:42.975000: Server connection giop:tcp:[::1]:51304 refcount = 1
omniORB: (11) 2026-01-26 19:19:42.975000: removeConnectionAndWorker for dedicated worker. 1 remaining.
omniORB: (8) 2026-01-26 19:19:42.975000: Server connection giop:tcp:[::1]:51301 refcount = 1
omniORB: (8) 2026-01-26 19:19:42.975000: removeConnectionAndWorker for dedicated worker. 0 remaining.
omniORB: (12) 2026-01-26 19:19:42.975000: Server connection giop:tcp:[::1]:51305 refcount = 0
omniORB: (12) 2026-01-26 19:19:42.975000: Server close connection from giop:tcp:[::1]:51305
omniORB: (0) 2026-01-26 19:19:42.975000: 0 connections and 0 dedicated workers remaining.
omniORB: (0) 2026-01-26 19:19:42.975000: Terminate rendezvousers...
omniORB: (0) 2026-01-26 19:19:42.975000: giopRendezvouser for giop:tcp:10.0.2.15:12345 terminate...
omniORB: (12) 2026-01-26 19:19:42.975000: AsyncInvoker: thread id 12 finished immediate server task.
omniORB: (11) 2026-01-26 19:19:42.975000: Server connection giop:tcp:[::1]:51304 refcount = 0
omniORB: (11) 2026-01-26 19:19:42.975000: Server close connection from giop:tcp:[::1]:51304
omniORB: (11) 2026-01-26 19:19:42.975000: AsyncInvoker: thread id 11 finished immediate server task.
omniORB: (8) 2026-01-26 19:19:42.975000: Server connection giop:tcp:[::1]:51301 refcount = 0
omniORB: (0) 2026-01-26 19:19:42.975000: giopRendezvouser for giop:tcp:10.0.2.15:12345 terminate...
omniORB: (8) 2026-01-26 19:19:42.975000: Server close connection from giop:tcp:[::1]:51301
omniORB: (8) 2026-01-26 19:19:42.975000: AsyncInvoker: thread id 8 finished immediate server task.
omniORB: (1) 2026-01-26 19:19:42.975000: giopServer terminate connection from giop:tcp:[::ffff:10.0.2.15]:51306.
omniORB: (1) 2026-01-26 19:19:42.975000: giopRendezvouser for endpoint giop:tcp:10.0.2.15:12345 exit.
omniORB: (1) 2026-01-26 19:19:42.975000: AsyncInvoker: thread id 1 finished immediate general task.
omniORB: (2) 2026-01-26 19:19:43.038000: giopRendezvouser for endpoint giop:tcp:10.0.2.15:12345 exit.
omniORB: (2) 2026-01-26 19:19:43.038000: No remaining rendezvousers.
omniORB: (2) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 2 finished immediate general task.
omniORB: (0) 2026-01-26 19:19:43.038000: Rendezvousers terminated.
omniORB: (0) 2026-01-26 19:19:43.038000: giopServer deactivated.
omniORB: (0) 2026-01-26 19:19:43.038000: Destruction of POA(RootPOA) complete.
omniORB: (0) 2026-01-26 19:19:43.038000: Shutting-down all incoming endpoints.
omniORB: (0) 2026-01-26 19:19:43.038000: TCP endpoint shut down.
omniORB: (0) 2026-01-26 19:19:43.038000: TCP endpoint shut down.
omniORB: (0) 2026-01-26 19:19:43.038000: 0 object references present at ORB shutdown.
omniORB: (0) 2026-01-26 19:19:43.038000: ORB shutdown is complete.
omniORB: (0) 2026-01-26 19:19:43.038000: Shut down AsyncInvoker...
omniORB: (0) 2026-01-26 19:19:43.038000: Shut down dedicated thread queue.
omniORB: (0) 2026-01-26 19:19:43.038000: AsyncInvoker shut down.
omniORB: (0) 2026-01-26 19:19:43.038000: Destroy ORB...
omniORB: (0) 2026-01-26 19:19:43.038000: Terminate strand scavenger.
omniORB: (0) 2026-01-26 19:19:43.038000: Close remaining strands.
omniORB: (0) 2026-01-26 19:19:43.038000: Shutdown close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 19:19:43.038000: Client connection giop:tcp:[::1]:12345 refcount (forced) = 0
omniORB: (0) 2026-01-26 19:19:43.038000: Client close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 19:19:43.038000: Shutdown close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 19:19:43.038000: Client connection giop:tcp:[::1]:12345 refcount (forced) = 0
omniORB: (0) 2026-01-26 19:19:43.038000: Client close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 19:19:43.038000: Shutdown close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 19:19:43.038000: Client connection giop:tcp:[::1]:12345 refcount (forced) = 0
omniORB: (0) 2026-01-26 19:19:43.038000: Client close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 19:19:43.038000: Shutdown close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 19:19:43.038000: Client connection giop:tcp:[::1]:12345 refcount (forced) = 0
omniORB: (0) 2026-01-26 19:19:43.038000: Client close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 19:19:43.038000: Shutdown close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 19:19:43.038000: Client connection giop:tcp:[::1]:12345 refcount (forced) = 0
omniORB: (0) 2026-01-26 19:19:43.038000: Client close connection to giop:tcp:[::1]:12345
omniORB: (0) 2026-01-26 19:19:43.038000: 0 remaining bidir ropes deleted.
omniORB: (0) 2026-01-26 19:19:43.038000: 1 remaining rope deleted.
omniORB: (0) 2026-01-26 19:19:43.038000: Clear endPoint options.
omniORB: (7) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 7 finished immediate general task.
omniORB: (7) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 7 released from general tasks. Total general threads = 2.
omniORB: (0) 2026-01-26 19:19:43.038000: Wait for 8 invoker threads to finish.
omniORB: (12) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 12 released from server tasks. Total server threads = 4.
omniORB: (10) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 10 released from server tasks. Total server threads = 2.
omniORB: (9) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 9 released from server tasks. Total server threads = 0.
omniORB: (2) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 2 released from general tasks. Total general threads = 0.
omniORB: (2) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 2 has exited. Total threads = 3.
omniORB: (8) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 8 released from server tasks. Total server threads = 1.
omniORB: (8) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 8 has exited. Total threads = 2.
omniORB: (7) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 7 has exited. Total threads = 7.
omniORB: (1) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 1 released from general tasks. Total general threads = 1.
omniORB: (9) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 9 has exited. Total threads = 4.
omniORB: (12) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 12 has exited. Total threads = 6.
omniORB: (11) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 11 released from server tasks. Total server threads = 3.
omniORB: (11) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 11 has exited. Total threads = 0.
omniORB: (1) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 1 has exited. Total threads = 1.
omniORB: (10) 2026-01-26 19:19:43.038000: AsyncInvoker: thread id 10 has exited. Total threads = 5.
omniORB: (0) 2026-01-26 19:19:43.038000: Invoker threads finished.
omniORB: (0) 2026-01-26 19:19:43.038000: AsyncInvoker: deleted.
omniORB: (0) 2026-01-26 19:19:43.038000: ORB destroyed.
omniORB: (0) 2026-01-26 19:19:43.038000: Configuration file "C:\OMNIORB.CFG" either does not exist or is not a file. No settings read.
omniORB: (0) 2026-01-26 19:19:43.038000: Version: 4.3.4
omniORB: (0) 2026-01-26 19:19:43.038000: Distribution date: Mon 5 Jan 11:45:42 GMT 2026
omniORB: (0) 2026-01-26 19:19:43.038000: Maximum supported GIOP version is 1.2
omniORB: (0) 2026-01-26 19:19:43.038000: Native char code sets: UTF-8 ISO-8859-1.
omniORB: (0) 2026-01-26 19:19:43.038000: Transmission char code sets: UTF-8(1.2) UTF-8(1.1) ISO-8859-1(1.2) ISO-8859-1(1.1) ISO-8859-1(1.0).
omniORB: (0) 2026-01-26 19:19:43.038000: Native wide char code sets: UTF-16.
omniORB: (0) 2026-01-26 19:19:43.038000: Transmission wide char code sets: UTF-16(1.2).
omniORB: (0) 2026-01-26 19:19:43.038000: Information: the omniDynamic library is not linked.
omniORB: (0) 2026-01-26 19:19:43.038000: Current configuration is as follows:
omniORB: DefaultInitRef (file) =
omniORB: DefaultInitRef (args) =
omniORB: abortOnInternalError = 0
omniORB: abortOnNativeException = 0
omniORB: acceptBiDirectionalGIOP = 0
omniORB: acceptMisalignedTcIndirections = 0
omniORB: bootstrapAgentHostname =
omniORB: bootstrapAgentPort = 900
omniORB: clientCallTimeOutPeriod = 0
omniORB: clientConnectTimeOutPeriod = 0
omniORB: clientTransportRule = * unix,ssl,tcp
omniORB: configFile = C:\OMNIORB.CFG
omniORB: connectionWatchImmediate = 0
omniORB: connectionWatchPeriod = 50000
omniORB: copyValuesInLocalCalls = 1
omniORB: defaultCharCodeSet = nil
omniORB: defaultWCharCodeSet = nil
omniORB: diiThrowsSysExceptions = 0
omniORB: dumpConfiguration = 0
omniORB: endPoint = giop:tcp::12345
omniORB: endPointPublish = addr
omniORB: exceptionIdInAny = 1
omniORB: giopBufferSize = 8192
omniORB: giopDirectReceiveCutOff = 1024
omniORB: giopDirectSendCutOff = 16384
omniORB: giopMaxMsgSize = 2097152
omniORB: giopMinChunkBeforeDirectSend = 1024
omniORB: giopTargetAddressMode = KeyAddr
omniORB: id = omniORB4
omniORB: idleThreadTimeout = 10
omniORB: immediateAddressSwitch = 0
omniORB: inConScanPeriod = 180
omniORB: lcdMode = 0
omniORB: listenBacklog = 2147483647
omniORB: maxClientThreadPoolSize = 100
omniORB: maxGIOPConnectionPerServer = 5
omniORB: maxGIOPVersion = 1.2
omniORB: maxInterleavedCallsPerConnection = 5
omniORB: maxServerThreadPerConnection = 100
omniORB: maxServerThreadPoolSize = 100
omniORB: maxSocketRecv = 131072
omniORB: maxSocketSend = 131072
omniORB: nativeCharCodeSet = ISO-8859-1
omniORB: nativeWCharCodeSet = UTF-16
omniORB: objectTableSize = 0
omniORB: offerBiDirectionalGIOP = 0
omniORB: oneCallPerConnection = 1
omniORB: outConScanPeriod = 120
omniORB: poaHoldRequestTimeout = 0
omniORB: poaUniquePersistentSystemIds = 1
omniORB: principal = [Null]
omniORB: resetTimeOutOnRetries = 0
omniORB: resolveNamesForTransportRules = 1
omniORB: retainAddressOrder = 0
omniORB: scanGranularity = 5
omniORB: serverCallTimeOutPeriod = 0
omniORB: serverTransportRule = * unix,ssl,tcp
omniORB: socketSendBuffer = 16384
omniORB: strictIIOP = 1
omniORB: supportBootstrapAgent = 0
omniORB: supportCurrent = 1
omniORB: supportPerThreadTimeOut = 0
omniORB: tcAliasExpand = 0
omniORB: threadPerConnectionLowerLimit = 9000
omniORB: threadPerConnectionPolicy = 1
omniORB: threadPerConnectionUpperLimit = 10000
omniORB: threadPoolWatchConnection = 1
omniORB: throwTransientOnTimeOut = 0
omniORB: traceExceptions = 1
omniORB: traceFile = [stderr]
omniORB: traceInvocationReturns = 0
omniORB: traceInvocations = 0
omniORB: traceLevel = 25
omniORB: traceLocking = 0
omniORB: traceThreadId = 1
omniORB: traceTime = 1
omniORB: unixTransportDirectory = /tmp/omni-%u
omniORB: unixTransportPermission = 777
omniORB: useTypeCodeIndirections = 1
omniORB: validateUTF8 = 0
omniORB: verifyObjectExistsAndType = 1
omniORB: (0) 2026-01-26 19:19:43.038000: Initialising incoming endpoints.
omniORB: (0) 2026-01-26 19:19:43.038000: Instantiate endpoint 'giop:tcp::12345'
omniORB: (0) 2026-01-26 19:19:43.038000: Attempt to set socket to listen on IPv4 and IPv6.
omniORB: (0) 2026-01-26 19:19:43.038000: Bind to address :: port 12345.
omniORB: (0) 2026-01-26 19:19:43.038000: Publish specification: 'addr'
omniORB: (0) 2026-01-26 19:19:43.038000: Try to publish 'addr' for endpoint giop:tcp:10.0.2.15:12345
omniORB: (0) 2026-01-26 19:19:43.038000: Publish endpoint 'giop:tcp:10.0.2.15:12345'
omniORB: (0) 2026-01-26 19:19:43.038000: Starting serving incoming endpoints.
omniORB: (0) 2026-01-26 19:19:43.038000: No more references to the ORB -- deleted.
-------------- next part --------------
diff --git a/include/omniORB4/internal/SocketCollection.h b/include/omniORB4/internal/SocketCollection.h
index 233eb6b..6dbd16e 100644
--- a/include/omniORB4/internal/SocketCollection.h
+++ b/include/omniORB4/internal/SocketCollection.h
@@ -105,6 +105,11 @@ public:
}
}
+ inline void
+ close()
+ {
+ CLOSESOCKET(pd_socket);
+ }
friend class SocketCollection;
diff --git a/include/omnithread.h b/include/omnithread.h
index 5a383f3..68ea339 100644
--- a/include/omnithread.h
+++ b/include/omnithread.h
@@ -50,7 +50,7 @@ class omni_thread;
//
#ifndef OMNI_THREAD_EXPOSE
-# define OMNI_THREAD_EXPOSE private
+# define OMNI_THREAD_EXPOSE public
#endif
//
diff --git a/src/lib/omniORB/orbcore/giopServer.cc b/src/lib/omniORB/orbcore/giopServer.cc
index 6c2070e..78a25c9 100644
--- a/src/lib/omniORB/orbcore/giopServer.cc
+++ b/src/lib/omniORB/orbcore/giopServer.cc
@@ -497,6 +497,26 @@ giopServer::deactivate()
sendCloseConnection((*head)->strand);
(*head)->connection->Shutdown();
+
+#ifdef _WIN32
+ // TODO: What about other workers?
+ // We probably need to synchronising somehow, e.g. we need
+ // to wait for all threads to be in the APC before we call close.
+ auto *worker = (giopWorker *)((*head)->workers.next);
+ if (!worker) continue;
+ omni_thread *thread = worker->selfThread();
+ HANDLE handle = thread->handle;
+ QueueUserAPC(+[](ULONG_PTR in){
+ auto *connection = (giopConnection *)in;
+ auto *socket_holder = dynamic_cast<SocketHolder *>(conn);
+ if (socket_holder)
+ {
+ omniORB::logs(1, "XXX(tri): Closing socket...");
+ socket_holder->close();
+ }
+ }, handle, (ULONG_PTR)(*head)->connection);
+#endif
+
++closed_count;
}
head = &((*head)->next);
More information about the omniORB-list
mailing list