Driving gdb

Gary E. Miller gem at rellim.com
Tue Mar 26 21:04:41 UTC 2019


Yo Hal!

On Tue, 26 Mar 2019 13:52:54 -0700
Hal Murray <hmurray at megapathdsl.net> wrote:

> devel at ntpsec.org :
> > Thread 4 "ntpd" received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 0x75b1a460 (LWP 26062)] 0x76cfb6fc in strlcpy
> > () from /usr/lib/ libbsd.so.0  
> 
> > Any idea how to make gdb more useful here?   
> 
> "bt" (for backtrace) gives you the stack trace
> In many cases, that's enough.
> 
> "up" switches gdb to looking at the calling stack frame
> "print xxx" prints variables or expressions

The problem starting at me in thhe face:


2019-03-26T13:35:09 ntpd[26050]: DNS: dns_probe: (null), cast_flags:1, flags:21001

NULL pointer.  Fix pushed.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190326/9d1d1ccd/attachment.bin>


More information about the devel mailing list