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: Sat, 13 Mar 2021 19:26:48 +0200 Message-ID: <834khfhsmf.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> <83k0qbhvnh.fsf@gnu.org> <83czw3hu5f.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18711"; mail-complaints-to="usenet@ciao.gmane.io" Cc: akrl@sdf.org, 47067@debbugs.gnu.org To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 13 18:27:11 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 1lL82g-0004kj-TL for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Mar 2021 18:27:10 +0100 Original-Received: from localhost ([::1]:59126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lL82f-0001j2-W2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Mar 2021 12:27:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lL82Y-0001g8-5M for bug-gnu-emacs@gnu.org; Sat, 13 Mar 2021 12:27:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49083) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lL82X-0005TJ-UI for bug-gnu-emacs@gnu.org; Sat, 13 Mar 2021 12:27:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lL82X-00034W-QW for bug-gnu-emacs@gnu.org; Sat, 13 Mar 2021 12:27: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: Sat, 13 Mar 2021 17:27: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.161565641411795 (code B ref 47067); Sat, 13 Mar 2021 17:27:01 +0000 Original-Received: (at 47067) by debbugs.gnu.org; 13 Mar 2021 17:26:54 +0000 Original-Received: from localhost ([127.0.0.1]:60629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lL82Q-00034B-6t for submit@debbugs.gnu.org; Sat, 13 Mar 2021 12:26:54 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lL82M-00033q-Hn for 47067@debbugs.gnu.org; Sat, 13 Mar 2021 12:26:53 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38098) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lL82H-0005Rw-Ah; Sat, 13 Mar 2021 12:26:45 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3138 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lL82G-0001UV-7q; Sat, 13 Mar 2021 12:26:44 -0500 In-Reply-To: (message from Pip Cet on Sat, 13 Mar 2021 17:10:08 +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:202283 Archived-At: > From: Pip Cet > Date: Sat, 13 Mar 2021 17:10:08 +0000 > Cc: Andrea Corallo , 47067@debbugs.gnu.org > > > > It's a long function, that might not have been enough. > > > > But since I found those two, everything before that is irrelevant, > > right? > > Assuming all code paths hit these insns, yes. Then tell me how far back to go. Or, better yet, perhaps there's a way of displaying that code in C? > Since mingw (at least the version I could find) declares setjmp with > the "returns_twice" attribute, I'm assuming their implementation is > not such that you can call it through a function pointer. I think you are looking at a 64-bit MinGW64, but I'm out of my depth here anyway. If you want to pursue this further, the implementation I use is in MSVCRT.DLL. > > > > Note how arguments to Funcall's are the same, whereas arguments to > > > > funcall_lambda's aren't. Even the garbage in the 2 arguments to > > > > wrong_type_argument are identical. > > > > > > Which non-stack addresses are invariant in that backtrace? > > > > Not sure how stack-based vs non-stack based is important here. > > If non-stack addresses vary between runs and stack addresses don't, I > don't see any evidence we're looking at corruption here. Why would non-stack base addresses change? There's no ASLR here. Anyway, if that doesn't help, just forget it.