请教一个在 AIX 下编译运行的问题# Programming - 葵花宝典
a*g
1 楼
程序在 AIX 5.3 Patch Level 0 下面编译运行没有问题,在 AIX 5.3 Patch
Level 1 下面编译没有问题, 结果运行就 crash,查看 core file 结果如下
[using memory image in /tmp/core]
reading symbolic information ...
Trace/BPT trap in pth_pthread._internal_error [/usr/lib/libpthreads.a] at
0xd00558a4 ($t1)
0xd00558a4 (_internal_error+0x80) 80410014 lwz r2,0x14(r1)
(dbx) where
pth_pthread._internal_error(??, ??, ??) at 0xd00558a4
pth_vp._vp_start(??, ??, ??) at 0xd0061e50
pth_pthread.pth_create_common(??, ??, ??, ??, ??) at 0xd0054b54
Level 1 下面编译没有问题, 结果运行就 crash,查看 core file 结果如下
[using memory image in /tmp/core]
reading symbolic information ...
Trace/BPT trap in pth_pthread._internal_error [/usr/lib/libpthreads.a] at
0xd00558a4 ($t1)
0xd00558a4 (_internal_error+0x80) 80410014 lwz r2,0x14(r1)
(dbx) where
pth_pthread._internal_error(??, ??, ??) at 0xd00558a4
pth_vp._vp_start(??, ??, ??) at 0xd0061e50
pth_pthread.pth_create_common(??, ??, ??, ??, ??) at 0xd0054b54