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: Wed, 17 Sep 2014 11:45:19 +0200	[thread overview]
Message-ID: <993b66d09d7bfc46fc7433de63fde3be@mhoenicka.de> (raw)
In-Reply-To: <457212308be445a70279d3ece6e28207@mhoenicka.de>

[I'm sending this through webmail, so please excuse that I was not able 
to keep the context of this thread]

Hi,

following Ken's suggestion I started running Cygwin's emacs-X11 from gdb 
a couple of weeks ago. Today Emacs finally crashed, and gdb seems to 
reveal some more information than the previous core dumps. Please let me 
know if the stuff below is of any help. The crash occurred while I was 
moving down a planner-mode buffer using the page down key.

I tried to save a core file for future analysis, but gdb wouldn't let 
me, causing the following error:

(gdb) generate-core-file
warning: cannot close "core.5044": Invalid operation
Can't create a corefile

Is that a known Cygwin limitation? In any case, I'll try to keep gdb 
open for a while. I'll be happy to run additional gdb commands as you 
see fit.

regards,
Markus

Program received signal SIGSEGV, Segmentation fault.
0x00000005e20450f0 in cygfontconfig-1!FcObjectLookupOtherTypeById ()
    from /usr/bin/cygfontconfig-1.dll
(gdb) info threads
   Id   Target Id         Frame
   9    Thread 5044.0x1024 0x00000000777012fa in 
ntdll!ZwWaitForSingleObject ()
    from /cygdrive/c/WINDOWS/system32/ntdll.dll
   8    Thread 5044.0x1330 0x00000000777012fa in 
ntdll!ZwWaitForSingleObject ()
    from /cygdrive/c/WINDOWS/system32/ntdll.dll
   6    Thread 5044.0x1350 0x00000000777015fa in ntdll!ZwDelayExecution 
()
    from /cygdrive/c/WINDOWS/system32/ntdll.dll
   5    Thread 5044.0x132c 0x00000000777012fa in 
ntdll!ZwWaitForSingleObject ()
    from /cygdrive/c/WINDOWS/system32/ntdll.dll
   4    Thread 5044.0x134c 0x000000007770186a in 
ntdll!ZwWaitForMultipleObjects
     () from /cygdrive/c/WINDOWS/system32/ntdll.dll
   3    Thread 5044.0x1008 0x000000007770186a in 
ntdll!ZwWaitForMultipleObjects
     () from /cygdrive/c/WINDOWS/system32/ntdll.dll
   2    Thread 5044.0x13f4 0x000000007770131a in ntdll!ZwReadFile ()
    from /cygdrive/c/WINDOWS/system32/ntdll.dll
* 1    Thread 5044.0x13ac 0x00000005e20450f0 in 
cygfontconfig-1!FcObjectLookupOtherTypeById () from 
/usr/bin/cygfontconfig-1.dll
(gdb) thread apply all bt

Thread 9 (Thread 5044.0x1024):
#0  0x00000000777012fa in ntdll!ZwWaitForSingleObject ()
    from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x000007fefd6d10dc in WaitForSingleObjectEx ()
    from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll
#2  0x0000000000000000 in ?? ()

Thread 8 (Thread 5044.0x1330):
#0  0x00000000777012fa in ntdll!ZwWaitForSingleObject ()
    from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x000007fefd6d10dc in WaitForSingleObjectEx ()
    from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll
#2  0x0000000000000000 in ?? ()

Thread 6 (Thread 5044.0x1350):
#0  0x00000000777015fa in ntdll!ZwDelayExecution ()
    from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x000007fefd6d1203 in SleepEx ()
    from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll
#2  0x000000000319aba8 in ?? ()
#3  0x0000000600061f00 in ?? ()
#4  0x0000000000000003 in ?? ()
#5  0x00000001802e8148 in ?? () from /usr/bin/cygwin1.dll
#6  0xfffffffffffe7960 in ?? ()
#7  0x000000000319ab10 in ?? ()
#8  0x0000000000000048 in ?? ()
#9  0x0000000000000001 in ?? ()
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 5044.0x132c):
#0  0x00000000777012fa in ntdll!ZwWaitForSingleObject ()
    from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x000007fefd6d10dc in WaitForSingleObjectEx ()
    from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll
#2  0x0000000000000000 in ?? ()

Thread 4 (Thread 5044.0x134c):
#0  0x000000007770186a in ntdll!ZwWaitForMultipleObjects ()
    from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x000007fefd6d1430 in KERNELBASE!GetCurrentProcess ()
    from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll
#2  0x0000000000000000 in ?? ()

Thread 3 (Thread 5044.0x1008):
#0  0x000000007770186a in ntdll!ZwWaitForMultipleObjects ()
    from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x00000000776cb037 in ntdll!TpIsTimerSet ()
    from /cygdrive/c/WINDOWS/system32/ntdll.dll
#2  0x0000000000000002 in ?? ()
#3  0x0000000000000000 in ?? ()

Thread 2 (Thread 5044.0x13f4):
#0  0x000000007770131a in ntdll!ZwReadFile ()
    from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x000007fefd6d1a7a in ReadFile ()
    from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll
#2  0x000000000042ce00 in ?? ()
#3  0x0000000100587330 in schedule_atimer ()
     at /usr/src/debug/emacs-24.3.93-1/src/atimer.c:337
#4  0x00000001802df9f8 in ?? () from /usr/bin/cygwin1.dll
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 5044.0x13ac):
#0  0x00000005e20450f0 in cygfontconfig-1!FcObjectLookupOtherTypeById ()
    from /usr/bin/cygfontconfig-1.dll
#1  0x00000005e20458ed in cygfontconfig-1!FcPatternObjectFindElt ()
    from /usr/bin/cygfontconfig-1.dll
#2  0x0000000000000001 in ?? ()
#3  0x0000000000000003 in ?? ()
#4  0x0000000000423c90 in ?? ()
#5  0x00000006034f3e45 in ?? ()
#6  0x0000000000000000 in ?? ()


-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38






  reply	other threads:[~2014-09-17  9:45 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 [this message]
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
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=993b66d09d7bfc46fc7433de63fde3be@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).