Subject: Regarding pthread library on AIX-5.3L
To: None <tech-userlevel@netbsd.org, chuq@chuq.com>
From: Vanamala.V <vanamalav@cdacb.ernet.in>
List: tech-userlevel
Date: 08/24/2005 15:35:28
Dear Sir,

We are running MPI applications on AIX 5.3 with
64 bit libraries. I'm compiling code with xlc_r, xlC_r and xlf_r and
linking with lc_r,lpthreads_r. But application doesn't enter into main()
itself. Its giving following error:

cmpi@pn02 $ ./hello
Segmentation fault (core dumped)
cmpi@pn02 $ dbx ./hello core
Type 'help' for help.
[using memory image in core]
reading symbolic information ...
 
Segmentation fault in pthread_init at 0x9000000003aed90
0x9000000003aed90 (pthread_init+0x7b0) f8030498        std   r0,0x498(r3)
(dbx) where
pthread_init() at 0x9000000003aed90
call_pthread_init() at 0x10000043c
__threads_init() at 0x100000350
(dbx)q

could you please let me know what this problem is, and  Kindly let us
know how to resolve this problem.

Thanks & Regards,
Vanamala. V