[omniORB] RE: 4.0.7: reference to servant becomming nil after some time

Igor Lautar Igor.Lautar at hermes-softlab.com
Fri Dec 7 16:03:11 GMT 2007


Hi,

This happened on Windows 2003 Server x64 with omniORB compiled with MS
CL 14.00.50727.42.

thx,
Igor

Igor Lautar wrote:
> Hi,
> 
> Is it possible that an existing reference (_narrowed to valid ITF)
> becomes nil? 
> 
> Either by changing network configuration (IPs etc.) or something
> else. Is it at all possible that this occurs, excluding omniORB bugs
> (is such a bug in 4.0.7?)?  
> 
> Our code is roughly the following (pseudo):
>  1) string_to_object
>  2) _narrow to itf
>  3) check nil
>  4) use
> 
> It once (only once) happened that after some time (observed after 2
> weeks of client uptime) of running, reference became nil. It couldn't
> be nil at the start as there is a check for it.  
> 
> It could also be some memory corruption (writing where we shouldn't).
> 
> Ideas/comments?
> 
> Regards,
> Igor



More information about the omniORB-list mailing list