From: Guillaume M. <gui...@mo...> - 2002-05-06 12:39:44
|
Hi, I've tried to upgrade most related modules and to remove the hook on $client->connected. It still crashes but I can't see any errors in the debug log. I only get the "[ERROR] Exiting outside main loop (BUG!)" message. But no Perl errors. This is very weird. The strace shows this : connect(8, {sin_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}}, 16) = 0 send(8, "\204>\1\0\0\1\0\0\0\0\0\0\00212\0010\00216\003172\7in-"..., 42, 0) = 42 time(NULL) = 1020688418 poll([{fd=8, events=POLLIN, revents=POLLIN}], 1, 5000) = 1 recvfrom(8, "\204>\205\203\0\1\0\0\0\1\0\0\00212\0010\00216\003172\7"..., 1024, 0, {sin_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}}, [16]) = 90 close(8) = 0 fork() = 16231 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 close(7) = 0 munmap(0x401ec000, 4096) = 0 close(7) = -1 EBADF (Bad file descriptor) munmap(0x401eb000, 4096) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 accept(6, 0xbffff714, [16]) = -1 ECONNRESET (Connection reset by peer) rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 time([1020688418]) = 1020688418 write(5, "[14919 Mon May 6 14:33:38 2002]"..., 74) = 74 write(1, "[14919 Mon May 6 14:33:38 2002]"..., 74) = 74 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 close(6) = 0 munmap(0x401c7000, 4096) = 0 close(6) = -1 EBADF (Bad file descriptor) munmap(0x401c6000, 4096) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 close(4) = 0 munmap(0x40194000, 4096) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 munmap(0x401c8000, 4096) = 0 munmap(0x401c5000, 4096) = 0 _exit(0) = ? The write text is the BUG message. As you can see, the problem seems to be trigerred by an unsucessful call to accept. Thanks for your help. -- Guillaume Morin <gui...@mo...> A friend in need is a friend indeed. A friend who bleeds is better. My friend confessed, she passed the test. We will never sever. (Placebo) |