From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#47170: 28.0.50; [feature/native-comp] Native compilation sometimes crashes Date: Mon, 15 Mar 2021 20:20:18 +0200 Message-ID: <83zgz4e0t9.fsf@gnu.org> References: <8335wwfhef.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39884"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47170@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 15 19:45:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLsDG-000AEW-Gw for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Mar 2021 19:45:10 +0100 Original-Received: from localhost ([::1]:53140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLsDF-0004oR-FC for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Mar 2021 14:45:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLrpv-0007VP-F8 for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2021 14:21:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53748) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLrpu-0007jT-LC for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2021 14:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLrpu-0005Ea-I0 for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2021 14:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Mar 2021 18:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47170 X-GNU-PR-Package: emacs Original-Received: via spool by 47170-submit@debbugs.gnu.org id=B47170.161583243319992 (code B ref 47170); Mon, 15 Mar 2021 18:21:02 +0000 Original-Received: (at 47170) by debbugs.gnu.org; 15 Mar 2021 18:20:33 +0000 Original-Received: from localhost ([127.0.0.1]:37050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrpR-0005CO-Ez for submit@debbugs.gnu.org; Mon, 15 Mar 2021 14:20:33 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLrpQ-0005CB-6T for 47170@debbugs.gnu.org; Mon, 15 Mar 2021 14:20:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48573) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLrp9-0007QL-Rx; Mon, 15 Mar 2021 14:20:20 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1822 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lLrp1-0007X6-3c; Mon, 15 Mar 2021 14:20:10 -0400 In-Reply-To: <8335wwfhef.fsf@gnu.org> (message from Eli Zaretskii on Mon, 15 Mar 2021 19:36:40 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:202425 Archived-At: > Date: Mon, 15 Mar 2021 19:36:40 +0200 > From: Eli Zaretskii > > 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.