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 21:48:57 +0200 Message-ID: <83lfapfrdi.fsf@gnu.org> References: <83sg52lykn.fsf@gnu.org> <83mtv8lrmf.fsf@gnu.org> <83czw4lelg.fsf@gnu.org> <83mtv8jgn2.fsf@gnu.org> <834khfjv7q.fsf@gnu.org> <83tupfia1m.fsf@gnu.org> <83mtv7hy5c.fsf@gnu.org> <831rcigc94.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11031"; 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 20:49:09 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 1lLWjc-0002ko-VZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Mar 2021 20:49:08 +0100 Original-Received: from localhost ([::1]:52636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLWjb-0003Vy-W4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Mar 2021 15:49:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLWjW-0003UA-4o for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 15:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50933) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLWjV-0004G2-QX for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 15:49:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLWjV-0000L6-OU for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 15:49:01 -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 19:49: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.16157513351291 (code B ref 47067); Sun, 14 Mar 2021 19:49:01 +0000 Original-Received: (at 47067) by debbugs.gnu.org; 14 Mar 2021 19:48:55 +0000 Original-Received: from localhost ([127.0.0.1]:34246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLWjO-0000Kk-M0 for submit@debbugs.gnu.org; Sun, 14 Mar 2021 15:48:54 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLWjM-0000KY-SY for 47067@debbugs.gnu.org; Sun, 14 Mar 2021 15:48:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58412) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLWjH-00049Z-K3; Sun, 14 Mar 2021 15:48:47 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1391 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lLWjH-0006pR-0J; Sun, 14 Mar 2021 15:48:47 -0400 In-Reply-To: (message from Andrea Corallo on Sun, 14 Mar 2021 19:00:26 +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:202387 Archived-At: > From: Andrea Corallo > Cc: Pip Cet , 47067@debbugs.gnu.org > Date: Sun, 14 Mar 2021 19:00:26 +0000 > > > Andrea, is it possible to have debug level 1 produce only the debug > > info within the generated code, and leave the pseudo-code dump for > > higher levels? If you don't have time to implement this yourself, can > > you instruct me what changes need to be made? I'd like to try > > recompiling everything with debug level 1 and see if that helps with > > the backtraces. > > Sure that's very easy (the attached should do the job), is this > something you'd like to have a local modification or a change in the > branch? I don't know yet. > If the case is the second before I'd just like to understand why the > Windows toolchain needs debug symbols for function names and if this is > a bug or the expected behavior. > > IME this was never the case on systems I've worked on and this is why I > though having debug symbols and dump pseudo C code together in the same > debug level made sense, essentially to allow stepping. I'm not yet sure there's something special on MS-Windows in this regard. After Pip's last patch I see much fewer "??" in the backtraces, and when they appear, there's something else wrong with the backtrace as a whole, for example it ends prematurely, before it gets all the way to 'main'. I don't yet understand why that happens, but it doesn't happen right away, the first backtraces I see are completely normal. My current observation is that the backtraces begin to show abnormalities as soon as Isearch calls sit-for (to show the lazy-highlight of matches). Before that, I see no "??" whatsoever. Let me try the patch you sent and see what I think about its effects.