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, 18 Mar 2021 14:54:19 -0400 Message-ID: References: <87im5ofp3z.fsf@md5i.com> <87czvwfoys.fsf@md5i.com> <83tup8fo1j.fsf@gnu.org> <87wnu4qvfi.fsf@md5i.com> <83sg4sfm1w.fsf@gnu.org> <83pmzwfgng.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="20290"; 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" , "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 Mar 18 19:55:20 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 1lMxnf-000570-NW for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Mar 2021 19:55:20 +0100 Original-Received: from localhost ([::1]:55950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMxne-0007gL-PW for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Mar 2021 14:55:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMxnS-0007gC-A0 for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2021 14:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36523) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMxnR-0001j0-V9 for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2021 14:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMxnR-0002Ea-TG for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2021 14:55: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: Thu, 18 Mar 2021 18:55: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.16160936728548 (code B ref 47244); Thu, 18 Mar 2021 18:55:01 +0000 Original-Received: (at 47244) by debbugs.gnu.org; 18 Mar 2021 18:54:32 +0000 Original-Received: from localhost ([127.0.0.1]:48069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMxmy-0002Do-AQ for submit@debbugs.gnu.org; Thu, 18 Mar 2021 14:54:32 -0400 Original-Received: from veto.sei.cmu.edu ([147.72.252.17]:54440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMxmv-0002DY-Pv for 47244@debbugs.gnu.org; Thu, 18 Mar 2021 14:54:30 -0400 Original-Received: from delp.sei.cmu.edu (delp.sei.cmu.edu [10.64.21.31]) by veto.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id 12IIsO8l015632; Thu, 18 Mar 2021 14:54:24 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 veto.sei.cmu.edu 12IIsO8l015632 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cert.org; s=yc2bmwvrj62m; t=1616093664; bh=XKxe3HKPaYulnSCQL0Wj5upDtdcItHFOyL6ecyq0CFs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=N1Atgp3EMn4QODyPhgcCvT+YeGQpOKGUXWJk74Ty5UPYWNxeFsgt5ki8G4lCxpuY6 4tFM2bN0j9NWsnhaXSkp5DVntdi8VXW/FedNR1JxOFmRayGEEeEGVlJUU/IAznz967 VMIVMGrC8tmuiNc3m1kr2vsOwaA2FA9v9GUQE1K8= Original-Received: from lx-birch.ad.sei.cmu.edu (lx-birch.ad.sei.cmu.edu [10.64.53.120]) by delp.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id 12IIsJUM028696; Thu, 18 Mar 2021 14:54:19 -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 12IIsJeP012944; Thu, 18 Mar 2021 14:54:19 -0400 Original-Received: (from mwd@localhost) by lx-birch.ad.sei.cmu.edu (8.14.7/8.14.7) id 12IIsJE8012941; Thu, 18 Mar 2021 14:54:19 -0400 X-Authentication-Warning: lx-birch.ad.sei.cmu.edu: mwd set sender to mwd@cert.org using -f In-Reply-To: <83pmzwfgng.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 18 Mar 2021 14:41:55 -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:202639 Archived-At: Eli Zaretskii writes: >> From: Michael Welsh Duggan >> Cc: Michael Welsh Duggan , >> "47244@debbugs.gnu.org" >> <47244@debbugs.gnu.org> >> Date: Thu, 18 Mar 2021 12:54:20 -0400 >> >> (gdb) p current_buffer->name_ >> $8 = XIL(0) >> (gdb) xstring >> $9 = (struct Lisp_String *) 0x0 >> "DEAD" > > So a buffer that was killed somehow became the current buffer, or the > selected buffer in some window. I have no idea how that could happen. > At this point, all I can suggest is to try making redisplay simply > return when faced with such buffers, which is really just a band-aid. > > Can you tell more about this "resetting" of Gnus, and what it means to > "switch VPN on/off"? Sure. To connect to work I have to start the VPN, which changes my network routing. When Gnus tries to fetch new messages over an existing IMAP connection (pre-VPN), it hangs. I `C-g' out of it, go to the server buffer (`^`), close the IMAP connection and then re-open it (`C O`). The crash happened when I hit `q` in the server buffer to get back to the Group buffer. This has happened several times, but the crash doesn't happen every time. I don't know that the VPN has anything to do with this; it might simply provide the impetus that leads to the problematic situation. I do have a gnus demon running in the background: (gnus-demon-add-handler 'gnus-demon-scan-news 5 nil) I don't know is this timer triggering at just the wrong time might contribute to this. If you want me to set a conditional breakpoint anywhere I can do that in hopes of capturing something more useful the next time this happens. -- Michael Welsh Duggan (mwd@cert.org)