Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 1997 17:38:22 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        dg@root.com
Cc:        Poul-Henning Kamp <phk@critter.freebsd.dk>, Tor Egge <Tor.Egge@idi.ntnu.no>, freebsd-bugs@FreeBSD.ORG, dyson@FreeBSD.ORG
Subject:   Re: kern/4630: buffer_map might become corrupted 
Message-ID:  <199709290938.RAA11950@spinner.netplex.com.au>
In-Reply-To: Your message of "Mon, 29 Sep 1997 02:05:01 MST." <199709290905.CAA00880@implode.root.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

David Greenman wrote:
> >BTW2; I wish there was an easy way of producing a stack trace automatically
> >on a panic or fatal trap, or as a diagnostic tool.  Having a machine panic 
> >and reboot is near for unattended machines.  Having a stack trace in the 
> >console log would be fantastic. :-)
> 
>    John and I were talking about this exact thing just last night. :-) I
> think the best approach would be to create a 'cda' crash dump analyzer
> that generates a report on reboot (stores the report in a file) that includes
> a traceback, register info, dumps of important data structures and lists, etc
    .
> The alternative is to try to output a traceback on the console at crash time,
> but this is likely going to scroll other important information off the screen
    .
> Anyway, this has been on my wishlist for years.

Careful David, your VMS stripes are showing through again.. :-)

Seriously though, it would be wonderful.    I liked the interactive SVR4
crash(8M) program too, but it lacked extensibility.

However, the other problem is that most of the crashes that I see these 
days usually prevent a crashdump from happening in the first place, 
leaving the savecore nothing to work with.  cda couldn't do anything in 
for most of the crashes I see on 2.2.

> -DG

Cheers,
-Peter
--
Peter Wemm <peter@netplex.com.au>   Netplex Consulting





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709290938.RAA11950>