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: Fri, 12 Mar 2021 21:32:49 +0200 Message-ID: <83pn04jhge.fsf@gnu.org> References: <83sg52lykn.fsf@gnu.org> <83mtv8lrmf.fsf@gnu.org> <83czw4lelg.fsf@gnu.org> <835z1wl6ao.fsf@gnu.org> <83zgz8jq7t.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35556"; 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 Fri Mar 12 20:33:21 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 1lKnXE-00095L-9Y for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Mar 2021 20:33:20 +0100 Original-Received: from localhost ([::1]:58438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKnXD-0005de-BA for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Mar 2021 14:33:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKnWw-0005bX-A9 for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 14:33:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46895) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKnWv-00010a-Tb for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 14:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKnWv-0000BG-Qj for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 14:33:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Mar 2021 19:33:01 +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.1615577577683 (code B ref 47067); Fri, 12 Mar 2021 19:33:01 +0000 Original-Received: (at 47067) by debbugs.gnu.org; 12 Mar 2021 19:32:57 +0000 Original-Received: from localhost ([127.0.0.1]:58441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKnWr-0000Ax-Is for submit@debbugs.gnu.org; Fri, 12 Mar 2021 14:32:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKnWq-0000Al-Ew for 47067@debbugs.gnu.org; Fri, 12 Mar 2021 14:32:56 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33730) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKnWl-0000tm-8J; Fri, 12 Mar 2021 14:32:51 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1963 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lKnWh-0005gs-2X; Fri, 12 Mar 2021 14:32:48 -0500 In-Reply-To: (message from Andrea Corallo on Fri, 12 Mar 2021 19:04:07 +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:202196 Archived-At: > From: Andrea Corallo > Cc: 47067@debbugs.gnu.org > Date: Fri, 12 Mar 2021 19:04:07 +0000 > > > Just evaluating c-beginning-of-statement-1 doesn't help. But if I > > load cc-engine.el, then the crash goes away. > > Okay, then probably is one of the other four c-* functions we see in the > backtrace. Yes, but how to determine which one? > > (Btw, if I load cc-engine.elc, it says it loads the .eln file > > instead? is that intentional?) > > Yes, .eln load is "transparent" and triggered automatically while > loading a .elc file when the corresponding .eln is found in the > `comp-eln-load-path'. > > To force the .elc to be loaded one has to bind `load-no-native' to > non-nil. I think if load-file is invoked interactively, and the user actually types "foo.elc", we need to bind load-no-native non-nil automatically. Otherwise users would be surprised, as it goes against the logic of what we do when the user types "foo.el".