unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Markus Hoenicka <markus.hoenicka@mhoenicka.de>
To: Ken Brown <kbrown@cornell.edu>
Cc: 17753@debbugs.gnu.org
Subject: bug#17753: Cygwin emacs-X11 core dump
Date: Mon, 20 Oct 2014 12:59:39 +0200	[thread overview]
Message-ID: <f55c1063ad712f96daabd5e0bc738c59@mhoenicka.de> (raw)
In-Reply-To: <54394D36.3070502@cornell.edu>

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 
<http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
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 <threads+352>) 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 <cygthread::stub(void*)>, arg=0x1801d0500 <threads+352>, 
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=<optimized out>, arg=<optimized out>)
     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 <threads+264>) 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 <cygthread::stub(void*)>, arg=0x1801d04a8 <threads+264>, 
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=<optimized out>, arg=<optimized out>)
     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 <threads+88>) 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 <cygthread::stub(void*)>, arg=0x1801d03f8 <threads+88>, 
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=<optimized out>, arg=<optimized out>)
     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
  <threads+176>, 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 <threads+176>) 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 <cygthread::stub(void*)>, arg=0x1801d0450 <threads+176>, 
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=<optimized out>, arg=<optimized out>)
     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 <sigq+1056>) 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 <threads>, 
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 <threads>) 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 <cygthread::stub(void*)>, arg=0x1801d03a0 <threads>, 
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=<optimized out>, arg=<optimized out>)
     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






  parent reply	other threads:[~2014-10-20 10:59 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-09 21:55 bug#17753: Cygwin emacs-X11 core dump markus.hoenicka
2014-06-11  2:51 ` Eli Zaretskii
2014-06-11  6:16   ` Markus Hoenicka
2014-06-11 14:47     ` Eli Zaretskii
2014-06-13 22:53       ` markus.hoenicka
2014-06-11 12:28   ` Ken Brown
2014-06-11 15:03     ` Eli Zaretskii
2014-07-04 21:21 ` markus.hoenicka
2014-07-05 14:03   ` Ken Brown
2014-07-07 21:31     ` markus.hoenicka
2014-07-09 13:57       ` Ken Brown
2014-07-09 14:30         ` Markus Hoenicka
2014-09-17  9:45           ` Markus Hoenicka
2014-09-17 10:16             ` Eli Zaretskii
2014-09-17 10:52               ` Eli Zaretskii
2014-09-17 11:04                 ` Markus Hoenicka
2014-09-17 15:17               ` Ken Brown
2014-09-17 17:06                 ` Eli Zaretskii
2014-09-22  7:14                   ` Markus Hoenicka
2014-09-22 13:32                     ` Ken Brown
2014-09-22 14:04                       ` Markus Hoenicka
2014-09-22 14:48                         ` Eli Zaretskii
2014-10-07  7:02                   ` Markus Hoenicka
2014-10-07 14:56                     ` Ken Brown
2014-10-07 15:05                       ` Eli Zaretskii
2014-10-07 16:05                         ` Markus Hoenicka
2014-10-07 17:04                           ` Eli Zaretskii
2014-10-07 20:48                             ` Markus Hoenicka
2014-10-09  8:17                             ` Markus Hoenicka
2014-10-09  8:56                               ` Eli Zaretskii
2014-10-09  9:08                                 ` Markus Hoenicka
2014-10-09 10:35                                   ` Eli Zaretskii
2014-10-09 10:44                                     ` Markus Hoenicka
2014-10-09 11:22                                       ` Eli Zaretskii
2014-10-09 11:47                                         ` Markus Hoenicka
2014-10-09 11:55                                           ` Eli Zaretskii
2014-10-11 15:31                                             ` Ken Brown
2014-10-12  0:07                                               ` Markus Hoenicka
2014-10-20 10:59                                               ` Markus Hoenicka [this message]
2014-10-20 11:29                                                 ` Ken Brown
2014-10-20 12:04                                                   ` martin rudalics
2014-10-20 13:05                                                     ` Ken Brown
2014-10-20 14:11                                                   ` Markus Hoenicka
2014-10-20 14:37                                                   ` Markus Hoenicka
2014-10-20 15:24                                                     ` Eli Zaretskii
2014-10-20 15:29                                                       ` Markus Hoenicka
2014-10-24 21:27                                                         ` Ken Brown
2014-10-24 21:42                                                           ` Markus Hoenicka
2014-12-03 12:43                                                           ` Markus Hoenicka
2014-12-03 14:12                                                             ` Ken Brown
2014-10-20 15:29                                                   ` Eli Zaretskii
2014-10-07 16:05                       ` Markus Hoenicka
2014-07-28 22:45         ` markus.hoenicka
2014-08-06 22:02         ` markus.hoenicka
2014-10-07 16:47 ` Achim Gratz
2014-10-07 18:43   ` Ken Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f55c1063ad712f96daabd5e0bc738c59@mhoenicka.de \
    --to=markus.hoenicka@mhoenicka.de \
    --cc=17753@debbugs.gnu.org \
    --cc=kbrown@cornell.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).