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#47067: 28.0.50; [feature/native-comp] Crash while scrolling through dispnew.c Date: Sat, 20 Mar 2021 11:52:54 +0200 Message-ID: <83mtuycft5.fsf@gnu.org> References: <83sg52lykn.fsf@gnu.org> <83mtv8lrmf.fsf@gnu.org> <83czw4lelg.fsf@gnu.org> <835z1wl6ao.fsf@gnu.org> <83zgz8jq7t.fsf@gnu.org> <83pn04jhge.fsf@gnu.org> <838s6rjvup.fsf@gnu.org> <83pmzve442.fsf@gnu.org> <83ft0rdyld.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33237"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47067@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 20 10:54: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 1lNYJ7-0008XG-Kc for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Mar 2021 10:54:09 +0100 Original-Received: from localhost ([::1]:38896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNYJ6-0004P4-Im for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Mar 2021 05:54:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNYJ0-0004OW-MW for bug-gnu-emacs@gnu.org; Sat, 20 Mar 2021 05:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40001) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lNYJ0-0008Dp-EU for bug-gnu-emacs@gnu.org; Sat, 20 Mar 2021 05:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lNYJ0-00053v-DP for bug-gnu-emacs@gnu.org; Sat, 20 Mar 2021 05:54: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: Sat, 20 Mar 2021 09:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47067 X-GNU-PR-Package: emacs Original-Received: via spool by 47067-submit@debbugs.gnu.org id=B47067.161623398619390 (code B ref 47067); Sat, 20 Mar 2021 09:54:02 +0000 Original-Received: (at 47067) by debbugs.gnu.org; 20 Mar 2021 09:53:06 +0000 Original-Received: from localhost ([127.0.0.1]:51547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNYI5-00052g-Mv for submit@debbugs.gnu.org; Sat, 20 Mar 2021 05:53:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNYI3-00052A-0I for 47067@debbugs.gnu.org; Sat, 20 Mar 2021 05:53:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51870) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNYHx-0007d3-I2; Sat, 20 Mar 2021 05:52:57 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4082 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lNYHx-0005J9-1N; Sat, 20 Mar 2021 05:52:57 -0400 In-Reply-To: <83ft0rdyld.fsf@gnu.org> (message from Eli Zaretskii on Fri, 19 Mar 2021 16:09:34 +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:202734 Archived-At: A related question: what happens when a .el which was preloaded at some point is no longer preloaded? When it was preloaded, we had its .eln file under native/lisp/, but when it ceases to be preloaded, its name is removed from $shortlisp (in src/lisp.mk), and we no longer ELC+ELN it during the build. So we now have a stale .eln file in native-lisp, and at some future point in time, when that file is loaded into Emacs, it will be natively-compiled into ~/.emacs.d/eln-cache/. At which point we have 2 versions of the .eln file. Question #1: will Emacs load the up-to-date .eln file in eln-cache, or could it by any chance load the outdated file in native-lisp? Question #2: can we somehow remove the stale .eln file in these situations? Thanks.