stack backtrace

Kris Kennaway kris at obsecurity.org
Thu Jun 2 18:06:58 GMT 2005


On Thu, Jun 02, 2005 at 09:11:23AM -0700, Derek Kuli?ski wrote:
> Hello Kris,
> 
> Thursday, June 2, 2005, 12:37:41 AM, you wrote:
> 
> > It looks like debugging code (it's been removed in -current).
> 
> > Jeff:
> 
> > in 1.141 of ffs_softdep.c you added a call to backtrace() if bp->b_vp
> > == NULL..you removed it in current in 1.166, but some people are
> > seeing it trigger on 5.x
> 
> So it's harmless?

I don't know, but I presume the debugging code was added for debugging
reasons :-)

> As for debugging, I compiled kernel with:
> makeoptions     DEBUG=-g
> options         KDB
> options         KDB_TRACE
> options         DDB
> 
> To have coredump, if system crashes (I didn't oticed any slowdown, so
> I guess it doesn't hurt)
> 
> Are those last three options necessary to get core? Or is only
> DEBUG=-g needed?

Please consult the developers' handbook chapter on kernel debugging
for full instructions.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050602/69c0cf68/attachment.bin


More information about the freebsd-stable mailing list