From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Hoenicka Newsgroups: gmane.emacs.bugs Subject: bug#17753: Cygwin emacs-X11 core dump Date: Mon, 20 Oct 2014 12:59:39 +0200 Message-ID: References: " <21431.6898.745604.392984@wombat.mininet>" <53B805C7.8030209@cornell.edu> <21435.4511.658539.666411@wombat.mininet> <53BD4A64.8000003@cornell.edu> <457212308be445a70279d3ece6e28207@mhoenicka.de> <993b66d09d7bfc46fc7433de63fde3be@mhoenicka.de> <83sijq362c.fsf@gnu.org> <5419A604.8060201@cornell.edu> <83fvfq2n40.fsf@gnu.org> <5433FF2D.3020600@cornell.edu> <83vbnvly2l.fsf@gnu.org> <02f02d94fb60ba0b677caf6939534c5e@mhoenicka.de> <83lhorlskg.fsf@gnu.org> <83iojtipuc.fsf@gnu.org> <83eguhil89.fsf@gnu.org> <83bnplij2w.fsf@gnu.org> <295e34582a7c09b3453833837f084e1d@mhoenicka.de> <837g09ihjt.fsf@gnu.org> <54394D36.3070502@cornell.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1413802824 9722 80.91.229.3 (20 Oct 2014 11:00:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2014 11:00:24 +0000 (UTC) Cc: 17753@debbugs.gnu.org To: Ken Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 20 13:00:19 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 1XgAhG-00048T-VS for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2014 13:00:19 +0200 Original-Received: from localhost ([::1]:43936 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgAhG-0003Qq-G6 for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2014 07:00:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgAh8-0003Of-Pv for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 07:00:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgAh2-0003tP-B5 for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 07:00:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgAh2-0003sK-81 for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 07:00:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XgAh1-0004gz-Ap for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 07:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Markus Hoenicka Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Oct 2014 11:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17753 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 17753-submit@debbugs.gnu.org id=B17753.141380278617983 (code B ref 17753); Mon, 20 Oct 2014 11:00:03 +0000 Original-Received: (at 17753) by debbugs.gnu.org; 20 Oct 2014 10:59:46 +0000 Original-Received: from localhost ([127.0.0.1]:56348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgAgj-0004fw-HW for submit@debbugs.gnu.org; Mon, 20 Oct 2014 06:59:46 -0400 Original-Received: from smtprelay06.ispgateway.de ([80.67.31.104]:49458) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgAgf-0004fk-Nv for 17753@debbugs.gnu.org; Mon, 20 Oct 2014 06:59:43 -0400 Original-Received: from [80.67.16.118] (helo=webmail.df.eu) by smtprelay06.ispgateway.de with esmtpa (Exim 4.84) (envelope-from ) id 1XgAgd-0005Sh-Rd; Mon, 20 Oct 2014 12:59:39 +0200 In-Reply-To: <54394D36.3070502@cornell.edu> X-Sender: markus.hoenicka@mhoenicka.de User-Agent: Roundcube Webmail X-Df-Sender: bWFya3VzLmhvZW5pY2thQG1ob2VuaWNrYS5kZQ== 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:94814 At 2014-10-11 17:31, Ken Brown was heard to say: > Markus, > > The suggestion has come up in a different bug report > (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18438#160) that emacs > might need a larger stack. Please issue the following command (as > administrator, while emacs is not running) and see if the crashes > stop: > > peflags -x0x800000 /usr/bin/emacs-X11.exe > > Thanks. > > Ken no joy, unfortunately. I did as advised, but it barely took one hour back in office when Emacs crashed again. This time there is no useful information from the thread which apparently caused the crash. Could that be a consequence of the new stack size? Would it make sense to revert? If so, how? regards, Markus $ gdb /usr/bin/emacs-X11 GNU gdb (GDB) 7.8 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-cygwin". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/emacs-X11...Reading symbols from /usr/lib/debug//usr/bin/emacs-X11.exe.dbg...done. done. (gdb) run Starting program: /usr/bin/emacs-X11 [New Thread 1256.0x6e8] [New Thread 1256.0xf98] [New Thread 1256.0xfb0] [New Thread 1256.0xed0] [New Thread 1256.0xfa8] [New Thread 1256.0xf14] [New Thread 1256.0x304] [New Thread 1256.0xdf8] [New Thread 1256.0xea0] [New Thread 1256.0xfb8] [New Thread 1256.0x1140] [Thread 1256.0xfb8 exited with code 0] [Thread 1256.0x1140 exited with code 0] [Thread 1256.0x304 exited with code 0] Program received signal SIGABRT, Aborted. 0x000000000082e2a8 in ?? () (gdb) info threads Id Target Id Frame 9 Thread 1256.0xea0 0x00000000774b12fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll 8 Thread 1256.0xdf8 0x00000000774b12fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll 6 Thread 1256.0xf14 0x00000000774b12fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll 5 Thread 1256.0xfa8 0x00000000774b15fa in ntdll!ZwDelayExecution () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll 4 Thread 1256.0xed0 0x00000000774b186a in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll 3 Thread 1256.0xfb0 0x00000000774b186a in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll 2 Thread 1256.0xf98 0x000007fefd62940d in RaiseException () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll * 1 Thread 1256.0x6e8 0x000000000082e2a8 in ?? () (gdb) thread apply all bt Thread 9 (Thread 1256.0xea0): #0 0x00000000774b12fa in ntdll!ZwWaitForSingleObject () at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd6210dc in WaitForSingleObjectEx () at /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000180045561 in cygthread::stub(void*) (arg=arg@entry=0x1801d0500 ) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygthread.cc:114 #3 0x000000018004619b in _cygtls::call2(unsigned int (*)(void*, void*), void*, void*) (this=0x620ce00, func= 0x1800454d0 , arg=0x1801d0500 , buf=buf@entry=0x620cd50) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygtls.cc:100 #4 0x00000001800462f4 in _cygtls::call(unsigned int (*)(void*, void*), void*) (func=, arg=) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygtls.cc:30 #5 0x00000000772559ed in KERNEL32!BaseThreadInitThunk () at /cygdrive/c/WINDOWS/system32/kernel32.dll #6 0x000000007748c541 in ntdll!RtlUserThreadStart () at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #7 0x0000000000000000 in () Thread 8 (Thread 1256.0xdf8): #0 0x00000000774b12fa in ntdll!ZwWaitForSingleObject () at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd6210dc in WaitForSingleObjectEx () at /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000180045561 in cygthread::stub(void*) (arg=arg@entry=0x1801d04a8 ) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygthread.cc:114 #3 0x000000018004619b in _cygtls::call2(unsigned int (*)(void*, void*), void*, void*) (this=0x5a0ce00, func= 0x1800454d0 , arg=0x1801d04a8 , buf=buf@entry=0x5a0cd50) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygtls.cc:100 #4 0x00000001800462f4 in _cygtls::call(unsigned int (*)(void*, void*), void*) (func=, arg=) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygtls.cc:30 #5 0x00000000772559ed in KERNEL32!BaseThreadInitThunk () at /cygdrive/c/WINDOWS/system32/kernel32.dll #6 0x000000007748c541 in ntdll!RtlUserThreadStart () at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #7 0x0000000000000000 in () Thread 6 (Thread 1256.0xf14): #0 0x00000000774b12fa in ntdll!ZwWaitForSingleObject () at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd6210dc in WaitForSingleObjectEx () at /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000180045561 in cygthread::stub(void*) (arg=arg@entry=0x1801d03f8 ) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygthread.cc:114 #3 0x000000018004619b in _cygtls::call2(unsigned int (*)(void*, void*), void*, void*) (this=0x420ce00, func= 0x1800454d0 , arg=0x1801d03f8 , buf=buf@entry=0x420cd50) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygtls.cc:100 #4 0x00000001800462f4 in _cygtls::call(unsigned int (*)(void*, void*), void*) (func=, arg=) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygtls.cc:30 #5 0x00000000772559ed in KERNEL32!BaseThreadInitThunk () at /cygdrive/c/WINDOWS/system32/kernel32.dll #6 0x000000007748c541 in ntdll!RtlUserThreadStart () at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #7 0x0000000000000000 in () Thread 5 (Thread 1256.0xfa8): #0 0x00000000774b15fa in ntdll!ZwDelayExecution () at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd621203 in SleepEx () at /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x000000018010d970 in thread_pipe(void*) (arg=0x60005dea0) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/select.cc:690 #3 0x0000000180044fc5 in cygthread::callfunc(bool) (this=this@entry=0x1801d0450 , issimplestub=issimplestub@entry=false) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygthread.cc:51 #4 0x000000018004552a in cygthread::stub(void*) (arg=arg@entry=0x1801d0450 ) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygthread.cc:93 #5 0x000000018004619b in _cygtls::call2(unsigned int (*)(void*, void*), void*, void*) (this=0x4a0ce00, func= 0x1800454d0 , arg=0x1801d0450 , buf=buf@entry=0x4a0cd50) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygtls.cc:100 #6 0x00000001800462f4 in _cygtls::call(unsigned int (*)(void*, void*), void*) (func=, arg=) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygtls.cc:30 #7 0x00000000772559ed in KERNEL32!BaseThreadInitThunk () at /cygdrive/c/WINDOWS/system32/kernel32.dll #8 0x000000007748c541 in ntdll!RtlUserThreadStart () at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #9 0x0000000000000000 in () Thread 4 (Thread 1256.0xed0): #0 0x00000000774b186a in ntdll!ZwWaitForMultipleObjects () at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd621430 in KERNELBASE!GetCurrentProcess () at /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000000000000 in () Thread 3 (Thread 1256.0xfb0): #0 0x00000000774b186a in ntdll!ZwWaitForMultipleObjects () at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000000007747b037 in ntdll!TpIsTimerSet () at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #2 0x00000000772559ed in KERNEL32!BaseThreadInitThunk () at /cygdrive/c/WINDOWS/system32/kernel32.dll #3 0x000000007748c541 in ntdll!RtlUserThreadStart () at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #4 0x0000000000000000 in () Thread 2 (Thread 1256.0xf98): #0 0x000007fefd62940d in RaiseException () at /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #1 0x000007fefd63aa0d in OutputDebugStringA () at /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x000000018007119e in _cygtls::signal_debugger(siginfo_t&) (this=this@entry=0x82ce00, si=...) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/exceptions.cc:1505 #3 0x000000018007132e in sigpacket::process() (this=this@entry=0x1801e3260 ) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/exceptions.cc:1364 #4 0x0000000180119952 in wait_sig(void*) () at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/sigproc.cc:1320 #5 0x0000000180044fc5 in cygthread::callfunc(bool) (this=this@entry=0x1801d03a0 , issimplestub=issimplestub@entry=false) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygthread.cc:51 #6 0x000000018004552a in cygthread::stub(void*) (arg=arg@entry=0x1801d03a0 ) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygthread.cc:93 #7 0x000000018004619b in _cygtls::call2(unsigned int (*)(void*, void*), void*, void*) (this=0x2a1ce00, func= 0x1800454d0 , arg=0x1801d03a0 , buf=buf@entry=0x2a1cd50) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygtls.cc:100 #8 0x00000001800462f4 in _cygtls::call(unsigned int (*)(void*, void*), void*) (func=, arg=) at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygtls.cc:30 #9 0x00000000772559ed in KERNEL32!BaseThreadInitThunk () at /cygdrive/c/WINDOWS/system32/kernel32.dll #10 0x000000007748c541 in ntdll!RtlUserThreadStart () at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #11 0x0000000000000000 in () Thread 1 (Thread 1256.0x6e8): #0 0x000000000082e2a8 in () -- Markus Hoenicka http://www.mhoenicka.de AQ score 38