[omniORB] Pb with resolve of a non-existing object on mandriva 2007.1

Erwan ADAM erwan.adam at cea.fr
Mon Apr 30 13:16:14 BST 2007


Dear all,

Since I've gone on mandriva 2007.1 (gcc 4.1.2,
python 2.5), I've got a bug when trying to resolve
a non-existing object in naming service. The
most easy way to see that is to launch a naming
service in a terminal and use the example_echo_nsclt.py
in a second one ...


On naming service side :

[adam at is202803 2007.1 /export/home/adam/omniORB-4.0_HEAD]> omniNames 
-start 2350 -logdir /tmp/adam/toto

Mon Apr 30 12:14:16 2007:

Starting omniNames for the first time.
Wrote initial log file.
Read log file successfully.
Root context is 
IOR:010000002b00000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e300000010000000000000064000000010102000f0000003133322e3136362e3135302e383900002e0900000b0000004e616d6553657276696365000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100
Checkpointing Phase 1: Prepare.
Checkpointing Phase 2: Commit.
Checkpointing completed.
omniORB: To endpoint: giop:tcp:127.0.0.1:37220. Send GIOP 1.0 
MessageError because a protocol error has been detected. Connection is 
closed.


On client side :

[adam at is202803 2007.1 ...home/adam/omniORB-4.0_HEAD/echo]> 
./example_echo_nsclt.py -ORBInitRef NameService=corbaname::is202803:2350
omniORB: Assertion failed.  This indicates a bug in the application using
omniORB, or maybe in omniORB itself.
  file: ../../omniORBpy/modules/pyExceptions.cc
  line: 427
  info: PyClass_Check(excclass)
omniORB: To endpoint: giop:tcp:127.0.0.1:2350. Send GIOP 1.0 
MessageError because a protocol error has been detected. Connection is 
closed.
Traceback (most recent call last):
   File "./example_echo_nsclt.py", line 27, in <module>
     obj = rootContext.resolve(name)
   File 
"/export/home/adam/omniORB-4.0_HEAD/omni_install/lib/python2.5/site-packages/CosNaming_idl.py", 
line 236, in resolve
     return _omnipy.invoke(self, "resolve", 
_0_CosNaming.NamingContext._d_resolve, args)
omniORB.CORBA.COMM_FAILURE: CORBA.COMM_FAILURE(0x41540006, 
CORBA.COMPLETED_YES)



The tests have been done with omniORB-4.0_HEAD branch on CVS base.

Does someone have an idea ?

Best regards,


            E.A.


-- 
| Erwan ADAM     ; mailto:Erwan.Adam at cea.fr
| 01.69.08.97.80 ; http://erwan.adam.free.fr
| 06.68.81.44.79 ; fax : 01.69.08.10.87
| DEN/DM2S/SFME/LGLS, CEA Saclay, 91191 Gif/Yvette
--



More information about the omniORB-list mailing list