- 论坛徽章:
- 0
|
程序挂死在send(),大家帮猜猜什么原因,server是正常的
下面是gdb调试PID的信息,fork的进程。
[root@tatu bin]# gdb -p 21142
GNU gdb Fedora (6.8-27.el5)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Attaching to process 21142
Reading symbols from /home/wangss/workspace/zdnsm_svn/work/bin/zdnsm...done.
Error while mapping shared library sections:
./nmsg_msg7_isc.so: No such file or directory.
Reading symbols from /usr/local/lib/libnmsg.so.6...done.
Loaded symbols for /usr/local/lib/libnmsg.so.6
Reading symbols from /usr/local/lib/libprotobuf.so.6...done.
Loaded symbols for /usr/local/lib/libprotobuf.so.6
Reading symbols from /usr/local/lib/libldns.so.1...done.
Loaded symbols for /usr/local/lib/libldns.so.1
Reading symbols from /usr/lib64/libncurses.so.5...done.
Loaded symbols for /usr/lib64/libncurses.so.5
Reading symbols from /usr/local/lib/libpcap.so.1...done.
Loaded symbols for /usr/local/lib/libpcap.so.1
Reading symbols from /lib64/libdl.so.2...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/librt.so.1...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /usr/local/lib/libz.so.1...done.
Loaded symbols for /usr/local/lib/libz.so.1
Reading symbols from /lib64/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x2b13ede9a3b0 (LWP 21142)]
[New Thread 0x40f69940 (LWP 21149)]
[New Thread 0x45607940 (LWP 2114 ]
[New Thread 0x44c06940 (LWP 21147)]
[New Thread 0x44205940 (LWP 21146)]
[New Thread 0x43804940 (LWP 21145)]
[New Thread 0x42e03940 (LWP 21144)]
[New Thread 0x42402940 (LWP 21143)]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /opt/oracle/lib/libocci.so.10.1...done.
Loaded symbols for /opt/oracle/lib/libocci.so.10.1
Reading symbols from /opt/oracle/lib/libclntsh.so.10.1...done.
Loaded symbols for /opt/oracle/lib/libclntsh.so.10.1
Reading symbols from /usr/local/lib/libGeoIP.so.1...done.
Loaded symbols for /usr/local/lib/libGeoIP.so.1
Reading symbols from /usr/lib64/libstdc++.so.6...done.
Loaded symbols for /usr/lib64/libstdc++.so.6
Reading symbols from /lib64/libm.so.6...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libgcc_s.so.1...done.
Loaded symbols for /lib64/libgcc_s.so.1
Reading symbols from /lib64/libc.so.6...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libnsl.so.1...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /lib64/libcrypto.so.6...done.
Loaded symbols for /lib64/libcrypto.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /opt/oracle/lib/libnnz10.so...done.
Loaded symbols for /opt/oracle/lib/libnnz10.so
Reading symbols from /lib64/libnss_files.so.2...done.
Loaded symbols for /lib64/libnss_files.so.2
Symbol file not found for ./nmsg_msg7_isc.so
0x00000030e360d841 in send () from /lib64/libpthread.so.0
到这里按c
程序也不动,就一直卡在这里。我都快疯了
大家帮我想想原因,谢了 |
|