Summary: | ntpd segmentation fault | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Denys Duchier <denys.duchier> |
Component: | [OLD] Unspecified | Assignee: | SpanKY <vapier> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | critical | CC: | fserb |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Denys Duchier
2004-04-17 06:58:54 UTC
run it through gdb and see if anything useful shows up running it through gdb: (gdb) bt #0 0x08051604 in sendpkt (dest=0x80a1d50, inter=0x0, ttl=0, pkt=0xbfffec90, len=48) at ntp_io.c:1377 #1 0x08067afd in peer_xmit (peer=0x80a1d48) at ntp_proto.c:2354 #2 0x08063691 in transmit (peer=0x80a1d48) at ntp_proto.c:295 #3 0x080719e4 in timer () at ntp_timer.c:289 #4 0x08053769 in ntpdmain (argc=5, argv=0xbffff374) at ntpd.c:1079 #5 0x08052e56 in main (argc=5, argv=0xbffff374) at ntpd.c:239 some pointer is NULL: (gdb) p inter $5 = (struct interface *) 0x0 which comes from a peer not properly initialized (I guess): (gdb) f 3 #3 0x080719e4 in timer () at ntp_timer.c:289 (gdb) p peer->dstadr $6 = (struct interface *) 0x0 I don't have time to look further into it right now as I have a conf deadline for tomorrow. Same happened here. If I left only one server at ntp.conf, the server runs normally. please try 4.2.0.20040617 |