unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: phillip.lord@russet.org.uk (Phillip Lord)
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: debugging core dump
Date: Tue, 11 Apr 2017 18:11:10 +0100	[thread overview]
Message-ID: <87fuhezx75.fsf@russet.org.uk> (raw)
In-Reply-To: <jwvshlff4y7.fsf-monnier+gmane.emacs.devel@gnu.org> (Stefan Monnier's message of "Tue, 11 Apr 2017 09:32:32 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> 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




      reply	other threads:[~2017-04-11 17:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-11 13:16 debugging core dump Phillip Lord
2017-04-11 13:28 ` Eli Zaretskii
2017-04-11 13:32 ` Stefan Monnier
2017-04-11 17:11   ` Phillip Lord [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fuhezx75.fsf@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).