unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Jan Nieuwenhuizen <janneke@gnu.org>
Cc: 25442@debbugs.gnu.org
Subject: bug#25442: stacktrace
Date: Sun, 15 Jan 2017 21:30:00 +0100	[thread overview]
Message-ID: <87k29wgj7b.fsf@gnu.org> (raw)
In-Reply-To: <87inphe7q8.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Sat, 14 Jan 2017 20:56:15 +0100")

Jan Nieuwenhuizen <janneke@gnu.org> skribis:

> Ludovic Courtès writes:
>
>> The ‘emacs’ package currently doesn’t have a ‘debug’ output.  So you
>> would first need to add one:
>>
>>   (outputs '("out" "debug"))
>>
>> and then install both outputs:
>>
>>   guix package -i emacs emacs:debug
>>
>> See
>> <https://www.gnu.org/software/guix/manual/html_node/Installing-Debugging-Files.html>.
>
> Thank you!  Very nice documentation.  As discussed on IRC it was needed
> to not use grafts to avoid gdb `CRC mismatch'
>
>     guix package --no-grafts -i emacs emacs:debug
>
> I also set
>
>     ~/.gdbinit
>     set debug-file-directory ~/.guix-profile/lib/debug
>
> and did
>
>     guix build --source emacs
>     tar xf /gnu/store/wqdh5lxyrkzjhxy2rvs7qsbrd07lw89i-emacs-25.1.tar.xz
>
> and set
>
>     (gdb) directory ~/src/guix/emacs-25.1/src
>
> Now I have a full backtrace; attached.

Cool, glad it worked.

> I'm not sure how to continue here; I built Emacs from GIT and there the
> problem is not present.  Looking at the diff from 25.1 until HEAD I do
> not see any obvious patches, neither does the git log point me to one.

So the question is whether this bug is introduced by our packaging or
whether it’s an upstream bug.

Perhaps you could build with (warning! this command does not
authenticate the tarball it downloads):

  guix package -i emacs emacs:debug \
    --with-source=ftp://alpha.gnu.org/gnu/emacs/emacs-25.1.91.tar.xz

or similarly with a nightly snapshot or Git checkout.

I’m afraid that’s all I can suggest now.

HTH!

Ludo’.

  reply	other threads:[~2017-01-15 20:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-13 21:21 bug#25442: Emacs compilation buffer segfault Jan Nieuwenhuizen
2017-01-14 16:06 ` bug#25442: stacktrace Jan Nieuwenhuizen
2017-01-14 17:24   ` Ludovic Courtès
2017-01-14 19:56     ` Jan Nieuwenhuizen
2017-01-15 20:30       ` Ludovic Courtès [this message]
2017-01-15 22:36         ` Jan Nieuwenhuizen
2017-09-30  7:36           ` Jan Nieuwenhuizen

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://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87k29wgj7b.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=25442@debbugs.gnu.org \
    --cc=janneke@gnu.org \
    /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/guix.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).