[PolyORB-users] Crash with naming_ior

Jerome Hugues hugues at infres.enst.fr
Wed Jan 12 18:03:25 CET 2005


Wright, Simon J (simon.j.wright at amsjv.com):

> According to the trace, references.ior hasn't been initialized, presumably
> because of the (elaboration-driven?) order in which modules are added to be
> initialized?

In fact, in depends on the order in which they are added, and on the
dependences that are specified when registering each module, see the
specifications of the PolyORB.Initialization package for more details.

> SAMPLE FIX/WORKAROUND:
> 
> Insert pragma Elaborate at the appropriate places in CORBA.ORB:
> 
> with PolyORB.References.IOR;
> pragma Elaborate (PolyORB.References.IOR);
> with PolyORB.References.Corbaloc;
> pragma Elaborate (PolyORB.References.Corbaloc);

This bug has been corrected in PolyORB's wavefront, see

http://libre.adacore.com/cvsweb/polyorb/src/corba/polyorb-corba_p-initial_references.adb

Best regards.

Jerome


More information about the PolyORB-users mailing list