[omniORB] OmniORBPy Object References Problem

Viktor Kerkez viktor.kerkez at dmsgroup.co.yu
Tue Feb 26 17:46:33 GMT 2008


I have a CORBA server and a CORBA application which sets a callback 
object on the server (server has a SetCallback function). Callback has 
only one function - OnEvent. When something happens on the server it 
will call the OnEvent function with appropriate message.

Problem begins when the application shuts down. If the server tries to 
call OnEvent two things can happen:

1. If the servers calls OnEvent in the main thread it blocks forever. I 
tried to set all the corba timeouts but non of them works.

2. If I start a new thread for calling OnEvent function the server 
crashes without exception (segmentation).

Does anyone have any suggestion what should I try?

Thank You in advance,
Viktor Kerkez



More information about the omniORB-list mailing list