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#47067: 28.0.50; [feature/native-comp] Crash while scrolling through dispnew.c Date: Fri, 12 Mar 2021 19:04:07 +0000 Message-ID: References: <83sg52lykn.fsf@gnu.org> <83mtv8lrmf.fsf@gnu.org> <83czw4lelg.fsf@gnu.org> <835z1wl6ao.fsf@gnu.org> <83zgz8jq7t.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="12924"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 47067@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 12 20:45:23 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 1lKnis-0003GT-S2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Mar 2021 20:45:22 +0100 Original-Received: from localhost ([::1]:49908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKnir-0007hO-UD for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Mar 2021 14:45:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKn5q-0001YD-TV for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 14:05:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46817) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKn5q-00011t-KL for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 14:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKn5q-0005nk-EU for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 14:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Mar 2021 19:05: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.161557585522240 (code B ref 47067); Fri, 12 Mar 2021 19:05:02 +0000 Original-Received: (at 47067) by debbugs.gnu.org; 12 Mar 2021 19:04:15 +0000 Original-Received: from localhost ([127.0.0.1]:58363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKn54-0005me-Ro for submit@debbugs.gnu.org; Fri, 12 Mar 2021 14:04:15 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:54857) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKn4z-0005mQ-EY for 47067@debbugs.gnu.org; Fri, 12 Mar 2021 14:04:13 -0500 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12CJ4738012724 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Fri, 12 Mar 2021 19:04:08 GMT In-Reply-To: <83zgz8jq7t.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 12 Mar 2021 18:23: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:202198 Archived-At: Eli Zaretskii writes: >> From: Andrea Corallo >> Cc: 47067@debbugs.gnu.org >> Date: Fri, 12 Mar 2021 16:08:33 +0000 >> >> > And the corresponding Lisp backtrace: >> > >> > "c-beginning-of-statement-1" (0x826a08) >> > "c-just-after-func-arglist-p" (0x826be0) >> > "c-back-over-member-initializers" (0x826db8) >> > "c-font-lock-cut-off-declarators" (0x827050) >> > "font-lock-fontify-keywords-region" (0x8273a8) >> > "font-lock-default-fontify-region" (0x8276b8) >> > >> > (Don't ask me why "<", i.e. Flss, doesn't appear in the Lisp >> > backtrace: something strange happens with backtraces here, as I will >> > describe in another message. I think the "??" things in the backtrace >> > are related.) >> > >> > How do I go about finding the function that's responsible for the >> > problem given the above? The problem is 100% reproducible for me. >> >> One easy option is to evaluate say `c-beginning-of-statement-1' (as >> first defendant) and see if afterwards it still crashes. Same one can >> load entire files to exclude entirely their content from the equation. > > 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. > (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. Andrea