[omniORB] Seg fault on Linux/alpha

christophe pera Christophe.Pera@ens-lyon.fr
Wed Apr 16 12:20:03 2003


Hello !

We installed omniORB 4.0.1 on the following platform:
        CPU: Alpha (64 bits)
        OS:  Linux Debian
        Compilers: python 2.2 and g++ 2.95

The compilation is OK, but the echo example (eg1) ends in seg fault, 
even if the output is the one expected.
We tried a bt in gdb, but it is difficult to guess where the fault is.


Are the problems on alpha processors registered ? Where ?

this is gdb report :


g++ -g -o eg1 -O2 -Wall -Wno-unuse
d -fexceptions -L../../../lib -L../../../lib eg1.o
../../../stub/echoSK.o -lomniORB4 -lo
mnithread -lpthread
ecaron@veloce:~/DIET/omniORB-4.0.1/src/examples/echo$ g++ -g -o eg1 -O2
-Wall -Wno-unuse
d -fexceptions -L../../../lib -L../../../lib eg1.o
../../../stub/echoSK.o -lomniORB4 -lo
mnithread -lpthread
ecaron@veloce:~/DIET/omniORB-4.0.1/src/examples/echo$ gdb ./eg1
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "alpha-linux"...(no debugging symbols
found)...
(gdb) run
Starting program:
/0/home/ecaron/DIET/omniORB-4.0.1/src/examples/echo/eg1
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 1024 (LWP 10507)]
(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 2049 (LWP 10508)]
[New Thread 1026 (LWP 10509)]
I said, "Hello!".
The Echo object replied, "Hello!".

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 10507)]
0x200002ed85c in pthread_mutex_lock () from /lib/libpthread.so.0
(gdb) bt
#0  0x200002ed85c in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x200004c9108 in free () from /lib/libc.so.6.1
#2  0x20000363200 in __builtin_vec_delete () from
/usr/lib/libstdc++-libc6.2-2.so.3
#3  0x20000163fcc in omni::omni_ior_initialiser::detach ()
   from /home/ecaron/DIET/omniORB_bin_4.0.1/lib/libomniORB4.so.0
#4  0x20000121820 in omniOrbORB::destroy ()
   from /home/ecaron/DIET/omniORB_bin_4.0.1/lib/libomniORB4.so.0
#5  0x1200037e0 in main ()
#6  0x2000045a94c in __libc_start_main () from /lib/libc.so.6.1





-- 
--------------------------------------------------------------------- 
PERA Christophe
Ingenieur Expert
Projet CNRS--ENS Lyon--INRIA ReMaP
LIP, Ecole Normale Superieure de Lyon
46 Allee d'Italie,
69364 Lyon Cedex 07, France
E-Mail : Christophe.Pera@ens-lyon.fr 
[ Tel : 04.72.72.84.70 ][ Web page : http://www.ens-lyon.fr/~cpera ]
---------------------------------------------------------------------