On Mon, Oct 26, 2015 at 01:52:12PM EDT, Christopher Schulte wrote:
> > On Oct 26, 2015, at 12:23 PM, Matthew Seaman <[email protected]> wrote:
> > 
> > I'm seeing a SEGV on startup of ntpd on 10.2-RELEASE-p6:
> > 
> > Oct 26 17:14:33 vhost-2 kernel: pid 35200 (ntpd), uid 0: exited on
> > signal 11 (core dumped)
> > 
> > This is from freebsd-update(8).  I've a core dump available, but it's
> > not very illuminating without any debug symbols.
> > 
> >     Cheers,
> > 
> >     Matthew
> 
> I was seeing the same thing on multiple systems, after running freebsd-update 
> and then bouncing ntpd.  I rebooted one of the problematic boxes; ntpd then 
> started cleanly.  I haven’t tested this across the board yet, though.
> 
> Config:
> 
> # freebsd-version -uk
> 10.2-RELEASE
> 10.2-RELEASE-p6
> 
> # uname -a
> FreeBSD mybox 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 
> 15:26:37 UTC 2015     
> [email protected]:/usr/obj/usr/src/sys/GENERIC  amd64

I'm not having any issues with ntpd on either 10.2 and 9.3 however on
9.3 the ntp query utilities (ntpdc and ntpq) both crash with sig 6:

...
Oct 26 11:37:48 <ntp.notice> host ntpd[49294]: ntpd 4.2.8p4-a (1): Starting
...


However 9.3 ntpq and ntpdc:

# ntpq
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/lib/isc/unix/net.c:221: fatal 
error: RUNTIME_CHECK(((pthread_once((&once), (initialize_action)) == 0) ? 0 : 
34) == 0) failed 
Abort trap (core dumped)
# ntpdc
/usr/src/usr.sbin/ntp/libntp/../../../contrib/ntp/lib/isc/unix/net.c:221: fatal 
error: RUNTIME_CHECK(((pthread_once((&once), (initialize_action)) == 0) ? 0 : 
34) == 0) failed 
Abort trap (core dumped)
# 

I don't know how much value you can get out of a stripped bt for ntpq:

#0  0x000000080115004c in kill () from /lib/libc.so.7
#1  0x000000080114ec7b in abort () from /lib/libc.so.7
#2  0x0000000000418ad7 in ?? ()
#3  0x0000000000418b2f in ?? ()
#4  0x0000000000413039 in ?? ()
#5  0x0000000000411e43 in ?? ()
#6  0x000000000040767b in ?? ()
#7  0x0000000000403a61 in ?? ()
#8  0x0000000800658000 in ?? ()
#9  0x0000000000000000 in ?? ()

and ntpdc:
#0  0x000000080139904c in kill () from /lib/libc.so.7
#1  0x0000000801397c7b in abort () from /lib/libc.so.7
#2  0x0000000000415f27 in ?? ()
#3  0x0000000000415f7f in ?? ()
#4  0x0000000000410489 in ?? ()
#5  0x000000000040f293 in ?? ()
#6  0x0000000000405f86 in ?? ()
#7  0x0000000000403991 in ?? ()
#8  0x0000000800653000 in ?? ()
#9  0x0000000000000000 in ?? ()

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "[email protected]"

Reply via email to