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#48337: Fwd: 28.0.50; Emacs crashing randomly (possibly minibuffer activity related) Date: Tue, 11 May 2021 15:21:50 +0300 Message-ID: <838s4l5uld.fsf@gnu.org> References: <87tunasd2u.fsf@linaro.org> <83fsyu57oj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6466"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, 48337@debbugs.gnu.org To: Alex =?UTF-8?Q?Benn=C3=A9e?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 11 14:23: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 1lgRPn-0001RN-Ge for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 May 2021 14:23:07 +0200 Original-Received: from localhost ([::1]:34018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgRPm-0007L1-Hn for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 May 2021 08:23:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgROk-0005XY-Ps for bug-gnu-emacs@gnu.org; Tue, 11 May 2021 08:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51937) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lgROk-0001zM-GX for bug-gnu-emacs@gnu.org; Tue, 11 May 2021 08:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lgROk-0004f0-CT for bug-gnu-emacs@gnu.org; Tue, 11 May 2021 08:22: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: Tue, 11 May 2021 12:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48337 X-GNU-PR-Package: emacs Original-Received: via spool by 48337-submit@debbugs.gnu.org id=B48337.162073571217873 (code B ref 48337); Tue, 11 May 2021 12:22:02 +0000 Original-Received: (at 48337) by debbugs.gnu.org; 11 May 2021 12:21:52 +0000 Original-Received: from localhost ([127.0.0.1]:35246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgROZ-0004eD-T1 for submit@debbugs.gnu.org; Tue, 11 May 2021 08:21:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgROY-0004dy-RM for 48337@debbugs.gnu.org; Tue, 11 May 2021 08:21:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47420) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgROS-0001r7-3e; Tue, 11 May 2021 08:21:44 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3488 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgROQ-00081y-JO; Tue, 11 May 2021 08:21:43 -0400 In-Reply-To: (message from Alex =?UTF-8?Q?Benn=C3=A9e?= on Tue, 11 May 2021 07:51:20 +0100) 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:206221 Archived-At: > From: Alex Bennée > Date: Tue, 11 May 2021 07:51:20 +0100 > Cc: 48337@debbugs.gnu.org, Alan Mackenzie > > I can now recreate at will with a magit sequence (l o hackbox/ TAB) which triggers a minibuffer re-size to > accommodate the list of git branches: > > (gdb) info frame 0 > Stack frame at 0x7fffffffb2e0: > rip = 0x5555556a80ef in Factive_minibuffer_window (minibuf.c:230); saved rip = 0x5555556f52ab > called by frame at 0x7fffffffb340 > source language c. > Arglist at 0x7fffffffb2c8, args: > Locals at 0x7fffffffb2c8, Previous frame's sp is 0x7fffffffb2e0 > Saved registers: > rip at 0x7fffffffb2d8 > (gdb) x/5i $pc > => 0x5555556a80ef : mov -0x3(%rax),%r10 > 0x5555556a80f3 : lea -0x3(%rdx),%eax > 0x5555556a80f6 : test $0x7,%al > 0x5555556a80f8 : jne 0x5555556a8153 > > 0x5555556a80fa : nopw 0x0(%rax,%rax,1) > (gdb) p/x $rax > $4 = 0x0 > (gdb) p/x $r10 > $5 = 0x7fffeece9c6d > (gdb) l > 225 Lisp_Object innermost_MB; > 226 > 227 if (!minibuf_level) > 228 return Qnil; > 229 > 230 innermost_MB = nth_minibuffer (minibuf_level); > 231 FOR_EACH_FRAME (frames, frame) > 232 { > 233 f = XFRAME (frame); > 234 if (FRAME_LIVE_P (f) > (gdb) p minibuf_level > $6 = 2 > (gdb) p Vminibuffer_list > $7 = (Lisp_Object) 0x555555c9aca3 > (gdb) p $* > A syntax error in expression, near `'. > (gdb) p *$ > $8 = > (gdb) > > Let me know if you want something else. I want this: (gdb) pp Vminibuffer_list If GDB says it doesn't know "pp", you need to source the .gdbinit file in the Emacs's src directory. Thanks.