chenshuo/muduo

程序coredump的原因?

Closed this issue · 0 comments

Thread 2 "ChatServer0" received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff5d52700 (LWP 2809)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.

(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff6caa921 in __GI_abort () at abort.c:79
#2 0x00005555556199cf in muduo::detail::ThreadData::runInThread (this=0x555555856680)
at /root/package/muduo-master/muduo/base/Thread.cc:90
#3 muduo::detail::startThread (obj=0x555555856680)
at /root/package/muduo-master/muduo/base/Thread.cc:111
#4 0x00007ffff76036db in start_thread (arg=0x7ffff5d52700) at pthread_create.c:463
#5 0x00007ffff6d8b71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95