[omniORB] seg fault running omniORB_280pre1 applications
on Irix 64
James Riden
jamesr@harlequin.co.uk
Wed, 21 Jul 1999 09:17:33 +0100
At 02:08 PM 7/20/99 -0500, Shridhar Diwan wrote:
>Hi,
>
>When I run the standard examples such as eg1, eg2 etc., they run fine.
>But when I run my own applications, it gives a seg fault in
>ptherad_key_create:
>
>> 0 pthread_key_create(0x17fff5758, 0x0, 0x257fc, 0xfbe0070, 0x2f,
0x2011, 0x200, 0x1)
["/xlv57/6.5.3m/work/eoe/lib/libpthread/libpthread_64/key.c":68, 0xd5c7fc4]
> 1 omni_thread::init_t::init_t(void)(0x17fff5750, 0x200e70, 0x257fc,
>0xfbe0070, 0x2f, 0x2011, 0x200, 0x1)
["/nfs/bread/scratchB/sdiwan/omniORB_280pr
>e1/src/lib/omnithread/posix.cc":292, 0x17ffe35a8]
Shridhar,
It looks like you've linked your application without having
-lpthread as the very last library in the link line. For
some reason IRIX 6.5 at least seems to need this (it's in
the SGI docs somewhere).
Let me know if this doesn't work.
cheers,
James