Core was generated by `./audit'.
Program terminated with signal 11, Segmentation fault.
#0 0x08053437 in std::list<Thread*, std::allocator<Thread*> >::remove (this=0x82ff0c0, __value=@0xb2540394)
at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/list.tcc:182
182 if (*__first == __value)
(gdb) bt
#0 0x08053437 in std::list<Thread*, std::allocator<Thread*> >::remove (this=0x82ff0c0, __value=@0xb2540394)
at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/list.tcc:182
#1 0x080532ed in ThreadPool::RemoveThread (this=0x82ff008, thread=0x83023a0) at threadpool.cpp:307
#2 0x080533b9 in ThreadPool::WapperFun (arg=0x83023a0) at threadpool.cpp:239
#3 0x006fb2db in start_thread () from /lib/libpthread.so.0
#4 0x0065514e in clone () from /lib/libc.so.6
Current language: auto; currently c++作者: hellioncu 时间: 2015-03-18 16:05
就给这点信息让猜原因么?我猜线程安全问题作者: zhangruichao88 时间: 2015-03-18 16:14 回复 2# hellioncu