✘ntpd segfault

Gary E. Miller gem at rellim.com
Fri Aug 31 02:57:42 UTC 2018


Yo Eric!
  
> > > Gary E. Miller via devel <devel at ntpsec.org>:    
> > > > I'm seeing something new and odd with NTPsec git head.  When I
> > > > kill the old ntpd to start a new one, this is in my logs:
> > > > 
> > > > [834374.559668] ntpd[8904]: segfault at 88 ip 00005581071fb466
> > > > sp 00007fff53c460c0 error 4 in ntpd
> > > > (deleted)[5581071c2000+7f000]      
> 
> > I see the gpsd_shutdown() function was changed in that commit.  The
> > only change in refclock_gpsd.c.  I do not understand the change.  
> 
> By funny coincidence, my gcc 8.2.0 just found this:

Sorry, I was not on git head, that bad printf got fixed.  So I'm
back to being confused as to why this commit causes a segfault
on shutdown.

Now I wonder about my bisect, it found a problem, but one that was
already fixed.

So much for bisection, deeper digging required.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20180830/859d1729/attachment.bin>


More information about the devel mailing list