[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: debugging core dump
From: |
Phillip Lord |
Subject: |
Re: debugging core dump |
Date: |
Tue, 11 Apr 2017 18:11:10 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> 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.
I bisected instead. It's the "-no-pie" problem that Paul fixed in
99892eeec. Guess this is the first time I've tried to compile other than
head on this version.
Phil