[omniORB] seg fault running omniORB_280pre1 applications on Irix 64

Shridhar Diwan sdiwan@cs.indiana.edu
Tue, 20 Jul 1999 14:08:35 -0500


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]
   2 <Unknown>(0x17fff5758, 0x200e70, 0x257fc, 0xfbe0070, 0x2f, 0x2011, 0x200, 
0x1) ["/nfs/bread/scratchB/sdiwan/omniORB_280pre1/include/omnithread.h":509, 
0x17ffe2960]
   3 ::_main(0x17fff5758, 0x200e70, 0x257fc, 0xfbe0070, 0x2f, 0x2011, 0x200, 
0x1) ["/lv7/mtibuild/v721/workarea/v7.2+/libC/lang_support/c++init.cxx":122, 
0x17ffe2604]
   4 init_bridge(0x17ffe2550, 0x0, 0x257fc, 0xfbe0070, 0x2f, 0x2011, 0x200, 
0x1) ["/comp2/mtibuild/v7213m/workarea/v7.2.1.3m/rld/rld_bridge.s":323, 
0xfb6055c]
   5 call_init(0xfbdec48, 0x200e70, 0x257fc, 0xfbe0070, 0x2f, 0x2011, 0x200, 
0x1) ["/comp2/mtibuild/v7213m/workarea/v7.2.1.3m/rld/rld.c":3593, 0xfb67120]
   6 run_init_code(0xfbdec48, 0x200e70, 0x257fc, 0xfbe0070, 0x2f, 0x2011, 
0x200, 0x1) ["/comp2/mtibuild/v7213m/workarea/v7.2.1.3m/rld/rld.c":3662, 
0xfb67170]
   7 forall_previous_objs(0xfbdd418, 0xfbe0070, 0x257fc, 0xfbe0070, 0x2f, 
0x2011, 0x200, 0x1) ["/comp2/mtibuild/v7213m/workarea/v7.2.1.3m/rld/list.c":263
, 0xfb61784]
   8 execute_all_init_sections(0x17fff5758, 0x200e70, 0x257fc, 0xfbe0070, 
0x2f, 0x2011, 0x200, 0x1) ["/comp2/mtibuild/v7213m/workarea/v7.2.1.3m/rld/rld.c
":3744, 0xfb67334]
   9 do_initial_resolutions_and_run_inits(0x17fff5758, 0x200e70, 0x257fc, 
0xfbe0070, 0x2f, 0x2011, 0x200, 0x1) ["/comp2/mtibuild/v7213m/workarea/v7.2.1.3
m/rld/rld_startup.c":1117, 0xfb71290]
   10 sgi_main(0x0, 0x1, 0xffffffae78, 0xfbe0070, 0x2f, 0x2011, 0x200, 0x1) 
["/comp2/mtibuild/v7213m/workarea/v7.2.1.3m/rld/rld_startup.c":1524, 0xfb7182c]
   11 newmain() ["/comp2/mtibuild/v7213m/workarea/v7.2.1.3m/rld/rld_newmain.s":
68, 0xfb601b4]

So, this is probably something that I am doing in my application code, but
I am wondering if somebody else got a similar error, and if they were able
to solve it.

By the way, this happens only on Irix 64; on Solaris 2.6 the same application 
works
fine.

Thanks,
Shridhar
--------
Shridhar Diwan    
Extreme! Lab, Dept. of Computer Science, Indiana University
http://www.cs.indiana.edu/~sdiwan