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: Sun, 14 Mar 2021 20:36:57 +0000 Message-ID: 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> <83lfapfrdi.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="21016"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: pipcet@gmail.com, 47067@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 14 21:37:25 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 1lLXUL-0005LV-9Z for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Mar 2021 21:37:25 +0100 Original-Received: from localhost ([::1]:44374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLXUJ-0006bR-U0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Mar 2021 16:37:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLXTx-0006bI-SW for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 16:37:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50972) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLXTx-000134-KN for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 16:37:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLXTx-0001XV-Hn for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 16:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Mar 2021 20:37: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.16157542205910 (code B ref 47067); Sun, 14 Mar 2021 20:37:01 +0000 Original-Received: (at 47067) by debbugs.gnu.org; 14 Mar 2021 20:37:00 +0000 Original-Received: from localhost ([127.0.0.1]:34285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLXTw-0001XG-JJ for submit@debbugs.gnu.org; Sun, 14 Mar 2021 16:37:00 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:52994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLXTu-0001X8-HI for 47067@debbugs.gnu.org; Sun, 14 Mar 2021 16:36:59 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12EKavuU010215 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sun, 14 Mar 2021 20:36:57 GMT In-Reply-To: <83lfapfrdi.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 14 Mar 2021 21:48:57 +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:202392 Archived-At: Eli Zaretskii writes: >> 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. Very dumb question, I guess you are (as opposed to me) already using a farly recent gdb correct? Andrea