"ntpd" dies unexpected unpeering a refclock

Dear All,

When I add and remove a refclock ntpd is gone. I compiled ntp with the following options

./waf configure --refclock=gpsd,generic,shm,pps,nmea,local 

Here the issue in a nutshell

 
# ntpq -n
ntpq> ver
ntpsec-0.9.7+781 2017-05-25T00:30:58-0400
ntpq> config server 127.127.1.1 prefer
Config Succeeded
ntpq> pee
     remote                                   refid      st t when poll reach   delay   offset   jitter
=======================================================================================================
 192.168.241.190                         .GPS.            1 u    9   32    3   0.9647   0.3436   0.2810
*LOCAL(1)                                .LOCL.           5 u    5   64    1   0.0000   0.0000   0.0000
ntpq> config unpeer server 127.127.1.1
Bailing out...

Checking the process status there is no ntpd anymore.

As it is recommended not to use the old style with 127.127.1.1 here another nutshell

gps0:root> ntpq -n
ntpq> config refclock local
Config Succeeded
ntpq> pee
     remote                                   refid      st t when poll reach   delay   offset   jitter
=======================================================================================================
 192.168.241.190                         .GPS.            1 u    3   32    3   0.9604   0.3612   0.0204
 LOCAL(0)                                .LOCL.           5 u    1   64    1   0.0000   0.0000   0.0000
ntpq> config unpeer local
Bailing out...

Again "ntpd" died".

And here the last famous words of "ntpd" - R.I.P.

May 25 11:27:14 ntpd[19352]: ::1 config: refclock local
May 25 11:27:14 ntpd[19352]: newpeer: addr:127.127.1.0, name:(null), cast_flags:1, flags:1
May 25 11:27:14 ntpd[19352]: 127.127.1.0 8011 81 mobilize assoc 3072
May 25 11:27:15 ntpd[19352]: LOCAL(0) 8014 84 reachable
May 25 11:27:33 ntpd[19352]: ::1 config: unpeer local

In the first example I found additional lines:

May 25 11:26:04 ntpd[19264]: line 1 column 10 syntax error, unexpected T_String, expecting T_EOC
May 25 11:26:04 ntpd[19264]: syntax error in remote config from ::1 line 1, column 10



Kind regards
Hans