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: Fri, 19 Mar 2021 09:37:21 -0400 Message-ID: <87sg4rclim.fsf@md5i.com> 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> <83a6qzfxmc.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="3828"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Michael Welsh Duggan , schwab@linux-m68k.org, 47244@debbugs.gnu.org, mwd@cert.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 19 14:45:29 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 1lNFRP-0000qL-WA for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Mar 2021 14:45:28 +0100 Original-Received: from localhost ([::1]:57492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNFRP-0007y6-04 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Mar 2021 09:45:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNFKE-00085J-1o for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2021 09:38:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37534) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lNFKD-0001va-PE for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2021 09:38:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lNFKD-0001Jd-Jk for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2021 09:38: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: Fri, 19 Mar 2021 13:38: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.16161610525019 (code B ref 47244); Fri, 19 Mar 2021 13:38:01 +0000 Original-Received: (at 47244) by debbugs.gnu.org; 19 Mar 2021 13:37:32 +0000 Original-Received: from localhost ([127.0.0.1]:49080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNFJk-0001Is-Bg for submit@debbugs.gnu.org; Fri, 19 Mar 2021 09:37:32 -0400 Original-Received: from md5i.com ([75.151.244.229]:40118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNFJh-0001Ie-Be for 47244@debbugs.gnu.org; Fri, 19 Mar 2021 09:37:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References: Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=VFOc2i3SbARyhMWolcoekcDVkHPx2m2W8zvoabz183I=; b=cPIhaD9JM5yZ1rAPXJS8x2BzVB RToQcRbiRGooM6e7XhINUqWVRU51F5gVD6ywlv07jvXZ4iX3ZYxj5fQSY4JdN4BA5bgWHsruPkbW/ AV69pkL4RUONuohrRc6G6BU3Q; Original-Received: from abode.md5i.com ([192.168.177.1] helo=miko) by md5i.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lNFJa-002obc-7G; Fri, 19 Mar 2021 09:37:21 -0400 In-Reply-To: <83a6qzfxmc.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 19 Mar 2021 08:47:39 +0200") 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:202687 Archived-At: Eli Zaretskii writes: >> 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? I just tested this. It runs fast enough even without silent. (I did this to make sure I had set up the breakpoint correctly and it was being triggered. -- Michael Welsh Duggan (md5i@md5i.com)