Re: Segmentation fault running ntpd

From: Matthew Seaman <matthew_at_freebsd.org>
Date: Fri, 30 Oct 2015 09:47:29 +0000
On 10/30/15 09:32, Franco Fichtner wrote:
> Well, it’s on stable/10 since September 16 and somebody reported that
> this particular branch would not trigger the crash along with HEAD,
> but any 10.x would.  Can’t find the reference right now though.

That was me, amongst others.  There are threads on security_at_ and questions_at_.

>> On 30 Oct 2015, at 10:24 am, NGie Cooper <yaneurabeya_at_gmail.com> wrote:
>>
>>
>>> On Oct 30, 2015, at 02:18, Franco Fichtner <franco_at_lastsummer.de> wrote:
>>>
>>> Hi all,
>>>
>>> I did a quick test build and this seems to solve the ntpd crash issue
>>> on top of releng/10.1.
>>
>> Makes sense … looking through my email r287591 was never MFCed back to stable/9 or stable/10 :/ .
>> HTH,
>> -NGie

There were two problems reported:

1) ntpdc and ntpq would crash -- this was reported for 9.3-STABLE -- I
don't think it affected other releases, and was diagnosed as due to a
pthreads linking issue.  Solved for 9.x in r290044 and r290046

2) ntpd SEGV's on startup on 10.2-RELEASE-p6 (possibly others).
Curiously, so does net/ntp from ports, but only on the second startup.
Exactly the same ntp package seems to run and restart just fine on
recent 10-STABLE though.  As does the base system ntpd.

	Cheers,

	Matthew



	


Received on Fri Oct 30 2015 - 08:47:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:00 UTC