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: Thu, 08 Apr 2021 13:15:54 -0400 Message-ID: References: <87im5ofp3z.fsf@md5i.com> <87czv6q1f8.fsf@md5i.com> <233daa4b-ca64-955f-2612-49a0503b1938@gmx.at> <8735w2p8oc.fsf@md5i.com> <5181da75-e80d-22e0-bdcb-a0ffdc1bac6a@gmx.at> <5c4e5857-6a76-b8e8-204b-b4a855e95a16@gmx.at> <8f4516d5-1080-71bb-7da7-acf7832d5529@gmx.at> <87r1jlvnrc.fsf@md5i.com> <871rbkn6op.fsf@md5i.com> <83pmz493ag.fsf@gnu.org> <83mtu891w0.fsf@gnu.org> <83k0pc90we.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="37225"; 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 Thu Apr 08 19:17:18 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 1lUYHN-0009az-Qp for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Apr 2021 19:17:17 +0200 Original-Received: from localhost ([::1]:51840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUYHM-00038R-QI for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Apr 2021 13:17:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUYH8-000365-Vw for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2021 13:17:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36576) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lUYH8-0001mC-My for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2021 13:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lUYH8-0002iC-HV for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2021 13:17:02 -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: Thu, 08 Apr 2021 17:17:02 +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.161790217310351 (code B ref 47244); Thu, 08 Apr 2021 17:17:02 +0000 Original-Received: (at 47244) by debbugs.gnu.org; 8 Apr 2021 17:16:13 +0000 Original-Received: from localhost ([127.0.0.1]:48120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUYGK-0002gt-No for submit@debbugs.gnu.org; Thu, 08 Apr 2021 13:16:13 -0400 Original-Received: from taper.sei.cmu.edu ([147.72.252.16]:36132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUYGA-0002fz-KD for 47244@debbugs.gnu.org; Thu, 08 Apr 2021 13:16:11 -0400 Original-Received: from korb.sei.cmu.edu (korb.sei.cmu.edu [10.64.21.30]) by taper.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id 138HFvnf003859; Thu, 8 Apr 2021 13:15:57 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 taper.sei.cmu.edu 138HFvnf003859 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cert.org; s=yc2bmwvrj62m; t=1617902157; bh=hLw1prcOGvVhyqYeQVQfGxJWDeY4Iw6faf7gUWO/FJY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=YHlK/2CJ3BQOsGWbXuHXNZDpPvp6vUumHeWuWFPkessmvQEwTiEGE2YmMRNzLBsWr G0OZFVeicyCg1Vrw9vWMZ7pvMjZvNRMVbRBYa5qtKanPxDBIpmwUYL7/0KGxzF7MF4 X4ipopr5i+FWMm3rx8LvVbZzWrfAwJIWmMduGYKo= 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 138HFsJ1013680; Thu, 8 Apr 2021 13:15:54 -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 138HFsKQ014777; Thu, 8 Apr 2021 13:15:54 -0400 Original-Received: (from mwd@localhost) by lx-birch.ad.sei.cmu.edu (8.14.7/8.14.7) id 138HFsk7014774; Thu, 8 Apr 2021 13:15:54 -0400 X-Authentication-Warning: lx-birch.ad.sei.cmu.edu: mwd set sender to mwd@cert.org using -f In-Reply-To: <83k0pc90we.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 8 Apr 2021 12:49:53 -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:203747 Archived-At: Eli Zaretskii writes: >> From: Michael Welsh Duggan >> Cc: "mwd@md5i.com" , >> "schwab@linux-m68k.org" >> , >> "47244@debbugs.gnu.org" <47244@debbugs.gnu.org> >> Date: Thu, 08 Apr 2021 12:37:41 -0400 >> >> >> (gdb) xlist >> >> $16 = 0xb820 >> >> Lisp_Symbol >> >> $17 = (struct Lisp_Symbol *) 0x555555e6e8a0 >> >> "quit" >> >> --- >> >> nil >> > >> > So is this the result of your typing C-g? >> >> Yes. In the scenario I have presented, this is where Emacs is >> unresponsive (busy cursor), presumably trying to interact with a network >> connection that has gone away to the VPN being switched on or off, and I >> type C-g twice rapidly in succession to regain interactivity, after >> which I would normally then attempt to manually reset the gnus >> connections. > > But then the buffer being killed is not the one you reported > originally, is it? You said the buffer that was killed was *Server*, > and here we see that a temporary buffer is being killed. Am I > confused? You're not confused, but the situation is confusing. There are two kill-buffer calls that are happening. The Vwindow_list was getting corrupted during the first, but that corruption did not cause a segfault, likely to that buffer (temp buffer) not being in a window. That corruption caused a segfault in the second. Martin's changes have caused an assertion to happen in the first instead. -- Michael Welsh Duggan (mwd@cert.org)