From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25875: 26.0.50; Hang logging out of MS-Windows Date: Sun, 26 Feb 2017 17:47:03 +0200 Message-ID: <83d1e5q7ig.fsf@gnu.org> References: <83k28eqa82.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1488124095 1542 195.159.176.226 (26 Feb 2017 15:48:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 26 Feb 2017 15:48:15 +0000 (UTC) Cc: 25875@debbugs.gnu.org To: Richard Copley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 26 16:48:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ci13O-000829-Az for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Feb 2017 16:48:06 +0100 Original-Received: from localhost ([::1]:47310 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ci13U-00042a-9e for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Feb 2017 10:48:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ci13O-00042K-0o for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2017 10:48:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ci13K-0000rX-SK for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2017 10:48:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58725) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ci13K-0000rP-OZ for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2017 10:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ci13K-00033T-IX for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2017 10:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Feb 2017 15:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25875 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25875-submit@debbugs.gnu.org id=B25875.148812405411704 (code B ref 25875); Sun, 26 Feb 2017 15:48:02 +0000 Original-Received: (at 25875) by debbugs.gnu.org; 26 Feb 2017 15:47:34 +0000 Original-Received: from localhost ([127.0.0.1]:56924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ci12s-00032i-0n for submit@debbugs.gnu.org; Sun, 26 Feb 2017 10:47:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46073) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ci12q-00032U-7n for 25875@debbugs.gnu.org; Sun, 26 Feb 2017 10:47:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ci12i-0000dO-0Y for 25875@debbugs.gnu.org; Sun, 26 Feb 2017 10:47:27 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ci12h-0000dK-TL; Sun, 26 Feb 2017 10:47:23 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2010 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ci12h-0002xM-2d; Sun, 26 Feb 2017 10:47:23 -0500 In-reply-to: (message from Richard Copley on Sat, 25 Feb 2017 21:13:57 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129822 Archived-At: > From: Richard Copley > Date: Sat, 25 Feb 2017 21:13:57 +0000 > Cc: 25875@debbugs.gnu.org > > On 25 February 2017 at 20:36, Eli Zaretskii wrote: > >> From: Richard Copley > >> Date: Sat, 25 Feb 2017 19:41:25 +0000 > >> > >> Perhaps not a deadlock: I just ran "taskkill /im emacs.exe" and the > >> process woke up > >> and signaled a Lisp error: > >> > >> Debugger entered--Lisp error: (error "Attempt to delete a surrogate > >> minibuffer frame") > >> delete-frame(# >> 0000000400a51890> t) > > > > Is this indeed a surrogate minibuffer frame? If so, how come it's > > being deleted? > > An Ediff control-panel was present. The main frame was the > surrogate minibuffer frame for the minibufferless Ediff frame. In > that situation, clicking the close button on the main frame gives > that same error. I think this frame was an indirect reason for the hang. > I surmise that WM_QUERY_END_SESSION goes down the same code > path (?). Hmm... I don't see WM_QUERY_END_SESSION in our sources. What am I missing?