From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#39977: 28.0.50; Unhelpful stack trace Date: Fri, 13 Mar 2020 17:28:53 +0100 Message-ID: <550fbc22-09db-d30b-c194-8f26b5dca05f@gmx.at> References: <83zhcs80e5.fsf@gnu.org> <83imj88tpt.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="ciao.gmane.io:159.69.161.202"; logging-data="73049"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39977@debbugs.gnu.org To: Eli Zaretskii , enometh@meer.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 13 17:31:00 2020 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 1jCnDA-000IuH-IT for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Mar 2020 17:31:00 +0100 Original-Received: from localhost ([::1]:33806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCnD9-0006Ee-Dw for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Mar 2020 12:30:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57632) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCnCG-0006Dn-EL for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2020 12:30:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCnCF-0003vk-H1 for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2020 12:30:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54210) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCnCF-0003uP-D8 for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2020 12:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jCnCF-0008C5-AV for bug-gnu-emacs@gnu.org; Fri, 13 Mar 2020 12:30:03 -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, 13 Mar 2020 16:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39977 X-GNU-PR-Package: emacs Original-Received: via spool by 39977-submit@debbugs.gnu.org id=B39977.158411694931366 (code B ref 39977); Fri, 13 Mar 2020 16:30:03 +0000 Original-Received: (at 39977) by debbugs.gnu.org; 13 Mar 2020 16:29:09 +0000 Original-Received: from localhost ([127.0.0.1]:60179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCnBM-00089p-Kg for submit@debbugs.gnu.org; Fri, 13 Mar 2020 12:29:08 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:33679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCnBK-00089D-Ec for 39977@debbugs.gnu.org; Fri, 13 Mar 2020 12:29:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1584116935; bh=+/kaq8+5Qtt5uXu9m5k4JABIsesTcICQGtNXHdstIdU=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=YjpwOOHEhpQXObJxPdozm8IXlpWfIXGKSig7MNlctL6btfdOouI485w0aPiWrMxMp vPcq0XWcjvMAWkuVQVmimFgREQiPPw3DQuYK/DdeiLmgEFVU+y/pa2ftI1VEJzqDgx sUPdhDHMflwkZTaE0yPQfVvoYkT8r6Zb1jvzU7Lo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([46.125.249.120]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mjj8D-1ja0OC1HUh-00lA8o; Fri, 13 Mar 2020 17:28:55 +0100 In-Reply-To: <83imj88tpt.fsf@gnu.org> Content-Language: en-US X-Provags-ID: V03:K1:mdtpFr4US078oWHvwm6kehbD3rbWdtU60bnTLdqVT2hpP8INS5+ gEVZ4Psw7RqueZ/tPH8dK+7Oq6rqfzcAI5ANxD35Ol2cfOI7Jj/6WJzjFGWSKeqLVkdSQBz 4IoYweuFkYMMbvias+d07hpx1v25ddAKnOthYT+dTuiOOs7cvrvuwyLr8HY8wRpAPh23M7t HFzJ4B+WCgnGHa3Btdlkw== X-UI-Out-Filterresults: notjunk:1;V03:K0:Q5EkdDVVLYk=:mOh+G1iRISLefcetaj1yoK /ynSdNGpTmiPA3AzapqOElLUxfi5xzvi6pKNRCoR+ER81ymUiHUgqUsi6mkET7Mi/HIqg6AZn Bq/ppaLkHvAleuRX8P5tV0BpCDqSC/cMM5Caxn25Fu162Wgykj1+0RiHvVvT6h0+lMp8rs3Vf 35eb8n71D8rlyVfZNcCPg2s4Fs6b6KkjdUmqAqr3Hc01yEIS+hjkVyKF4Qu1cQ6hoOLGuzz4f YwJ1gf+4ZBd2j8/ucFmSmD/gpPGo714N9J4g16XGW/taBZZZgh5zX7PRDOg4Ac9RyBNb52kzg /RMCqdQoe31OhWiBzp1mS4CLKrrOhlb1zDB5YBve7YbcZmTtBLJuPf/FlNRHRVxd7AJTUayYH VV+d+DY1Q9jLgXWzLG22cMi22Bbqc8YFppcgYt7h7x5YgEXRUeiuET5Pf7sraALVO1ZdNuPGG Z6sISxj5lJ0nbQ+WQrK0bf1nP0pKVeyTgoy36RUyU76ytk4tGkfhbVHkaQrM8vNQjCTc9j000 PHqRVoMyfpYvnfbOR4otVXFC1t2t0aEPsNABbOtWft6Ts5L+oePGAOst/nNoKdOyxlvp4VZ9p mO2D+e9v5w6kNZq1+mzHp4/r0uKGUtGEzx7axR0HH/uuYFqFVE4x+pX5znFUWCbY9T6o0c2Gg vBQNG2l39G1+gmh7qJm/48+fdw9cuSy2vZA4sYPhQnklR4yn03JrnkKvbDutACSsqgA4JTTjc dkJfn/1yh0VP7ITmBQe4pxKCbtyIzF5AL02yMGG9dl1K31tpVoZK+Qney9XIoKQmAo4G8tga X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:177285 Archived-At: > Martin, any thoughts or comments about this? The selected frame must be invariantly live. Madhu, could you find out why we apparently manage to return from delete_frame in frame.c without selecting another frame? The dividing area is the part written as /* At this point, we are committed to deleting the frame. There is no more chance for errors to prevent it. */ minibuffer_selected = EQ (minibuf_window, selected_window); sf = SELECTED_FRAME (); /* Don't let the frame remain selected. */ if (f == sf) starting around line 2012 in delete_frame. Put a breakpoint anywhere there and run your sly function. If the (f == sf) check is not true, we are lost. Otherwise, try to step through the following FOR_EACH_FRAME and tell us why it doesn't break out of that loop (and the subsequent one). It requires a bit of intuition, but since you probably will not have more than one frame you should be able to find out quickly. Other than that I cannot imagine what could have gone wrong here and/or how to test this. In either case sf = NULL; is not TRT but I think you are aware of that. martin