GNU bug report logs - #47170
28.0.50; [feature/native-comp] Native compilation sometimes crashes

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Mon, 15 Mar 2021 17:37:01 UTC

Severity: normal

Found in version 28.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: 47170 <at> debbugs.gnu.org
Subject: bug#47170: 28.0.50; [feature/native-comp] Native compilation sometimes crashes
Date: Mon, 15 Mar 2021 20:20:18 +0200
> Date: Mon, 15 Mar 2021 19:36:40 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> Not sure why, but manual compilation of some files started crashing
> today.

Actually, just starting Emacs crashes in the same way.  Note that the
crash is in functions from frame.el and faces.el.

I think this is somehow related to the situation that an Emacs which
has a native-compiled preloaded files in its pdumper file (and thus
loads them at startup) is used to native-compile those preloaded files
(in the case above, faces.el and frame.el).  This needs to overwrite
the .eln files loaded into the running process, and I think this
causes some trouble on Windows.  I will have to try to recreate this
and see what happens with the old and the new .eln files in such
cases.

For now, I just removed all the *.eln files and emacs.exe, and then
recompiled the *.el files and redumped Emacs.  As result, Emacs no
longer crashes on startup.




This bug report was last modified 4 years and 106 days ago.

Previous Next


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