From: Markus Hoenicka <markus.hoenicka@mhoenicka.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 17753@debbugs.gnu.org
Subject: bug#17753: Cygwin emacs-X11 core dump
Date: Tue, 07 Oct 2014 09:02:05 +0200 [thread overview]
Message-ID: <d66034fa80a7d56c4b8e422006ee627e@mhoenicka.de> (raw)
In-Reply-To: <83fvfq2n40.fsf@gnu.org>
At 2014-09-17 19:06, Eli Zaretskii was heard to say:
>> I think I should take this to the Cygwin list, unless you have other
>> suggestions of things to look at.
>
> Discussing this on the Cygwin list is probably the best place.
>
Hi,
Ken posted a problem description to the Cygwin list, but to the best of
my knowledge nothing came of it. Today Emacs crashed again from within
gdb. This is gdb 7.8.2 which has a problem fixed that had resulted in
strange core dumps on Cygwin. The backtrace of this most recent crash
seems to be the most verbose to date, maybe this one sheds some light on
what is going wrong. Let me know if you need any additional information.
regards,
Markus
(gdb) info threads
Id Target Id Frame
9 Thread 4580.0x12b8 0x00000000779512fa in
ntdll!ZwWaitForSingleObject ()
from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
8 Thread 4580.0x1234 0x00000000779512fa in
ntdll!ZwWaitForSingleObject ()
from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
7 Thread 4580.0x1230 0x000000007795134a in
ntdll!ZwRemoveIoCompletion ()
from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
6 Thread 4580.0x1228 0x00000000779515fa in ntdll!ZwDelayExecution
()
from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
5 Thread 4580.0x122c 0x00000000779512fa in
ntdll!ZwWaitForSingleObject ()
from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
4 Thread 4580.0x1224 0x000000007795186a in
ntdll!ZwWaitForMultipleObjects
() from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
3 Thread 4580.0x1214 0x000000007795186a in
ntdll!ZwWaitForMultipleObjects
() from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
2 Thread 4580.0x1208 0x000000007795131a in ntdll!ZwReadFile ()
from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
* 1 Thread 4580.0x11e8 0x00000003ff120d78 in dbus_watch_handle ()
from /usr/bin/cygdbus-1-3.dll
(gdb) thread apply all bt
Thread 9 (Thread 4580.0x12b8):
#0 0x00000000779512fa in ntdll!ZwWaitForSingleObject ()
at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#1 0x000007fefdb810dc 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=0x413ce00, func=
0x1800454d0 <cygthread::stub(void*)>, arg=0x1801d0500 <threads+352>,
buf=buf@entry=0x413cd50) 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 0x00000000777f59ed in KERNEL32!BaseThreadInitThunk ()
at /cygdrive/c/WINDOWS/system32/kernel32.dll
#6 0x000000007792c541 in ntdll!RtlUserThreadStart ()
at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#7 0x0000000000000000 in ()
Thread 8 (Thread 4580.0x1234):
#0 0x00000000779512fa in ntdll!ZwWaitForSingleObject ()
at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#1 0x000007fefdb810dc 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=0x3d3ce00, func=
0x1800454d0 <cygthread::stub(void*)>, arg=0x1801d04a8 <threads+264>,
buf=buf@entry=0x3d3cd50) 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 0x00000000777f59ed in KERNEL32!BaseThreadInitThunk ()
at /cygdrive/c/WINDOWS/system32/kernel32.dll
#6 0x000000007792c541 in ntdll!RtlUserThreadStart ()
at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#7 0x0000000000000000 in ()
Thread 7 (Thread 4580.0x1230):
#0 0x000000007795134a in ntdll!ZwRemoveIoCompletion ()
at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#1 0x000007fefd035971 in () at
/cygdrive/c/WINDOWS/System32/mswsock.dll
#2 0x0000000000000000 in ()
Thread 6 (Thread 4580.0x1228):
#0 0x00000000779515fa in ntdll!ZwDelayExecution ()
at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#1 0x000007fefdb81203 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=0x1801d03f8 <threads+88>,
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=0x1801d03f8 <threads+88>) 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=0x313ce00, func=
0x1800454d0 <cygthread::stub(void*)>, arg=0x1801d03f8 <threads+88>,
buf=buf@entry=0x313cd50) 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 0x00000000777f59ed in KERNEL32!BaseThreadInitThunk ()
at /cygdrive/c/WINDOWS/system32/kernel32.dll
#8 0x000000007792c541 in ntdll!RtlUserThreadStart ()
at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#9 0x0000000000000000 in ()
Thread 5 (Thread 4580.0x122c):
#0 0x00000000779512fa in ntdll!ZwWaitForSingleObject ()
at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#1 0x000007fefdb810dc in WaitForSingleObjectEx ()
at /cygdrive/c/WINDOWS/system32/KERNELBASE.dll
#2 0x0000000180045561 in cygthread::stub(void*)
(arg=arg@entry=0x1801d0450 <threads+176>) 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=0x353ce00, func=
0x1800454d0 <cygthread::stub(void*)>, arg=0x1801d0450 <threads+176>,
buf=buf@entry=0x353cd50) 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 0x00000000777f59ed in KERNEL32!BaseThreadInitThunk ()
at /cygdrive/c/WINDOWS/system32/kernel32.dll
#6 0x000000007792c541 in ntdll!RtlUserThreadStart ()
at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#7 0x0000000000000000 in ()
Thread 4 (Thread 4580.0x1224):
#0 0x000000007795186a in ntdll!ZwWaitForMultipleObjects ()
at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#1 0x000007fefdb81430 in KERNELBASE!GetCurrentProcess ()
at /cygdrive/c/WINDOWS/system32/KERNELBASE.dll
#2 0x0000000000000000 in ()
Thread 3 (Thread 4580.0x1214):
#0 0x000000007795186a in ntdll!ZwWaitForMultipleObjects ()
at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#1 0x000000007791b037 in ntdll!TpIsTimerSet ()
at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#2 0x00000000777f59ed in KERNEL32!BaseThreadInitThunk ()
at /cygdrive/c/WINDOWS/system32/kernel32.dll
#3 0x000000007792c541 in ntdll!RtlUserThreadStart ()
at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#4 0x0000000000000000 in ()
Thread 2 (Thread 4580.0x1208):
#0 0x000000007795131a in ntdll!ZwReadFile ()
at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#1 0x000007fefdb81a7a in ReadFile ()
at /cygdrive/c/WINDOWS/system32/KERNELBASE.dll
#2 0x00000000777f0a19 in ReadFile ()
at /cygdrive/c/WINDOWS/system32/kernel32.dll
#3 0x00000001801197c2 in wait_sig(void*) ()
at /usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/sigproc.cc:1239
#4 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
#5 0x000000018004552a in cygthread::stub(void*)
(arg=arg@entry=0x1801d03a0 <threads>) at
/usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygthread.cc:93
#6 0x000000018004619b in _cygtls::call2(unsigned int (*)(void*, void*),
void*, void*) (this=0x227ce00, func=
0x1800454d0 <cygthread::stub(void*)>, arg=0x1801d03a0 <threads>,
buf=buf@entry=0x227cd50) at
/usr/src/debug/cygwin-1.7.32-1/winsup/cygwin/cygtls.cc:100
#7 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
#8 0x00000000777f59ed in KERNEL32!BaseThreadInitThunk ()
at /cygdrive/c/WINDOWS/system32/kernel32.dll
#9 0x000000007792c541 in ntdll!RtlUserThreadStart ()
at /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#10 0x0000000000000000 in ()
Thread 1 (Thread 4580.0x11e8):
#0 0x00000003ff120d78 in dbus_watch_handle () at
/usr/bin/cygdbus-1-3.dll
#1 0x00000003ff105799 in dbus_bus_remove_match () at
/usr/bin/cygdbus-1-3.dll
#2 0x00000003ff106580 in dbus_connection_get_dispatch_status ()
at /usr/bin/cygdbus-1-3.dll
#3 0x00000003ff5f17d3 in
cygatspi-0!atspi_key_listener_sync_type_get_type ()
at /usr/bin/cygatspi-0.dll
#4 0x00000003fe7bd3fe in g_main_context_prepare
(context=context@entry=0x600109540, priority=priority@entry=0x429908)
at /usr/src/debug/glib2.0-2.38.2-4/glib/gmain.c:3340
#5 0x00000003fe7bdc32 in g_main_context_iterate
(context=context@entry=0x600109540, block=block@entry=0,
dispatch=dispatch@entry=0, self=<optimized out>)
at /usr/src/debug/glib2.0-2.38.2-4/glib/gmain.c:3693
#6 0x00000003fe7bddb8 in g_main_context_pending (context=0x600109540)
at /usr/src/debug/glib2.0-2.38.2-4/glib/gmain.c:3739
#7 0x00000001005b2760 in xg_select (fds_lim=<optimized out>,
rfds=rfds@entry=0x429fa0, wfds=wfds@entry=0x429fb0, efds=efds@entry=0x0,
timeout=timeout@entry=0x429fc0, sigmask=sigmask@entry=0x0)
at /usr/src/debug/emacs-24.3.93-3/src/xgselect.c:149
#8 0x000000010057eb95 in wait_reading_process_output
(time_limit=<optimized out>, nsecs=0, read_kbd=read_kbd@entry=-1,
do_display=do_display@entry=true, wait_for_cell=4304695346,
wait_proc=wait_proc@entry=0x0, just_wait_proc=just_wait_proc@entry=0) at
/usr/src/debug/emacs-24.3.93-3/src/process.c:4603
#9 0x000000010040a24a in sit_for (timeout=<optimized out>,
reading=reading@entry=true, display_option=display_option@entry=1)
at /usr/src/debug/emacs-24.3.93-3/src/dispnew.c:5854
#10 0x00000001004dbd27 in read_char (commandflag=1,
map=map@entry=25783870774, prev_event=4304695346,
used_mouse_menu=used_mouse_menu@entry=0x42a5db,
end_time=end_time@entry=0x0) at
/usr/src/debug/emacs-24.3.93-3/src/keyboard.c:2809
#11 0x00000001004dd01e in read_key_sequence
(keybuf=keybuf@entry=0x42a720, prompt=4304695346,
dont_downcase_last=dont_downcase_last@entry=false,
can_return_switch_frame=can_return_switch_frame@entry=true,
fix_current_buffer=fix_current_buffer@entry=true,
prevent_redisplay=prevent_redisplay@entry=false, bufsize=30)
at /usr/src/debug/emacs-24.3.93-3/src/keyboard.c:9088
#12 0x00000001004dede4 in command_loop_1 ()
at /usr/src/debug/emacs-24.3.93-3/src/keyboard.c:1452
#13 0x000000010053f37d in internal_condition_case
(bfun=bfun@entry=0x1004debc0 <command_loop_1>, handlers=<optimized out>,
hfun=hfun@entry=0x1004d54a0 <cmd_error>) at
/usr/src/debug/emacs-24.3.93-3/src/eval.c:1354
#14 0x00000001004d09ea in command_loop_2
(ignore=ignore@entry=4304695346)
at /usr/src/debug/emacs-24.3.93-3/src/keyboard.c:1177
#15 0x000000010053f27c in internal_catch (tag=4304765794,
func=func@entry=0x1004d09c0 <command_loop_2>, arg=4304695346)
at /usr/src/debug/emacs-24.3.93-3/src/eval.c:1118
#16 0x00000001004d5094 in recursive_edit_1 ()
at /usr/src/debug/emacs-24.3.93-3/src/keyboard.c:1156
#17 0x00000001004d5094 in recursive_edit_1 ()
at /usr/src/debug/emacs-24.3.93-3/src/keyboard.c:777
#18 0x00000001004d53b6 in Frecursive_edit ()
at /usr/src/debug/emacs-24.3.93-3/src/keyboard.c:848
#19 0x00000001005c46d9 in main (argc=<optimized out>, argv=<optimized
out>)
at /usr/src/debug/emacs-24.3.93-3/src/emacs.c:1647
--
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38
next prev parent reply other threads:[~2014-10-07 7:02 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 [this message]
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=d66034fa80a7d56c4b8e422006ee627e@mhoenicka.de \
--to=markus.hoenicka@mhoenicka.de \
--cc=17753@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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).