[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: debugging core dump
From: |
Stefan Monnier |
Subject: |
Re: debugging core dump |
Date: |
Tue, 11 Apr 2017 09:32:32 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
> I have both emacs-25 head and master building. I have also had
> emacs-25.1 building on other machines. Not sure how to debug this;
> advice welcome.
Here's what I do, in those cases:
M-x cd .../emacs/src
M-x gud-gdb RET gdb ... temacs RET
b maybe_call_debugger
r -batch -l loadup dump
[...crash...]
bt
the `r` line may need to be adjusted depending on whether the crash
happens for the generation of src/bootstrap-emacs or src/emacs: I just
copy&paste it from the failed build.
Stefan