- 论坛徽章:
- 1
|
本帖最后由 robin10 于 2013-03-09 01:01 编辑
OS:
uname -a
Linux robin-desktop 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 2012 x86_64 GNU/Linux
gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5.1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
----strace Log------------------------------------------------------------
futex(0x1653010, FUTEX_WAKE_PRIVATE, 1) = 1
write(1, "waiting accept!....\n", 20waiting accept!....
) = 20
futex(0x7f0a35092df0, FUTEX_WAKE_PRIVATE, 1) = 1
##thpool_thread_do##177#
accept(3, ##thpool_thread_do##179#
# Thread working: 847656704 -> #client_request_handle#sockfd = 4#
.......
#get_cb_func#index = 1#
#### run_func :7.
#refresh_page_down#size=3
##send_message##
#refresh_page_down#send=353
##client_request_handle## close socket 4
##thpool_thread_do##170# // 此处是跑完上次的地方,从下一行开始,是make install 后跑 client的LOG
{sa_family=AF_INET, sin_port=htons(50249), sin_addr=inet_addr("127.0.0.1")}, [16]) = 5
write(1, "client accept!....\n", 19client accept!....
) = 19
write(1, "server: got connection from 127."..., 39server: got connection from 127.0.0.1#
) = 39
write(1, "#thpool_add_task#sockfd = 5#\n", 29#thpool_add_task#sockfd = 5#
) = 29
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault |
|