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:41:47 -0400 Message-ID: <87o8ffclb8.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> <87sg4rclim.fsf@md5i.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24081"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) 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 14:49:42 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 1lNFVW-0006Bb-3p for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Mar 2021 14:49:42 +0100 Original-Received: from localhost ([::1]:40894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNFVV-0004P2-2T for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Mar 2021 09:49:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNFO7-0004PG-Qd for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2021 09:42:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37544) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lNFO6-0004CG-HI for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2021 09:42:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lNFO6-0001Pu-Fe for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2021 09:42: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: Fri, 19 Mar 2021 13:42: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.16161613185435 (code B ref 47244); Fri, 19 Mar 2021 13:42:02 +0000 Original-Received: (at 47244) by debbugs.gnu.org; 19 Mar 2021 13:41:58 +0000 Original-Received: from localhost ([127.0.0.1]:49090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNFO2-0001Pb-7T for submit@debbugs.gnu.org; Fri, 19 Mar 2021 09:41:58 -0400 Original-Received: from md5i.com ([75.151.244.229]:40168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNFNz-0001PO-Fa for 47244@debbugs.gnu.org; Fri, 19 Mar 2021 09:41:56 -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=NeVSf1LwHAq2cDnscePNv+YJH2QLIB18Kmfl9dBGeyQ=; b=KpQ6i2Vy/qYVcthwONRkP3wjGX b7cx+OussgQ1o0hVl6MBV3dx7kIY+SY0G3AYdXbQsRwyg1kgFk0bT42UJ72MFQJ/tThWJUfga05Ki zx0538RjuzKzPInWZe7wjnW8n; 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 1lNFNs-002ocS-HN; Fri, 19 Mar 2021 09:41:48 -0400 In-Reply-To: <87sg4rclim.fsf@md5i.com> (Michael Welsh Duggan's message of "Fri, 19 Mar 2021 09:37:21 -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:202689 Archived-At: Michael Welsh Duggan writes: > 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. Also, if you let me know what you would like in the breakpoint command(s), let me know if I should first update to current master. -- Michael Welsh Duggan (md5i@md5i.com)