- 论坛徽章:
- 0
|
请教各位大侠, 我的程序在运行中, 老是跑到一段时间后, 程序coredump
dbx hv_sendtombfe core之后, 得到如下信息
IOT/Abort trap in pth_signal.pthread_kill [/lib/libpthreads.a] at 0xd0061be8 ($t1)
0xd0061be8 (pthread_kill+0x7c) 80410014 lwz r2,0x14(r1)
(dbx) where
pth_signal.pthread_kill(??, ??) at 0xd0061be8
pth_signal._p_raise(??) at 0xd00616a4
raise.raise(??) at 0xd0248260
abort.abort() at 0xd027643c
myabort__3stdFv() at 0xd1175a88
terminate__3stdFv() at 0xd1173fa4
terminate__Fv() at 0xd117527c
except.__DoThrow() at 0x10007738
unnamed block in DoWork(const char*)(0x20246058, 0x2ff20910), line 108 in "chvsendcmt.pc"
DoWork(const char*)(0x20246058, 0x2ff20910), line 108 in "chvsendcmt.pc"
unnamed block in main(argc = 2, argv = 0x2ff22a54), line 350 in "hv_sendtombfe.pc"
main(argc = 2, argv = 0x2ff22a54), line 350 in "hv_sendtombfe.pc"
(dbx)
在坛子里面看到一个兄弟说是线程链接到了一个非安全的库, 而且哪位兄弟使用的是gcc的编译器, 而我是使用的xlC_r编译器; 并且其中没有用到多线程相关的部分, 不知道哪位大侠遇到过, 请告知兄弟一声。 非常感谢! |
|