Re: [chrony-users] bug report: duplicate server addresses cause chronyd to core |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
On Wed, Apr 24, 2013 at 11:40:12PM -0400, victor lum wrote:
> Hello, I don't know if this bug has already been filed, or if this is
> improper place to report it. If this is improper I apologize for the
> extra spam.
This is a good place to report bugs.
> I believe I have found a bug in chrony 1.27 which causes chronyd to
> crash. Using the attached config file, chrony.conf, and the command
> line "chronyd -n -f chrony.conf", I get the output in syslog.txt
> (attached) and then a segfault.
>
> After sorting through the code, I was able to identify what I feel to be
> the issue - duplicate IP addresses in the list of ntp servers. The
> backtrace in gdb.txt shows that the fault occurs in acquire.c. It shows
> that a timer from timer_queue executed transmit_timeout with a pointer
> to a SourceRecord which has been deleted.
>
> I believe it became invalid by this mechanism in acquire.c:
Thanks for the detailed report and the patch. I will push it to git
and it will be in the next release.
--
Miroslav Lichvar
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.