Re: [Fresco-devel] client exit problems

Stefan Seefeld <[email protected]> Wed, 10 Sep 2003 14:43:46 -0400
Newsgroups gmane.comp.video.fresco.devel
Message-ID <[email protected]>
[email protected] wrote:

> any time i kill the client by pressing the [X]-button the client crashes with
> a assertion-error like:
> 
> omniORB: Assertion failed.  This indicates a bug in the application using
> omniORB, or maybe in omniORB itself. e.g. using the ORB after it has
> been shut down.
>  file: current.cc
>  line: 135
>  info: !pd_callDescriptor
> Killed
> 
> i don't know what this means...
> <klugscheiss>my "internal sense" called to me: "maybe here are still CORBA-CALL's active" ...</klugscheiss>
> but ... i'm new in CORBA... and don't really know what happens... ^^;;;;;

hey, what a wonderful occasion to get your hands dirty, isn't it ? :-)

I think your guess isn't that far off, though "it's a bit more complex
than that". The ORB has a couple of mechanisms to protect itself against
concurrent shutdown. Calls like POA destructions and ORB shutdowns are
usually (i.e. when called with the correct parameters) deferred such
that the ORB can make sure that nobody is executing the relevant code.

But other than that, yes, the error message definitely sounds like
a premature termination of the ORB. If you need any help in debugging
this, just ask.

> after trying killing a client over and over again:

> ...
> 
> sometimes this will crash the server... :-(

sounds like a bad side-effect of the above error.

Do we have a bug for these symptoms ? If not, would you
mind filing one ?

Regards,
		Stefan