[질문] 쓰레드...

(gdb) where
#0 0x400b58a5 in __sigsuspend (set=0xa93349dc)
at ../sysdeps/unix/sysv/linux/sigsuspend.c45
#1 0x4003d0d9 in __pthread_wait_for_restart_signal
(self=0xa9334c00) at pthread.c934
#2 0x40039c5c in pthread_cond_wait (cond=0x805f938,
mutex=0x805f920) at restart.h34
#3 0x08053a7c in NPHandleRequestsLoop (thread_params=0x8986988) at
NPHandlerThread.c134
#4 0x4003abfd in pthread_start_thread (arg=0xa9334c00) at
manager.c262
(gdb) where
#0 0x400b5801 in __kill () from /lib/i686/libc.so.6
#1 0x4003d067 in __pthread_restart_new (th=0x55334c00) at
pthread.c1038
#2 0x4003a134 in pthread_cond_signal (cond=0x805f938) at
restart.h24
#3 0x080537af in NPRequestsQueue_AddRequest (queue=0x8981a88,
clientinput=0xa9d04f90) at NPRequestsQueue.c110
#4 0x0804b20d in main (argc=1, argv=0xbffffb1c) at
NPGameServer.c493
#5 0x400a4177 in __libc_start_main (main=0x804a6c0 , argc=1,
ubp_av=0xbffffb1c, init=0x8048fe0 <_init>,
fini=0x80591f0 <_fini>, rtld_fini=0x4000e184 <_dl_fini>,
stack_end=0xbffffb0c) at ../sysdeps/generic/libc-start.c129
gdb에서 확인해보면 대부분 위와같은 상황에서 서버가 다운이 됩니다. 코
드를 전체적으로 살펴봐도 특별히 무슨 문제가 있어보이진 않는데 자꾸 그
렇게 되네요. 힌트를 좀 주시기 바랍니다.
댓글 달기