GNU bug report logs - #34206
Pdumper giving a segfault

Previous Next

Package: emacs;

Reported by: Compro Prasad <comproprasad <at> gmail.com>

Date: Sat, 26 Jan 2019 07:18:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Compro Prasad <comproprasad <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 34206 <at> debbugs.gnu.org
Subject: bug#34206: Pdumper giving a segfault
Date: Sat, 26 Jan 2019 20:35:41 +0530
On Sat, Jan 26, 2019 at 4:19 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > From: Compro Prasad <comproprasad <at> gmail.com>
> > Date: Sat, 26 Jan 2019 14:33:57 +0530
> > Cc: 34206 <at> debbugs.gnu.org
> >
> > > > GDB log: https://pastebin.com/2uMPHCRV
> > >
> > > This seems to indicate your configuration is quite complex, and I
> > > cannot easily understand what are you doing that is different from
> > > the normal build and "emacs -Q" to start Emacs.  In particular, this:
> > >
> > >   $ gdb ./src/emacs-27.0.50.11
> > >   Reading symbols from ./src/emacs-27.0.50.11...done.
> > >   (gdb) r --dump-file="/home/compro/.emacs.d/.cache/dumps/spacemacs.pdmp"
> > >   Starting program: /home/compro/Downloads/git.savannah.gnu.org/git/emacs/src/emacs-27.0.50.11 --dump-file="/home/compro/.emacs.d/.cache/dumps/spacemacs.pdmp"
> > >
> > > indicates that your pdump file is spacemacs.pdmp, but I don't know how
> > > that file was produced, and I cannot easily understand what is
> > > different in your build procedure from the normal upstream build of
> > > Emacs.
> > I don't know if you can help me but I have some more information on
> > how the dump might be produced.
> >
> > https://github.com/Compro-Prasad/spacemacs/blob/pdumper-is-in-master/core/core-dumper.el#L68
>
> I don't think this helps much, as I don't really know anything about
> spacemacs and its build procedures.
Spacemacs is just another Emacs configuration. It doesn't mess with
the official Emacs source. This doesn't require any additional build
steps.
> > I went a bit further and tried executing the following using `C-x C-e`
> > while running spacemacs:
> >
> >    (dump-emacs-portable "~/test.pdmp")
> >
> > It gave me: eval: unsupported object type in dump: window configuration
> >
> > Is this a bug or I am supposed to run Emacs in batch mode while dumping?
>
> Yes, dump-emacs-portable can only be invoked in batch mode.
Thanks for the information.

Can you please give a simple example of the best way to dump Emacs and
reload the dump file? I would also appreciate any links to the Emacs
info manual.




This bug report was last modified 6 years and 198 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.