[bf1942] Bugreport: Servercrash
Christopher Kunz
chrislist at de-punkt.de
Sun Jun 19 11:16:28 EDT 2005
Andreas Fredriksson wrote:
> Please include the output of the other threads as well; I believe this
> functionality is there to terminate the server to generate a crash
> dump (core file) if it has hung for some reason.
>
> Try 'info threads' in gdb to list the available threads in the core dump.
>
> Then apply bt to each of the threads by switching between them with
> the 'thread' command.
There you go, guys.
(gdb) info threads
5 process 22573 0x083f0519 in dice::hfe::TickCalculator::compute ()
4 process 22578 0x2383299c in nanosleep () from /lib/tls/libc.so.6
3 process 22579 0x2385aa27 in select () from /lib/tls/libc.so.6
2 process 22586 0x2383299c in nanosleep () from /lib/tls/libc.so.6
* 1 process 22577 0x0811b0d9 in dice::hfe::CheckServerAliveThread::run ()
(gdb) thread 1
[Switching to thread 1 (process 22577)]#0 0x0811b0d9 in
dice::hfe::CheckServerAliveThread::run ()
(gdb) bt
#0 0x0811b0d9 in dice::hfe::CheckServerAliveThread::run ()
#1 0x0838b0f1 in dice::hfe::(anonymous
namespace)::pthreads_thread_trampoline ()
#2 0x238c6b63 in start_thread () from /lib/tls/libpthread.so.0
#3 0x2386118a in clone () from /lib/tls/libc.so.6
(gdb) thread 2
[Switching to thread 2 (process 22586)]#0 0x2383299c in nanosleep ()
from /lib/tls/libc.so.6
(gdb) bt
#0 0x2383299c in nanosleep () from /lib/tls/libc.so.6
#1 0x0838a801 in dice::hfe::System::sleep ()
#2 0x00000000 in ?? ()
#3 0x2865eaa8 in ?? ()
#4 0x2386d1ef in pthread_mutex_unlock () from /lib/tls/libc.so.6
#5 0x00989680 in ?? ()
(gdb) thread 3
[Switching to thread 3 (process 22579)]#0 0x2385aa27 in select () from
/lib/tls/libc.so.6
(gdb) bt
#0 0x2385aa27 in select () from /lib/tls/libc.so.6
#1 0x0843454c in dice::hfe::io::SocketManager::sleep ()
#2 0x0842f89f in dice::hfe::io::NetServerThread::run ()
#3 0x0838b0f1 in dice::hfe::(anonymous
namespace)::pthreads_thread_trampoline ()
#4 0x238c6b63 in start_thread () from /lib/tls/libpthread.so.0
#5 0x2386118a in clone () from /lib/tls/libc.so.6
(gdb) thread 4
[Switching to thread 4 (process 22578)]#0 0x2383299c in nanosleep ()
from /lib/tls/libc.so.6
(gdb) bt
#0 0x2383299c in nanosleep () from /lib/tls/libc.so.6
#1 0x0838a801 in dice::hfe::System::sleep ()
#2 0x00000000 in ?? ()
#3 0x24c9ea98 in ?? ()
#4 0x2386d1ef in pthread_mutex_unlock () from /lib/tls/libc.so.6
#5 0x1dcd6500 in ?? ()
(gdb) thread 5
[Switching to thread 5 (process 22573)]#0 0x083f0519 in
dice::hfe::TickCalculator::compute ()
(gdb) bt
#0 0x083f0519 in dice::hfe::TickCalculator::compute ()
#1 0x081230d2 in dice::hfe::BF2Engine::mainLoop ()
#2 0x080528ae in dice::hfe::BF2::run ()
#3 0x08052bd8 in main ()
More information about the Bf1942
mailing list