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: Sun, 14 Mar 2021 09:48:49 +0200 Message-ID: <83czw2gopq.fsf@gnu.org> References: <83sg52lykn.fsf@gnu.org> <83czw4lelg.fsf@gnu.org> <83mtv8jgn2.fsf@gnu.org> <834khfjv7q.fsf@gnu.org> <83tupfia1m.fsf@gnu.org> <83mtv7hy5c.fsf@gnu.org> <83k0qbhvnh.fsf@gnu.org> <83czw3hu5f.fsf@gnu.org> <83k0qagtfe.fsf@gnu.org> <83im5ugpym.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28763"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pipcet@gmail.com, 47067@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 14 08:49: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 1lLLUw-0007Mf-4a for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Mar 2021 08:49:14 +0100 Original-Received: from localhost ([::1]:44838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLLUu-0002CW-Qe for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Mar 2021 03:49:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLLUo-0002CD-0b for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 03:49:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49581) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLLUk-0006DB-KD for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 03:49:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLLUk-0000bf-Hf for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 03:49: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: Sun, 14 Mar 2021 07:49: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.16157081272311 (code B ref 47067); Sun, 14 Mar 2021 07:49:02 +0000 Original-Received: (at 47067) by debbugs.gnu.org; 14 Mar 2021 07:48:47 +0000 Original-Received: from localhost ([127.0.0.1]:32894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLLUV-0000bD-B7 for submit@debbugs.gnu.org; Sun, 14 Mar 2021 03:48:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLLUU-0000az-G6 for 47067@debbugs.gnu.org; Sun, 14 Mar 2021 03:48:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49304) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLLUP-00062h-6G; Sun, 14 Mar 2021 03:48:41 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4337 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lLLUO-00037K-6x; Sun, 14 Mar 2021 03:48:41 -0400 In-Reply-To: (message from Andrea Corallo on Sun, 14 Mar 2021 07:31:14 +0000) 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:202344 Archived-At: > From: Andrea Corallo > Cc: pipcet@gmail.com, 47067@debbugs.gnu.org > Date: Sun, 14 Mar 2021 07:31:14 +0000 > > >> > > > > Shouldn't that bump the ABI number as well? > > Right good point I think it should. > > Anyway thinking about: this should be good for a quick test maybe > removing (or renaming) the discussed .eln. But if it proves this to be > the bug you'll have to rebuild from scratch to have a reliable system > anyway , as the ABI number will not cover us for the native code that > was already dumped with the image. Sorry, I don't understand: what is the procedure for testing this patch? I thought I should do this, in the order specified: . apply the patch . increase the ABI version . rebuild Emacs . natively-compile all the preloaded Lisp files, then redump Emacs . visit a C file and let Emacs native-compile all the cc-*.el files . restart Emacs and try reproducing the crash Are there any shortcuts that don't run the risk of invalidating the test results? Since we are changing something so basic in how Lisp is native-compiled, and since non-local exits are so common on our sources, can I really do less than the above and be sure the solution works reliably?