How do I debug a Segmentation fault from ntpmon?

Brett Sheffield bacs at librecast.net
Fri Jun 19 07:08:13 UTC 2026


On 2026-06-18 23:08, Gary E. Miller via devel wrote:
> Yo Hal!
> 
> On Thu, 18 Jun 2026 21:10:34 -0700
> Hal Murray via devel <devel at ntpsec.org> wrote:
> 
> > I'm getting one on a Pi 3 running FreeBSD.
> > 
> > I've got a core dump, or it doesn't usually take long to make it
> > happen again.
> 
> Build with debuging on.  Run it with gdb, ask for abacktrace when it
> crashes.

If you still have the coredump, you can start gdb with that to inspect the
program as it was at the time of the crash. From gdb(1):

"You can also start with both an executable program and a core file specified:
  gdb program core"

Cheers,


Brett
-- 
Brett Sheffield (he/him)
Librecast - Decentralising the Internet with Multicast
https://librecast.net/
https://blog.brettsheffield.com/


More information about the devel mailing list