Automatic backtrace [Was: Re: NetAPP/Samba 3.0/plugs]

Scott Gifford sgifford at suspectclass.com
Wed Mar 13 00:41:07 GMT 2002


Andrew Bartlett <abartlet at pcug.org.au> writes:

> David Lee wrote:

[...]

> > 3. If "gdb" (or similar) is found and "--enable-debug" is set, then the
> >    default panic action could be to invoke gdb (or other debugger) with
> >    the relevant subcommands to perform and log the backtrace.
> > 
> > Sure, that probably needs refinement.  But for the moment read it for the
> > positive possibilities not the worrying nitpicks.
> > 
> > Promising?  Or an unrealistic non-starter?
> 
> Quite promising, and it would *really* help with our debugging.

Perhaps I'm missing something obvious, but why not just let Samba dump
core?...It's straightforward to provide a backtrace from a core file.

----ScottG.




More information about the samba-technical mailing list