GNU bug report logs - #66744
30.0.50; Emacs crashes when re-dumping into the same dump file another Emacs instance is using

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Wed, 25 Oct 2023 10:01:02 UTC

Severity: normal

Tags: notabug, wontfix

Found in version 30.0.50

Fixed in version 30.1

Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 66744 <at> debbugs.gnu.org
Subject: bug#66744: 30.0.50; Emacs crashes when re-dumping into the same dump file another Emacs instance is using
Date: Thu, 26 Oct 2023 20:42:29 +0200
Ihor Radchenko <yantar92 <at> posteo.net> writes:

> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>> Then maybe I don't understand what bothers you.  What are the "changes
>> made to the dump file in step 3" to which you allude?  AFRAIU, step 3
>> simply loads the dump file, it doesn't change the file.  What did I
>> miss?
>
> step 1: create the dump file
> step 2: load Emacs with the created dump file
> step 3: repeat step 1 while Emacs is running -> running Emacs crashes
>      once I interact with its frame.
>
> Hope it is more clear.

Ihor, maybe you could run emacs in a debuuger with a breakpoint on dump_map_file, so that we know
for sure if mmap is called?

gdb emacs
(gdb) b dump_map_file
(gbd) r -Q --dump-file <file>  # or what the command line was...




This bug report was last modified 1 year and 205 days ago.

Previous Next


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