From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.bugs Subject: bug#47244: 28.0.50; SIGSEGV in long-runnning Emacs Date: Mon, 29 Mar 2021 10:39:35 -0400 Message-ID: References: <87im5ofp3z.fsf@md5i.com> <83h7l8fdfa.fsf@gnu.org> <871rccgqyz.fsf@igel.home> <83eegcfbrh.fsf@gnu.org> <8735wrrjx7.fsf@md5i.com> <83a6qzfxmc.fsf@gnu.org> <87sg4rclim.fsf@md5i.com> <83k0q3dzj7.fsf@gnu.org> <83czvvdw7o.fsf@gnu.org> <14e14f28-7ece-cd98-5e49-d4583a0153a0@gmx.at> <16b279ef-a1c2-cd41-b18c-69383174c72a@gmx.at> <87a6qs7z60.fsf@md5i.com> <83eeg3kawg.fsf@gnu.org> <83y2e6kp9t.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9015"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "mwd@md5i.com" , "schwab@linux-m68k.org" , "47244@debbugs.gnu.org" <47244@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 29 16:40:35 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 1lQt4E-0002C0-T1 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Mar 2021 16:40:34 +0200 Original-Received: from localhost ([::1]:35472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQt4D-0007Jq-Q5 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Mar 2021 10:40:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQt3j-0007Jk-5m for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2021 10:40:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37667) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQt3i-0005tr-22 for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2021 10:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQt3h-0000Qt-V9 for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2021 10:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Welsh Duggan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Mar 2021 14:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47244 X-GNU-PR-Package: emacs Original-Received: via spool by 47244-submit@debbugs.gnu.org id=B47244.16170287931645 (code B ref 47244); Mon, 29 Mar 2021 14:40:01 +0000 Original-Received: (at 47244) by debbugs.gnu.org; 29 Mar 2021 14:39:53 +0000 Original-Received: from localhost ([127.0.0.1]:49213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQt3V-0000QO-Pg for submit@debbugs.gnu.org; Mon, 29 Mar 2021 10:39:53 -0400 Original-Received: from veto.sei.cmu.edu ([147.72.252.17]:40816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQt3T-0000Q9-6L for 47244@debbugs.gnu.org; Mon, 29 Mar 2021 10:39:49 -0400 Original-Received: from korb.sei.cmu.edu (korb.sei.cmu.edu [10.64.21.30]) by veto.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id 12TEdemR044654; Mon, 29 Mar 2021 10:39:40 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 veto.sei.cmu.edu 12TEdemR044654 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cert.org; s=yc2bmwvrj62m; t=1617028780; bh=lKdKlohxT6mA4dV96rxgdF/wL75hgCRIFg0EpW1p3j8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=lyiMMauQizf66dnCRrbfsQFaK0fQOPMjL1RiTUZIhlj9TVwAnv4fDM+lQZP/YdcrP 0xCqukkIZk04sbvk6brLTbB5GgJ9TVMGfeWBi7dZYan36Fy1H1mOI3Mo+Rv9Dcy3ED 2Hh+lbeEA0riGwwUhNevG39Zk6EUN/SdONxW4CTc= Original-Received: from lx-birch.ad.sei.cmu.edu (lx-birch.ad.sei.cmu.edu [10.64.53.120]) by korb.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id 12TEdZpT002723; Mon, 29 Mar 2021 10:39:35 -0400 Original-Received: from lx-birch.ad.sei.cmu.edu (localhost [127.0.0.1]) by lx-birch.ad.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id 12TEdZIv011949; Mon, 29 Mar 2021 10:39:35 -0400 Original-Received: (from mwd@localhost) by lx-birch.ad.sei.cmu.edu (8.14.7/8.14.7) id 12TEdZf1011946; Mon, 29 Mar 2021 10:39:35 -0400 X-Authentication-Warning: lx-birch.ad.sei.cmu.edu: mwd set sender to mwd@cert.org using -f In-Reply-To: <83y2e6kp9t.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 29 Mar 2021 10:28:30 -0400") 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:203240 Archived-At: Eli Zaretskii writes: >> From: Michael Welsh Duggan >> Cc: Michael Welsh Duggan , "rudalics@gmx.at" >> , >> "schwab@linux-m68k.org" , >> "47244@debbugs.gnu.org" <47244@debbugs.gnu.org> >> Date: Mon, 29 Mar 2021 10:06:43 -0400 >> >> #0 set_buffer_internal_2 (b=0x5555578f43d8) at ../../master/src/buffer.c:2155 >> old_buf = 0x555555593480 <_start> >> tail = XIL(0) >> #1 0x0000555555713f28 in set_buffer_internal_1 (b=0x1) >> at ../../master/src/buffer.c:2141 >> #2 0x00005555556e4ec6 in set_buffer_internal (b=0x5555578f43d8) >> at ../../master/src/buffer.h:1184 >> #3 0x00005555556e6b21 in command_loop_1 () at ../../master/src/keyboard.c:1289 >> cmd = XIL(0x7fffffffde10) >> keybuf = >> {XIL(0), XIL(0x7ffff2c27c1d), XIL(0x555555765cd4), XIL(0x11cf6b0), XIL(0x7fffffffdd70), XIL(0x55555579e20b), XIL(0x11cf6b0), XIL(0x7ffff257e4c4), XIL(0x555559de7123), XIL(0x7ffff2c27c1d), XIL(0x7ffff2c27c1d), XIL(0x555559de7123), XIL(0x7ffff257e4c4), XIL(0x11cf6b0), XIL(0), XIL(0), XIL(0x555555cc5f80), XIL(0), XIL(0), XIL(0x7fffffffdd70), XIL(0x5555556e3c73), XIL(0xffffddc0), XIL(0x555555cc5f80), XIL(0), XIL(0), XIL(0x7fffffffdda0), XIL(0x555555797d03), make_fixnum(0), XIL(0x7fffffffdde0), XIL(0x55555579b3f4)} >> i = 1 >> prev_modiff = 0 >> prev_buffer = 0x0 >> already_adjusted = false > > OK, we are switching to the selected window's buffer, and that buffer > was deleted. We still don't understand how this happens. Martin, any > ideas? > > Please show the results of these commands: > > (gdb) p current_buffer->name_ > (gdb) xstring > (gdb) frame 3 > (gdb) p cmd > (gdb) xtype (gdb) p current_buffer->name_ $4 = XIL(0x5555573519f4) (gdb) xstring $5 = (struct Lisp_String *) 0x5555573519f0 " *nntpd*" (gdb) frame 3 #3 0x00005555556e6b21 in command_loop_1 () at ../../master/src/keyboard.c:1289 1289 set_buffer_internal (XBUFFER (XWINDOW (selected_window)->contents)); (gdb) p cmd $6 = XIL(0x7fffffffde10) (gdb) xtype Lisp_Symbol I add also the following: (gdb) p cmd $7 = XIL(0x7fffffffde10) (gdb) xsymbol $8 = (struct Lisp_Symbol *) 0xd55555cc3d90 Cannot access memory at address 0xd55555cc3d98 -- Michael Welsh Duggan (mwd@cert.org)