[omniORB] Intermittent assertion during ORB thread creation
Mike Cunha
Cunha at Assurtech.com
Tue Sep 5 15:00:05 BST 2017
Duncan,
We were not able to run with trace level set to 25; it severely slowed down our system. We ran at trace level 5, but it didn't provide any useful information. We added some additional checks and logs in a patch file to the omniOrb build (attached). With this patch applied, the error is less frequent, but we were still able to reproduce it. It now fails at giopServer.cc line 993; the new check fails for orbAsyncInvoker->insert(task) less than 1. We don't see any other log messages, which we thought we covered for all cases where this call could return 0.
Mike Cunha
-----Original Message-----
From: Duncan Grisby [mailto:duncan at grisby.org]
Sent: Monday, August 21, 2017 11:20 AM
To: Mike Cunha; omniorb-list at omniorb-support.com
Subject: Re: [omniORB] Intermittent assertion during ORB thread creation
On Wed, 2017-08-16 at 10:31 -0400, Mike Cunha via omniORB-list wrote:
> Intermittently, I will get an omniORB assertion failure during ORB
> thread creation. It is not specific to one address space on my system.
>
> Here is the error message:
> omniORB: (1): Assertion failed. This indicates a bug in the
> application using omniORB, or maybe in omniORB itself.
> file: giopServer.cc
> line: 986
> info: 0
That means it unexpectedly failed to handle a readable connection. As the comment in the code says, it "should never happen". If it can't start a thread at that stage, it should queue the request.
Can you run with -ORBtraceLevel 25 and reproduce the issue?
What kind of system is this? Does it have a very limited amount of memory? Is it 32 or 64 bit?
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debug-msgs.patch
Type: application/octet-stream
Size: 3135 bytes
Desc: not available
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20170905/410d71bb/attachment.obj>
More information about the omniORB-list
mailing list