Date: Sat, 11 Jun 2005 08:46:29 -0700 From: Bakul Shah <bakul@BitBlocks.com> To: "Poul-Henning Kamp" <phk@phk.freebsd.dk> Cc: Antoine Brodin <antoine.brodin@laposte.net>, freebsd-arch@freebsd.org Subject: Re: RFC: Stack saving/tracing functionality. Message-ID: <200506111546.j5BFkToq011515@gate.bitblocks.com> In-Reply-To: Your message of "Sat, 11 Jun 2005 09:22:45 %2B0200." <1078.1118474565@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
> ... but it would be neat if it could also save/print userland stacks > so that we could get tracebacks from abort()'ing userland programs. Along these lines; wouldn't it be neat if there was a sysctl to leave a segfaulted or aborted process around so that you can attach a debugger to it and find out what went wrong (and may be even correct it!)? Debugging a live process (even if fatally injured) yields more clues as you can poke around at its I/O connections, its caller process etc. A separate program can be used to create a coredump if you really wish to preseve the dead body for later autopsy.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506111546.j5BFkToq011515>