[omniORB] OO 4.0.3 : problem on RedHat 9, same code working on 7.3

Thomas Baron thomas.baron at dassault-aviation.fr
Thu May 27 11:34:43 BST 2004


Hi

A little test of mine have a problem with OO 4.0.3, on RedHat 9 with gcc
3.2.2 (used for both OO and my test).
The same code worked on RedHat 7.3 with gcc 2.96 (used for both OO and
my test).

I'm trying to initialise an object with a fixed endpoint.
I know this endpoint is not available (another object initialised on
it). So I'm expecting an exception (which is raised
on RH 7.3 and which is perfectly usable).
This exception on RH 9.0 is not raised : the program abort (SIGABRT).

Here's gdb trace :

(gdb) where
#0  0xffffe002 in ?? ()
#1  0x42028c55 in abort () from /lib/tls/libc.so.6
#2  0x403f9b87 in __cxxabiv1::__terminate(void (*)())
(handler=0x42028a80 <abort>) at
../../../../srcdir/libstdc++-v3/libsupc++/eh_terminate.cc:47
#3  0x403f9bd4 in std::terminate() () at
../../../../srcdir/libstdc++-v3/libsupc++/eh_terminate.cc:57
#4  0x403f9d56 in __cxa_throw (obj=0x80650b8, tinfo=0x0, dest=0) at
../../../../srcdir/libstdc++-v3/libsupc++/eh_throw.cc:77
#5  0x4009745f in omni::omniExHelper::INITIALIZE(char const*, int,
unsigned long, CORBA::CompletionStatus) ()
   from
/tmp_users/scdtnbh/install/omniORB-4.0.3-Linux-9.0-gcc-3.2.2/lib/libomniORB4.so.0

#6  0x400a9e15 in omni::omniObjAdapter::initialise() () from
/tmp_users/scdtnbh/install/omniORB-4.0.3-Linux-9.0-gcc-3.2.2/lib/libomniORB4.so.0

#7  0x400c4de8 in initialise_poa() () from
/tmp_users/scdtnbh/install/omniORB-4.0.3-Linux-9.0-gcc-3.2.2/lib/libomniORB4.so.0

#8  0x400c4f51 in omni::omniOrbPOA::rootPOA(int) () from
/tmp_users/scdtnbh/install/omniORB-4.0.3-Linux-9.0-gcc-3.2.2/lib/libomniORB4.so.0

#9  0x400c8f66 in omni::resolveRootPOAFn() () from
/tmp_users/scdtnbh/install/omniORB-4.0.3-Linux-9.0-gcc-3.2.2/lib/libomniORB4.so.0

#10 0x4009ba24 in omni::resolvePseudo(char const*, unsigned) () from
/tmp_users/scdtnbh/install/omniORB-4.0.3-Linux-9.0-gcc-3.2.2/lib/libomniORB4.so.0

#11 0x4009ccb3 in omni::omniInitialReferences::resolve(char const*,
unsigned) ()
   from
/tmp_users/scdtnbh/install/omniORB-4.0.3-Linux-9.0-gcc-3.2.2/lib/libomniORB4.so.0

#12 0x40086222 in omniOrbORB::resolve_initial_references(char const*) ()

   from
/tmp_users/scdtnbh/install/omniORB-4.0.3-Linux-9.0-gcc-3.2.2/lib/libomniORB4.so.0

#13 0x0804ce17 in main (argc=1, argv=0xbfffe4a4) at GetPort.C:398
#14 0x42015704 in __libc_start_main () from /lib/tls/libc.so.6

The omni::omniObjAdapter::initialise() is trying to throw an exception
(CORBA::INITIALIZE) but the abort happens in
construction of this exception.

Here's the end of output with -ORBtraceLevel to 40 :

omniORB: Error: Unable to create an endpoint of this description:
giop:tcp::41803
omniORB: throw INITIALIZE from objectAdapter.cc:245
(NO,INITIALIZE_TransportError)

OO was build using new build system : ./configure --prefix=...
--disable-static && make && make install, just like on RH
7.3

Any idea, guys ?

Cheers,

Tom





More information about the omniORB-list mailing list