[omniORB] Linux threads problem

James Cowan J.Cowan@cs.ucl.ac.uk
Wed, 27 Jan 1999 12:40:11 -0000


Hi

I am having problems getting omniOrb working under Linux
Programs core dump with segmentation violation errors in
pthread_mutex_lock - see gdb output when running omniNames below.

I guess that I have version mismatch. I have tried using
both i586_linux_2.0_glibc and i586_linux_2.0 with no success.

I am running Redhat 5 release 2.0.32, glibc development
package glibc-devel-2.0.5c-10 and gcc version 2.7.2.3.

Any help appreciated.

James Cowan


GDB is free software and you are welcome to 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.
GDB 4.16 (i386-redhat-linux), Copyright 1996 Free Software Foundation, Inc...
(no debugging symbols found)...
(gdb) run
Starting program: /home/jcowan/omniORB_2.6.1/bin/i586_linux_2.0_glibc/omniNames 
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x401d342c in __pthread_mutex_lock () at mutex.c:112
(gdb) where
#0  0x401d342c in __pthread_mutex_lock () at mutex.c:112
#1  0x401d49ac in __fresetlockfiles () at lockfile.c:87
#2  0x402ac7b3 in _IO_fread (buf=0xbffff5f4, size=44, count=1, fp=0x80665a8)
    at iofread.c:44
#3  0x402caace in __tzfile_compute (timer=1076886616, 
    use_localtime=1076909916, leap_correct=0x4030439c, leap_hit=0xbffff6c4)
    at tzfile.c:283
#4  0x402c9a63 in tzset_internal () at tzset.c:197
#5  0x402ca7ec in __tz_convert () at tzset.c:561
#6  0x402c72b2 in localtime () at localtime.c:49
#7  0x402c7189 in ctime (t=0xbffff6c4) at ctime.c:33
#8  0x805b302 in timestamp::t ()
#9  0x805744c in log::log ()
#10 0x804d7e0 in main ()
(gdb) quit
The program is running.  Quit anyway (and kill it)? (y or n) Please answer y or n.