Automatic backtrace [Was: Re: NetAPP/Samba 3.0/plugs]
Andrew Bartlett
abartlet at pcug.org.au
Wed Mar 13 00:57:03 GMT 2002
Scott Gifford wrote:
>
> 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.
Where? Under what uid? Following what symlinks?
Dumping core just has 'bad idea' written all over it. Plus the people
who know how to use gdb on a core file would already have a magic 'panic
action' already setup.
Andrew Bartlett
--
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba-technical
mailing list