[Bug: 21.4.22] xemacs segfaults on sendmail-pre-abbrev-expand-hook

Stephen J. Turnbull stephenjturnbull at gmail.com
Fri Mar 11 09:25:06 EST 2011


Thank you for your report!

On Fri, Mar 11, 2011 at 11:17 PM, Andreas Goesele <Goesele at hfph.mwn.de> wrote:

> Is there a way to get XEmacs crash *and* have a backtrace?

What we need to diagnose a crash, usually, is a C backtrace.  If you know
how to force XEmacs to crash, you can usually get the backtrace by starting
XEmacs in a debugger.  On systems with gdb, something like

$ gdb /usr/local/bin/xemacs
(gdb) run
<some message about XEmacs crashing>
(gdb) bt
<long text of backtrace>

Then save the terminal output to a file, and attach it to your report.
The backtrace will usually run off the screen.  If that makes it difficult
to capture all the output, you can run gdb as

$ gdb /usr/local/bin/xemacs 2>&1 | tee crash.log

which will save everything that gdb outputs to the file crash.log.

Good luck!



More information about the XEmacs-Beta mailing list