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#47244: 28.0.50; SIGSEGV in long-runnning Emacs Date: Fri, 19 Mar 2021 08:47:39 +0200 Message-ID: <83a6qzfxmc.fsf@gnu.org> 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> <83im5off16.fsf@gnu.org> <83h7l8fdfa.fsf@gnu.org> <871rccgqyz.fsf@igel.home> <83eegcfbrh.fsf@gnu.org> <8735wrrjx7.fsf@md5i.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16728"; mail-complaints-to="usenet@ciao.gmane.io" Cc: schwab@linux-m68k.org, 47244@debbugs.gnu.org, mwd@cert.org To: Michael Welsh Duggan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 19 07:50:19 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 1lN8xe-0004Gi-QU for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Mar 2021 07:50:18 +0100 Original-Received: from localhost ([::1]:55094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lN8xd-0008Ok-Px for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Mar 2021 02:50:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lN8vS-0007OQ-31 for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2021 02:48:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lN8vR-0006uX-QB for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2021 02:48:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lN8vR-0003HT-OS for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2021 02:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Mar 2021 06:48: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.161613646812592 (code B ref 47244); Fri, 19 Mar 2021 06:48:01 +0000 Original-Received: (at 47244) by debbugs.gnu.org; 19 Mar 2021 06:47:48 +0000 Original-Received: from localhost ([127.0.0.1]:48596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lN8vE-0003H2-1U for submit@debbugs.gnu.org; Fri, 19 Mar 2021 02:47:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lN8vC-0003Gp-Db for 47244@debbugs.gnu.org; Fri, 19 Mar 2021 02:47:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45168) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lN8v3-0006eY-4J; Fri, 19 Mar 2021 02:47:37 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3705 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lN8v2-0001OY-F0; Fri, 19 Mar 2021 02:47:36 -0400 In-Reply-To: <8735wrrjx7.fsf@md5i.com> (message from Michael Welsh Duggan on Thu, 18 Mar 2021 21:50:28 -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:202660 Archived-At: > From: Michael Welsh Duggan > Cc: Andreas Schwab , mwd@cert.org, mwd@md5i.com, > 47244@debbugs.gnu.org > Date: Thu, 18 Mar 2021 21:50:28 -0400 > > >> Perhaps during run_window_change_functions. > > > > Something like that, yes. But I don't understand how that can happen > > technically: kill-buffer selects another buffer when killing the > > current one. So how was that buffer killed, and yet stayed current? > > Hmm... Is there a set of printfs we could add that would provide useful > information for the next time I trigger the crash? I'm open to ideas. The problem is, killing buffers is so common in Emacs (including the temporary buffers you never even suspect are being used under the hood) that if you put a breakpoint there, even with some sophisticated condition that I don't yet know how to formulate, I'm afraid that will slow down Emacs so much you will be unable to work. But maybe my fears are exaggerated. If you set a breakpoint on Fkill_buffer with commands that say just silent continue end does Emacs run reasonably fast for you to be able to work in such a session?