From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#47244: 28.0.50; SIGSEGV in long-runnning Emacs Date: Fri, 19 Mar 2021 09:15:07 +0100 Message-ID: <91a20795-4dc5-0007-42a0-7b9fbb011058@gmx.at> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34133"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mwd@md5i.com, 47244@debbugs.gnu.org, mwd@cert.org To: Eli Zaretskii , Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 19 09:16:39 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 1lNAJC-0008lU-Rc for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Mar 2021 09:16:38 +0100 Original-Received: from localhost ([::1]:51844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNAJB-0001V3-Ss for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Mar 2021 04:16:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNAIc-00012e-SJ for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2021 04:16:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37179) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lNAIc-0004A9-J2 for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2021 04:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lNAIc-0006Of-F7 for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2021 04:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Mar 2021 08:16: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.161614172322384 (code B ref 47244); Fri, 19 Mar 2021 08:16:02 +0000 Original-Received: (at 47244) by debbugs.gnu.org; 19 Mar 2021 08:15:23 +0000 Original-Received: from localhost ([127.0.0.1]:48720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNAHz-0005oh-Je for submit@debbugs.gnu.org; Fri, 19 Mar 2021 04:15:23 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:56337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNAHy-0005i6-6P for 47244@debbugs.gnu.org; Fri, 19 Mar 2021 04:15:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1616141710; bh=prghTKFdQm2ZkYv/1DyMz96dJaD0+M6uXarzaG0K7YM=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=RP0G7r3+lVqoc68XxUjBbiV7ADpiYTK/deHP6IFUkBdGlGdWuZa9zVMoMANqXqABm RYi6Fsmk5FQGMoix3m9ptZ7jnbB3ZEX0/BYjqv7LuRS+/0Y9qBKYz8P5VLwkvHNCna sdVw0cobJPfBpkRq8F7D6552k+DRvp4D21UaUWdk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.100] ([213.142.96.218]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MPXhK-1l1dIV451W-00McMz; Fri, 19 Mar 2021 09:15:10 +0100 In-Reply-To: <83eegcfbrh.fsf@gnu.org> Content-Language: en-US X-Provags-ID: V03:K1:zFhNfy8r/kqbcqYh3WHSXVhVBfhc6r1koc8dWXEitszaFjqEMsS SmB82Pikch6Vryi6ZDKWfv6BJqWQ/K7SaPhtHo3z3VOLGoOyNYfv48sQoLNnz9CWFZ6lbLi i0AMogQF8xKKD0xjI/xKl5rLRtpPzkVMOeB90VPt+6dz9xiu8+HG/ocEUosJhDuVMd6/XpE p1c+ysbaq2p/3rvm0KB3w== X-UI-Out-Filterresults: notjunk:1;V03:K0:b+Q+REhdXCI=:aa5A9WNX3QiMDWFeHxsaGZ R6a9FgBa8Oq2W6a1elavdojjcSVISxetSF7S4+ybXOgcfa4GkUvc8gwBH/n+7DDqaXvatxD65 ZmswiHRoJJb00iNiw5Rpg3XQ1PVZlog3lqDsdmAZ8cN4ySlZtlghNIj31QHYkut1VmxSfr/DN 8QNa9EHlop8LXiuhje9fJFDH+yY+yRXQnr53iULkk+SXeJbHX2myYZMp6xbIMDYJ7AT9vpCs1 WcMOyizq5hAKXIwU7zacr9MMZRYtvR/qTeMQJMzkL8O4JHN20EgG1jgzCEcfms0tp+BVbmw9C LklVpwa/xLA9t8rLn6OW520aZea1Tk3lg+DSfcGfW3dpoqBCoWwbT+ATEXYzaVrfUVNVD792o r/VPDih0XJQ5YDZWfnDoUZpOFaF6Akk0IbSQs3eJTHMrmkR+4lKlTrA+sm6PXDXIp9OenVq4U SJd+fuDd9flnU/26KRsEdNs00bfQGiwl1Y1lvWz+DU12/uydu0+CaLk37DtRw0d2C8+TI0k5E YcKg9LxkxbmZUVR9y6+KG0vDVKAdxZPNI/J4Anblv8SeY/E9xEzkJ48MtVtlWC15ejOPLoW00 0ZHhoOn0qrye/j5XC/ub56I1verZhhmvh0G7o8h+oXNIzoZrcC9o75ZgHaxg2UGTJmY6DSmLP FPP/y7zW6Mn1PmzzkAOnXOX8nbhstAsbZ+V7llmV0o7/VLyzqL7uTYuDqAWl0khxbXRWih/9/ E+e0rDAmMCHhqXuvLWpUh5LxpA2Q9y3p/D1cEsaFEtLif09Rmwq009mQMq6OkagMg2h9wyDW 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:202666 Archived-At: >>> So the selected window's buffer was killed. How is that possible? >> >> 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? It's a problem of any hook we run during redisplay: (1) Redisplay chooses a window as the selected and its buffer as the current one. (2) Lisp code in a hook deletes that window and/or its buffer. (3) Redisplay continues to work on that window and/or its buffer as if it were still alive. martin