Hi, for some days or weeks I see crashes of ntpd in accounting log on my laptop.
Program terminated with signal SIGSEGV, Segmentation fault. #0 log_sockaddr (sa=0x8) at /usr/src/usr.sbin/ntpd/util.c:159 159 if (getnameinfo(sa, SA_LEN(sa), buf, sizeof(buf), NULL, 0, (gdb) bt #0 log_sockaddr (sa=0x8) at /usr/src/usr.sbin/ntpd/util.c:159 #1 0x00000b02fb57fc32 in constraint_msg_close (id=<optimized out>, data=0xb058f8f3770 "\001", len=4) at /usr/src/usr.sbin/ntpd/constraint.c:714 #2 0x00000b02fb575f8a in ntp_dispatch_imsg () at /usr/src/usr.sbin/ntpd/ntp.c:516 #3 0x00000b02fb5758b8 in ntp_main (nconf=<optimized out>, pw=<optimized out>, argc=<optimized out>, argv=<optimized out>) at /usr/src/usr.sbin/ntpd/ntp.c:378 #4 0x00000b02fb57304a in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/usr.sbin/ntpd/ntpd.c:224 (gdb) frame 1 #1 0x00000b02fb57fc32 in constraint_msg_close (id=<optimized out>, data=0xb058f8f3770 "\001", len=4) at /usr/src/usr.sbin/ntpd/constraint.c:714 714 log_sockaddr((struct sockaddr *) (gdb) print cstr $2 = (struct constraint *) 0xb05b96ac000 (gdb) print cstr->addr $3 = (struct ntp_addr *) 0x0 Logging a null pointer address does not work. 711 if (fail) { 712 log_debug("no constraint reply from %s" 713 " received in time, next query %ds", 714 log_sockaddr((struct sockaddr *) 715 &cstr->addr->ss), CONSTRAINT_SCAN_INTERVAL); bluhm