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 10:02:19 +0200 Message-ID: <83a6r6go38.fsf@gnu.org> References: <83sg52lykn.fsf@gnu.org> <83mtv8lrmf.fsf@gnu.org> <83czw4lelg.fsf@gnu.org> <835z1wl6ao.fsf@gnu.org> <831rckl56k.fsf@gnu.org> <83o8fojgqy.fsf@gnu.org> <83lfarjzof.fsf@gnu.org> <83v99uhl73.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3225"; 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 Sun Mar 14 09:03:13 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 1lLLiT-0000j2-5p for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Mar 2021 09:03:13 +0100 Original-Received: from localhost ([::1]:48374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLLiS-0004LI-3k for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Mar 2021 04:03:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLLiI-0004L3-Sm for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 04:03:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLLiI-0006AM-Li for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 04:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLLiI-0000x4-IU for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 04:03: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 08:03: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.16157089433597 (code B ref 47067); Sun, 14 Mar 2021 08:03:02 +0000 Original-Received: (at 47067) by debbugs.gnu.org; 14 Mar 2021 08:02:23 +0000 Original-Received: from localhost ([127.0.0.1]:32904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLLhf-0000vv-0N for submit@debbugs.gnu.org; Sun, 14 Mar 2021 04:02:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLLhc-0000vi-T0 for 47067@debbugs.gnu.org; Sun, 14 Mar 2021 04:02:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49411) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLLhX-0005kx-FC; Sun, 14 Mar 2021 04:02:15 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1197 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lLLhS-0005Op-Ep; Sun, 14 Mar 2021 04:02:12 -0400 In-Reply-To: (message from Andrea Corallo on Sun, 14 Mar 2021 07:19:17 +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:202346 Archived-At: > From: Andrea Corallo > Cc: Eli Zaretskii , 47067@debbugs.gnu.org > Date: Sun, 14 Mar 2021 07:19:17 +0000 > > Okay with a trunk gdb I'm able to debug... Yes, 8.2 is quite an old version. > Here is my backtrace for the suggested reproducer on my Emacs configured > with --with-wide-int --enable-checking=yes,glyphs and compiled with the > default `comp-debug' 0. Thanks. However, your build is optimized, whereas mine isn't. This has a significant effect on the backtrace (static functions are inlined and don't appear in the backtrace). Please reconfigure with CFLAGS='-O0 -g3' (and the rest of the switches as you used them for this build), and show the backtrace after rebuilding. As I established earlier, in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=47067#80 https://debbugs.gnu.org/cgi/bugreport.cgi?bug=47067#83 the code which GDB fails to identify with any symbols calls Emacs primitives via freloc.link_table. Where is the C source for this code? If there is no C source, then how is that code generated? > Emacs does not crash if then I continue and scroll through down through > in the file. And if you type "C-s sleep"?