From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47170: 28.0.50; [feature/native-comp] Native compilation sometimes crashes Date: Tue, 06 Apr 2021 08:27:52 +0000 Message-ID: References: <8335wwfhef.fsf@gnu.org> <83zgz4e0t9.fsf@gnu.org> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14531"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 47170@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 06 10:28:14 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 1lTh4I-0003ai-DS for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Apr 2021 10:28:14 +0200 Original-Received: from localhost ([::1]:43396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTh4H-000475-3k for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Apr 2021 04:28:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTh46-00046w-5L for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 04:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55853) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTh45-0003V3-Ur for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 04:28:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lTh45-0007hM-Rc for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 04:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Apr 2021 08:28:01 +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.161769767529579 (code B ref 47170); Tue, 06 Apr 2021 08:28:01 +0000 Original-Received: (at 47170) by debbugs.gnu.org; 6 Apr 2021 08:27:55 +0000 Original-Received: from localhost ([127.0.0.1]:39166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTh3z-0007h1-BC for submit@debbugs.gnu.org; Tue, 06 Apr 2021 04:27:55 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:58886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTh3x-0007gt-W7 for 47170@debbugs.gnu.org; Tue, 06 Apr 2021 04:27:54 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 1368Rqev012103 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 6 Apr 2021 08:27:53 GMT In-Reply-To: <83zgz4e0t9.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 15 Mar 2021 20:20:18 +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:203621 Archived-At: Eli Zaretskii writes: >> 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. Hi Eli, have you experienced any other of this kind crashes? Thanks Andrea