[ntp:bugs] [Bug 1864] Autokey authentication causes core dump, ntpd crash
bugzilla-daemon at ntp.org
bugzilla-daemon at ntp.org
Tue Mar 29 02:37:07 UTC 2011
https://bugs.ntp.org/show_bug.cgi?id=1864
--- Comment #17 from Dave Hart <hart at ntp.org> 2011-03-29 02:37:07 UTC ---
I'm very grateful to Steve for working out the configuration issues. My only
disappointment is while he solved the problem of showing how to get a 4.2.7
client autokeying happily with a 4.2.6p3 server, neither of us has had any luck
reproducing the crash, which I suspect is a real bug in the ntp_config.c or
ntp_parser.y code.
In that light, I could use your assistance, Rich, in getting a bit more info
about the crash from a non-optimized backtrace. One approach would be to
simply reconfigure your 4.2.7p138 build with something like
rm -f config.cache
configure 'CFLAGS=-g -O0' --your-normal-configure-args-here
make clean && make
gdb .../ntpd ./core
bt
Or, likely equivalently, put together a set of client autokey files and
ntp.conf which reveal no interesting secrets but which I can use to reproduce
the crash on startup of 4.2.7. That would be preferable as I can poke around
and not rely on enough information being in a single non-optimized backtrace to
fix it.
Thanks to everyone for the rapid progress.
--
Configure bugmail: https://bugs.ntp.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the bugs
mailing list