当前位置: 技术问答>linux和unix
Help!重重有谢!UNIX的sleep异常
来源: 互联网 发布时间:2015-10-04
本文导语: 程序一般来说可以运行几天,但是突然有时就over了, 麻烦那位大虾帮我看看,用gdb查看原文如下: breakpoint in a shared library will not work until you rerun the program. warning: section .data not found in /oracle/product/920/lib/...
程序一般来说可以运行几天,但是突然有时就over了,
麻烦那位大虾帮我看看,用gdb查看原文如下:
breakpoint in a shared library will not work until you rerun the program.
warning: section .data not found in /oracle/product/920/lib/libwtc9.sl
warning: section .data not found in /usr/lib/pa20_64/libxnet.2
#0 0x0 in ?? ()
(gdb) where
#0 0x0 in ?? ()
warning: Attempting to unwind past bad PC 0x0
#1 0xc000000001bb3d58 in ThreadImpl::PosixThreadSigHandler+0xb0 () from /home/tuxedo/lib/libccgnu2.sl
#2 0xc000000001bb3c80 in ccxx_sig_handler+0x28 () from /home/tuxedo/lib/libccgnu2.sl
#3
#4 0xc000000000304690 in nanosleep+0x10 () from /usr/lib/pa20_64/libc.2
#5 0xc000000001bb9198 in Thread::sleep+0xb0 () from /home/tuxedo/lib/libccgnu2.sl
#6 0x400000000004e69c in CAppMainCtrl::start (this=0x800003ffbfff0d00, enLogsrc=/tech-qa-linux/APPS_TYPE_ADAPTER, bHasTux=false,_br/index.html> pszAppName=0x800003ffbfff0000 "./adresrc", bDBConnect=true)
at /export/home/ibssdev/IntfMgr/improject/zhangfj/adpub/src/appmainctrl.cpp:147
#7 0x4000000000039eb8 in main (argc=1, argv=0x800003ffbfff09e0)
at /export/home/ibssdev/IntfMgr/improject/tym/adresrc/adresrc.cpp:34
其中:
appmainctrl.cpp:147的代码是 Thread::sleep(10000);
adresrc.cpp:34的代码是 theApp.start(APPS_TYPE_ADAPTER, false, argv[0]);
adresrc是继承addmainctrl的基类的。
麻烦那位大虾帮我看看,用gdb查看原文如下:
breakpoint in a shared library will not work until you rerun the program.
warning: section .data not found in /oracle/product/920/lib/libwtc9.sl
warning: section .data not found in /usr/lib/pa20_64/libxnet.2
#0 0x0 in ?? ()
(gdb) where
#0 0x0 in ?? ()
warning: Attempting to unwind past bad PC 0x0
#1 0xc000000001bb3d58 in ThreadImpl::PosixThreadSigHandler+0xb0 () from /home/tuxedo/lib/libccgnu2.sl
#2 0xc000000001bb3c80 in ccxx_sig_handler+0x28 () from /home/tuxedo/lib/libccgnu2.sl
#3
#4 0xc000000000304690 in nanosleep+0x10 () from /usr/lib/pa20_64/libc.2
#5 0xc000000001bb9198 in Thread::sleep+0xb0 () from /home/tuxedo/lib/libccgnu2.sl
#6 0x400000000004e69c in CAppMainCtrl::start (this=0x800003ffbfff0d00, enLogsrc=/tech-qa-linux/APPS_TYPE_ADAPTER, bHasTux=false,_br/index.html> pszAppName=0x800003ffbfff0000 "./adresrc", bDBConnect=true)
at /export/home/ibssdev/IntfMgr/improject/zhangfj/adpub/src/appmainctrl.cpp:147
#7 0x4000000000039eb8 in main (argc=1, argv=0x800003ffbfff09e0)
at /export/home/ibssdev/IntfMgr/improject/tym/adresrc/adresrc.cpp:34
其中:
appmainctrl.cpp:147的代码是 Thread::sleep(10000);
adresrc.cpp:34的代码是 theApp.start(APPS_TYPE_ADAPTER, false, argv[0]);
adresrc是继承addmainctrl的基类的。
|
好像是signal handler出问题了。
|
core掉了吗?
用gdb bt以下再看看
用gdb bt以下再看看
|
像是 libccgnu2.sl 的问题……
|
不懂,学习