- 论坛徽章:
- 1
|
今天循坏跑程序,出现这个错误,求高手解答错误是怎么引起的?
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++ |
|