From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#14333: 24.3.50; Emacs hangs when trying to exit Date: Mon, 30 Jun 2014 18:33:42 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1404146075 2286 80.91.229.3 (30 Jun 2014 16:34:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Jun 2014 16:34:35 +0000 (UTC) To: "14333@debbugs.gnu.org" <14333@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 30 18:34:24 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X1eX7-0007KI-I9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jun 2014 18:34:21 +0200 Original-Received: from localhost ([::1]:35563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1eX7-0002zZ-1Z for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jun 2014 12:34:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1eWv-0002sO-4R for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2014 12:34:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X1eWo-0007Hc-Ip for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2014 12:34:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46963) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1eWo-0007HT-FS for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2014 12:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X1eWn-0003yP-R1 for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2014 12:34:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jun 2014 16:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14333 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 14333-submit@debbugs.gnu.org id=B14333.140414603215257 (code B ref 14333); Mon, 30 Jun 2014 16:34:01 +0000 Original-Received: (at 14333) by debbugs.gnu.org; 30 Jun 2014 16:33:52 +0000 Original-Received: from localhost ([127.0.0.1]:38113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X1eWd-0003xz-VF for submit@debbugs.gnu.org; Mon, 30 Jun 2014 12:33:52 -0400 Original-Received: from mail-la0-f54.google.com ([209.85.215.54]:36238) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X1eWb-0003xm-Bo for 14333@debbugs.gnu.org; Mon, 30 Jun 2014 12:33:50 -0400 Original-Received: by mail-la0-f54.google.com with SMTP id mc6so5108719lab.27 for <14333@debbugs.gnu.org>; Mon, 30 Jun 2014 09:33:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=PmlX1/x3lDi3B2MsffE/cIkeCqZD3cVu6l0LgmXpwfI=; b=JNm9uWZam5Q4wjUbPwEncP1atB9zClWMMD/hfX6IpOkvV/VJRA2rNQwTT9rA6dUQDj xrLjyUhNS6Zxv6fuVFkgCw5PO/sBVHc90ewiQNh3NmbZVR0U4QZq1+337ikyH6KUHsGG nMkbfzLBomKnlfUAjzHFvFHjrBL9RTdhHw7+IQtWCnKP4wfbpQzrz6XsVmcalJA59WnQ e78nUjPu2uloANVjB4bBZ82bqIBViD/oKfI+5SDPtwGcBUXseT6DmRqED2fqShwHcE59 6p+MBFBNpLBobR8xYWTidVBOiBS8v84kmHufGYg3r8V9YDBjFZgoMxjegbV8+Fd5tFeH N1Ow== X-Received: by 10.152.5.4 with SMTP id o4mr2646697lao.64.1404146023114; Mon, 30 Jun 2014 09:33:43 -0700 (PDT) Original-Received: by 10.114.241.106 with HTTP; Mon, 30 Jun 2014 09:33:42 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91010 Archived-At: I still keep getting hung sessions while trying to exit. For example just now, with a recent version of Emacs under MS-Windows: In GNU Emacs 24.4.50.1 (i686-pc-mingw32) of 2014-06-15 on LEG570 Repository revision: 117347 rgm@gnu.org-20140615175930-x692pxm647xqo0et Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'. I've been able to attach gdb to the hung process, and get a full backtrace (see below). I will leave the session open, in case you need me to print some values. (gdb) thread apply all bt full Thread 5 (Thread 4356.0x1b1c): #0 0x7720000d in ntdll!DbgBreakPoint () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #1 0x7728f8ee in ntdll!DbgUiRemoteBreakin () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #2 0x7ea7cdd7 in ?? () No symbol table info available. #3 0x00000000 in ?? () No symbol table info available. Thread 4 (Thread 4356.0x17b0): #0 0x7720f8d1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #1 0x7720f8d1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #2 0x7722b4b4 in ntdll!RtlIntegerToUnicodeString () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #3 0x7722b398 in ntdll!RtlIntegerToUnicodeString () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #4 0x7724650d in ntdll!LdrShutdownThread () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #5 0x772f20c0 in ntdll!NlsAnsiCodePage () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #6 0x7213cd27 in ?? () No symbol table info available. #7 0x00000000 in ?? () No symbol table info available. Thread 3 (Thread 4356.0x1798): #0 0x758778d7 in USER32!DispatchMessageW () from C:\Windows\syswow64\user32.dll No symbol table info available. #1 0x011f62d6 in w32_msg_pump (msg_buf=0x73dff28) at c:/msys/home/Dani/emacs/trunk/src/w32fns.c:2449 msg = {hwnd = 0x50ad8, message = 275, wParam = 1, lParam = 0, time = 34482460, pt = {x = 223, y = 444}} result = 0 focus_window = 0x403 #2 0x011f6514 in w32_msg_worker@4 (arg=0x0) at c:/msys/home/Dani/emacs/trunk/src/w32fns.c:2675 msg = {hwnd = 0x0, message = 0, wParam = 0, lParam = 0, time = 0, pt = {x = 0, y = 0}} dummy_buf = {next = 0x0, w32msg = {msg = {hwnd = 0x0, message = 0, wParam = 0, lParam = 0, time = 0, pt = {x = 0, y = 0}}, dwModifiers = 0, rect = {left = 0, top = 0, right = 0, bottom = 0}}, result = 0, completed = 0} #3 0x751b338a in KERNEL32!BaseThreadInitThunk () from C:\Windows\syswow64\kernel32.dll No symbol table info available. #4 0x7722bf32 in ntdll!RtlInitializeExceptionChain () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #5 0x7722bf05 in ntdll!RtlInitializeExceptionChain () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #6 0x00000000 in ?? () No symbol table info available. Thread 2 (Thread 4356.0xacc): #0 0x7721015d in ntdll!ZwWaitForMultipleObjects () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #1 0x7721015d in ntdll!ZwWaitForMultipleObjects () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #2 0x7722c6c5 in ntdll!RtlRegisterThreadWithCsrss () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #3 0x751b338a in KERNEL32!BaseThreadInitThunk () from C:\Windows\syswow64\kernel32.dll No symbol table info available. #4 0x7722bf32 in ntdll!RtlInitializeExceptionChain () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #5 0x7722bf05 in ntdll!RtlInitializeExceptionChain () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #6 0x00000000 in ?? () No symbol table info available. Thread 1 (Thread 4356.0x1e00): #0 0x7720f8d1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #1 0x7720f8d1 in ntdll!ZwWaitForSingleObject () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #2 0x7722b4b4 in ntdll!RtlIntegerToUnicodeString () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #3 0x7722b398 in ntdll!RtlIntegerToUnicodeString () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #4 0x77233ab8 in ntdll!LdrUnloadDll () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #5 0x772f20c0 in ntdll!NlsAnsiCodePage () from C:\Windows\SysWOW64\ntdll.dll No symbol table info available. #6 0x772fdb73 in ?? () No symbol table info available. #7 0x087c0878 in ?? () No symbol table info available. #8 0x76a62d2c in KERNELBASE!FreeLibrary () from C:\Windows\syswow64\KernelBase.dll No symbol table info available. #9 0x6e52c1ad in NSPStartup () from C:\Windows\System32\mswsock.dll No symbol table info available. #10 0x6e52c207 in NSPStartup () from C:\Windows\System32\mswsock.dll No symbol table info available. #11 0x76aaaf4c in WahEnumerateHandleContexts () from C:\Windows\syswow64\ws2_32.dll No symbol table info available. #12 0x76aaae54 in WahEnumerateHandleContexts () from C:\Windows\syswow64\ws2_32.dll No symbol table info available. #13 0x76aa659e in WSACloseEvent () from C:\Windows\syswow64\ws2_32.dll No symbol table info available. #14 0x00000000 in ?? () No symbol table info available. -- Dani Moncayo