Re: Sample code?



OK - my attempt at sample code is at:

http://www.expertron.co.za/justin/echo-test.tbz (7kB)

It was 'clean' until I changed to CORBA_ORB_resolve_initial_references 
to get the name service, now it leaks a name service reference... I 
don't know why, as I am definitely releasing it :-(

If you want to see those asserts (and perhaps get a dump yourself, 
seeing as I can't get it right), try run echo_server a couple of times ;-)

Thanks,
-justin

Michael Meeks wrote:
> Hi Justin,
> 
> On Mon, 2003-10-27 at 17:10, Justin Schoeman wrote:
> 
>>The abort is for the CORBA_Object_release of the name service object. 
>>Unfortunately, I have not yet figured out how to get the app to do a 
>>core dump for all the threads, so I do not know which thread is 
>>receiving the message...
> 
> 
> 	Well; if it's a size problem: ulimit -c unlimited may help; mostly a
> core dump is for all threads; you simply have to do: thread apply all
> backtrace to get all traces; and thread <N> to switch thread for
> debugging.
> 
> 	It'd be great to get a trace,
> 
> 	Thanks,
> 
> 		Michael.
> 




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