Hello Ludovic, On Mon, 19.02.2007 at 17:51:35 +0100, Ludovic Drolez <[EMAIL PROTECTED]> wrote: > I cannot reproduce your bug... > Please, could you run atftpd from the command line with the appropriate > switches to get more debug traces ? (--no-fork --trace -v, etc)
running it from the command line isn't too easy, but I ran it as a daemon with adjusted options as a daemon (like I usually do), and with strace wrapped around it. Here's what I get on my idle 100MBit/s LAN: Tcpdump around the time where the daemon crashes: 12:28:48.732579 IP (tos 0x0, ttl 64, id 62692, offset 0, flags [DF], proto: UDP (17), length: 544) 192.168.1.5.33259 > 192.168.1.92.2481: [udp sum ok] UDP, length 516 12:28:48.732848 IP (tos 0x0, ttl 20, id 50, offset 0, flags [none], proto: UDP (17), length: 32) 192.168.1.92.2481 > 192.168.1.5.33259: [udp sum ok] UDP, length 4 12:28:48.740147 IP (tos 0x0, ttl 64, id 62693, offset 0, flags [DF], proto: UDP (17), length: 544) 192.168.1.5.33259 > 192.168.1.92.2481: [udp sum ok] UDP, length 516 12:28:48.740377 IP (tos 0x0, ttl 20, id 51, offset 0, flags [none], proto: UDP (17), length: 32) 192.168.1.92.2481 > 192.168.1.5.33259: [udp sum ok] UDP, length 4 12:28:48.740469 IP (tos 0x0, ttl 20, id 52, offset 0, flags [none], proto: UDP (17), length: 61) 192.168.1.92.2481 > 192.168.1.5.69: [udp sum ok] 33 RRQ "/openbsd/nfsroot/bsd.nfs" octet 12:28:49.561156 arp who-has 192.168.1.92 tell 192.168.1.5 12:28:49.561260 arp reply 192.168.1.92 is-at 00:11:d8:8a:43:b1 12:28:50.665100 IP (tos 0x0, ttl 20, id 53, offset 0, flags [none], proto: UDP (17), length: 61) 192.168.1.92.2481 > 192.168.1.5.69: [udp sum ok] 33 RRQ "/openbsd/nfsroot/bsd.nfs" octet 12:28:50.665214 IP (tos 0xc0, ttl 64, id 41387, offset 0, flags [none], proto: ICMP (1), length: 89) 192.168.1.5 > 192.168.1.92: ICMP 192.168.1.5 udp port 69 unreachable, length 69 IP (tos 0x0, ttl 20, id 53, offset 0, flags [none], proto: UDP (17), length: 61) 192.168.1.92.2481 > 192.168.1.5.69: [udp sum ok] 33 RRQ "/openbsd/nfsroot/bsd.nfs" octet 12:28:54.665502 IP (tos 0x0, ttl 20, id 54, offset 0, flags [none], proto: UDP (17), length: 61) 192.168.1.92.2481 > 192.168.1.5.69: [udp sum ok] 33 RRQ "/openbsd/nfsroot/bsd.nfs" octet 12:28:54.665612 IP (tos 0xc0, ttl 64, id 41388, offset 0, flags [none], proto: ICMP (1), length: 89) 192.168.1.5 > 192.168.1.92: ICMP 192.168.1.5 udp port 69 unreachable, length 69 IP (tos 0x0, ttl 20, id 54, offset 0, flags [none], proto: UDP (17), length: 61) 192.168.1.92.2481 > 192.168.1.5.69: [udp sum ok] 33 RRQ "/openbsd/nfsroot/bsd.nfs" octet strace -fFrx -p 11047: ..., and then: 0.010009 --- SIGRTMIN (Unknown signal 32) @ 0 (0) --- 0.000264 <... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call) 0.000059 sigreturn() = ? (mask now [RTMIN]) 0.000141 select(1024, [0], NULL, NULL, NULL) = 1 (in [0]) 0.000334 rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0 0.000264 write(5, "\x40\x76\x05\x08\x00\x00\x00\x00\x00\x00\x00\x00\x70\xa7"..., 148) = 148 0.000124 rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0 0.000137 rt_sigsuspend([] <unfinished ...> 0.002113 --- SIGRTMIN (Unknown signal 32) @ 0 (0) --- 0.000500 <... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call) 0.000069 sigreturn() = ? (mask now [RTMIN]) 0.000201 select(1024, [0], NULL, NULL, NULL) = 1 (in [0]) 0.316884 rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0 0.000101 write(5, "\x40\x76\x05\x08\x00\x00\x00\x00\x00\x00\x00\x00\x70\xa7"..., 148) = 148 0.000237 rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0 0.000091 rt_sigsuspend([] <unfinished ...> 0.000066 --- SIGRTMIN (Unknown signal 32) @ 0 (0) --- 0.000189 <... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call) 0.000051 sigreturn() = ? (mask now [RTMIN]) 0.000131 rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0 0.000089 rt_sigsuspend([] <unfinished ...> 0.000143 --- SIGRTMIN (Unknown signal 32) @ 0 (0) --- 0.000107 <... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call) 0.000047 sigreturn() = ? (mask now [RTMIN]) 0.000128 select(1024, [0], NULL, NULL, NULL) = 1 (in [0]) 4.766688 rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0 0.000110 write(5, "\x40\x76\x05\x08\x00\x00\x00\x00\x00\x00\x00\x00\x70\xa7"..., 148) = 148 0.000239 rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0 0.000091 rt_sigsuspend([] <unfinished ...> 0.000066 --- SIGRTMIN (Unknown signal 32) @ 0 (0) --- 0.000186 <... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call) 0.000052 sigreturn() = ? (mask now [RTMIN]) 0.000131 rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0 0.000088 rt_sigsuspend([] <unfinished ...> 0.000121 --- SIGRTMIN (Unknown signal 32) @ 0 (0) --- 0.000108 <... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call) 0.000048 sigreturn() = ? (mask now [RTMIN]) 0.000126 select(1024, [0], NULL, NULL, NULL) = 1 (in [0]) 0.079125 rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0 0.000104 --- SIGSEGV (Segmentation fault) @ 0 (0) --- Process 11047 detached daemon.log (verbose = 7): Feb 20 12:28:48 birch atftpd[11065]: Creating new socket: 192.168.1.5:33259 Feb 20 12:28:48 birch atftpd[11065]: Serving /openbsd/nfsroot/bsd.nfs to 192.168.1.92:2481 Best, --Toni++ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]