* trouble.texi (Crashing): Document ulimit -c.

This commit is contained in:
Paul Eggert 2012-09-22 12:27:25 -07:00
parent bd909927ab
commit 2e83df57be
2 changed files with 13 additions and 4 deletions

View file

@ -1,3 +1,7 @@
2012-09-22 Paul Eggert <eggert@cs.ucla.edu>
* trouble.texi (Crashing): Document ulimit -c.
2012-09-21 Paul Eggert <eggert@cs.ucla.edu>
* trouble.texi (Crashing): Document addr2line.

View file

@ -282,10 +282,15 @@ itself, and the reserve supply may not be enough.
@subsection When Emacs Crashes
Emacs is not supposed to crash, but if it does, before it exits it
reports some information about the crash to the standard error stream
@code{stderr}. This report may be useful to someone who later debugs
the same version of Emacs on the same platform. The format of this
report depends on the platform, and some platforms support backtraces.
reports a brief summary of the crash to the standard error stream
@code{stderr}. If enabled, a crashed Emacs also generates a core dump
containing voluminous data about the crash. On many platforms you can
enable core dumps by putting the shell command @samp{ulimit -c unlimited}
into your shell startup script. The crash report and core dump can be
used when debugging the same version of Emacs on the same platform.
The format of the crash report depends on the platform, and some
platforms support backtraces.
Here is an example, generated on x86-64 GNU/Linux with version 2.15 of
the GNU C Library: