Re: Sample code?



I am still using 2.7.6...

The asserts I mentioned a while ago:

** ERROR **: file giop-connection.c: line 69 (giop_connection_dispose): 
assertion failed: (cnx->incoming_msg == NULL)

These initially occured in multi-threaded CORBA servers, when they used 
CORBA client calls (in that specific case, name service (de)registration).

I have since noticed that they occur in multi-threaded applications too, 
when performing CORBA client calls.

The asserts are very timing sensitive, so sometimes the code works 
perfectly, and other times it bombs out...

Thanks,
-justin

Michael Meeks wrote:
> Hi Justin,
> 
> On Mon, 2003-10-27 at 11:02, Justin Schoeman wrote:
> 
>>The only reason I suggested this is that it would have made my life a 
>>_lot_ easier to have a simple example incorporating these various 
>>aspects when I started trying to write my application...
> 
> 
> 	Sounds fine.
> 
>>PS. The multi-threading issues are actually not as a result of 
>>multi-threading the servers... Using CORBA calls within a multi-threaded 
>>application can also trigger those asserts :-(
> 
> 
> 	What asserts are these ? and/or are you using HEAD ORBit2 ? - there is
> a fairly steady stream of fixes to HEAD wrt. threading issues. I'm
> currently working on the client re-enterancy policies eg.
> 
> 	Regards,
> 
> 		Michael.
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]