Achim Gratz <Stromeko <at> nexgo.de> writes: > There are still crashes of emacs-w32 that take down Emacs completely > (sometimes with but mostly without it asking for the debugger to be > attached). So far these have all occured directly in response to > keyboard input (as in the window disappears while the key is still > pressed down). Let me know if the stackdump would be useful or if I > need to wait out an occasion for when it asks for the debugger to attach > and what to do then.
Just had another one w/ the message and managed to attach the debugger. I don't know if the back trace makes any sense. When entering the debugger I think the crash was indicated to be inside the cyggobject library (sorry, that line scrolled off the screen), but that may just have been the message window. Thread 6 (Thread 10724.0x2d34): #0 0x0000000077ad05fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll #1 0x000007fefdb710dc in WaitForSingleObjectEx () from /cygdrive/c/Windows/system32/KERNELBASE.dll #2 0x0000000180045571 in cygthread::stub (arg=arg@entry=0x1801d95b0 <threads+176>) at .../src/cygwin-snapshot-20140819-1/winsup/cygwin/cygthread.cc:114 #3 0x00000001800461ab in _cygtls::call2 (this=0x5c4ce00, func=0x1800454e0 <cygthread::stub(void*)>, arg=0x1801d95b0 <threads+176>, buf=buf@entry=0x5c4cd50) at .../mknetrel/src/cygwin-snapshot-20140819-1/winsup/cygwin/cygtls.cc:100 #4 0x0000000180046304 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at .../mknetrel/src/cygwin-snapshot-20140819-1/winsup/cygwin/cygtls.cc:30 #5 0x00000000779759ed in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/Windows/system32/kernel32.dll #6 0x0000000077aaba01 in ntdll!RtlUserThreadStart () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll #7 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 5 (Thread 10724.0x36b4): #0 0x0000000077879e6a in USER32!SfmDxSetSwapChainStats () from /cygdrive/c/Windows/system32/USER32.dll #1 0x0000000077879e9e in USER32!GetMessageW () from /cygdrive/c/Windows/system32/USER32.dll #2 0x0000000100577a38 in w32_msg_pump (msg_buf=0x39fac30) at /usr/src/debug/emacs-24.3.93-1/src/w32fns.c:2450 #3 0x0000000100578080 in w32_msg_worker (arg=arg@entry=0x0) at /usr/src/debug/emacs-24.3.93-1/src/w32fns.c:2676 #4 0x00000001800461ab in _cygtls::call2 (this=0x39fce00, func=0x100578020 <w32_msg_worker>, arg=0x0, buf=buf@entry=0x39fcd50) at .../mknetrel/src/cygwin-snapshot-20140819-1/winsup/cygwin/cygtls.cc:100 #5 0x0000000180046304 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at .../mknetrel/src/cygwin-snapshot-20140819-1/winsup/cygwin/cygtls.cc:30 #6 0x00000000779759ed in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/Windows/system32/kernel32.dll #7 0x0000000077aaba01 in ntdll!RtlUserThreadStart () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll #8 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 4 (Thread 10724.0xf88): #0 0x0000000077ad05fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll #1 0x000007fefdb710dc in WaitForSingleObjectEx () from /cygdrive/c/Windows/system32/KERNELBASE.dll #2 0x0000000180045571 in cygthread::stub (arg=arg@entry=0x1801d9558 <threads+88>) at .../mknetrel/src/cygwin-snapshot-20140819-1/winsup/cygwin/cygthread.cc:114 #3 0x00000001800461ab in _cygtls::call2 (this=0x35fce00, func=0x1800454e0 <cygthread::stub(void*)>, arg=0x1801d9558 <threads+88>, buf=buf@entry=0x35fcd50) at .../mknetrel/src/cygwin-snapshot-20140819-1/winsup/cygwin/cygtls.cc:100 #4 0x0000000180046304 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at .../mknetrel/src/cygwin-snapshot-20140819-1/winsup/cygwin/cygtls.cc:30 #5 0x00000000779759ed in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/Windows/system32/kernel32.dll #6 0x0000000077aaba01 in ntdll!RtlUserThreadStart () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll #7 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 3 (Thread 10724.0x37d8): #0 0x0000000077ad0b6a in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll #1 0x0000000077a9a9b7 in ntdll!TpIsTimerSet () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll #2 0x00000000779759ed in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/Windows/system32/kernel32.dll #3 0x0000000077aaba01 in ntdll!RtlUserThreadStart () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll #4 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 2 (Thread 10724.0x65c): #0 0x0000000077ad061a in ntdll!ZwReadFile () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll #1 0x000007fefdb71a7a in ReadFile () from /cygdrive/c/Windows/system32/KERNELBASE.dll #2 0x0000000077970a19 in ReadFile () from /cygdrive/c/Windows/system32/kernel32.dll #3 0x000000018011d532 in wait_sig () at .../src/cygwin-snapshot-20140819-1/winsup/cygwin/sigproc.cc:1239 #4 0x0000000180044fd5 in cygthread::callfunc (this=this@entry=0x1801d9500 <threads>, issimplestub=issimplestub@entry=false) at .../mknetrel/src/cygwin-snapshot-20140819-1/winsup/cygwin/cygthread.cc:51 #5 0x000000018004553a in cygthread::stub (arg=arg@entry=0x1801d9500 <threads>) at .../mknetrel/src/cygwin-snapshot-20140819-1/winsup/cygwin/cygthread.cc:93 #6 0x00000001800461ab in _cygtls::call2 (this=0x23ace00, func=0x1800454e0 <cygthread::stub(void*)>, arg=0x1801d9500 <threads>, buf=buf@entry=0x23acd50) at .../mknetrel/src/cygwin-snapshot-20140819-1/winsup/cygwin/cygtls.cc:100 #7 0x0000000180046304 in _cygtls::call (func=<optimized out>, arg=<optimized out>) at .../mknetrel/src/cygwin-snapshot-20140819-1/winsup/cygwin/cygtls.cc:30 #8 0x00000000779759ed in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/Windows/system32/kernel32.dll #9 0x0000000077aaba01 in ntdll!RtlUserThreadStart () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll #10 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 1 (Thread 10724.0x3340): #0 0x000007fefdba3ca3 in KERNELBASE!DebugBreak () from /cygdrive/c/Windows/system32/KERNELBASE.dll #1 0x0000000100577794 in emacs_abort () at /usr/src/debug/emacs-24.3.93-1/src/w32fns.c:8478 #2 0x00000001004ca456 in overlays_at (pos=pos@entry=23459, extend=extend@entry=false, vec_ptr=0x42a2d0, vec_ptr@entry=0x100927f60 <Qnil>, len_ptr=len_ptr@entry=0x42a2d8, next_ptr=next_ptr@entry=0x0, prev_ptr=prev_ptr@entry=0x0, change_req=change_req@entry=false) at /usr/src/debug/emacs-24.3.93-1/src/buffer.c:2854 #3 0x000000010056968f in get_char_property_and_overlay (position=position@entry=93836, prop=prop@entry=4305239426, object=object@entry=25772655621, overlay=overlay@entry=0x0) at /usr/src/debug/emacs-24.3.93-1/src/textprop.c:663 #4 0x00000001005697b8 in Fget_char_property (position=position@entry=93836, prop=prop@entry=4305239426, object=object@entry=25772655621) at /usr/src/debug/emacs-24.3.93-1/src/textprop.c:703 #5 0x000000010056622a in get_local_map (position=<optimized out>, position@entry=23459, buffer=0x6002b8400, type=4305239426) at /usr/src/debug/emacs-24.3.93-1/src/intervals.c:2234 #6 0x00000001004c0688 in Fcurrent_active_maps (olp=4304926818, position=position@entry=4304926770) at /usr/src/debug/emacs-24.3.93-1/src/keymap.c:1594 #7 0x00000001004c09f6 in Fkey_binding (key=key@entry=4304949141, accept_default=accept_default@entry=4304926770, no_remap=4304926818, position=4304926770) at /usr/src/debug/emacs-24.3.93-1/src/keymap.c:1721 #8 0x00000001004c0ba8 in Fcommand_remapping (command=<optimized out>, position=<optimized out>, keymaps=<optimized out>) at /usr/src/debug/emacs-24.3.93-1/src/keymap.c:1248 #9 0x00000001004c0bca in Fcommand_remapping (command=<optimized out>, position=<optimized out>, keymaps=<optimized out>) at /usr/src/debug/emacs-24.3.93-1/src/keymap.c:1253 #10 0x00000001004b8cfa in read_key_sequence (keybuf=keybuf@entry=0x42a710, prompt=<optimized out>, 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-1/src/keyboard.c:9708 #11 0x00000001004b9c54 in command_loop_1 () at /usr/src/debug/emacs-24.3.93-1/src/keyboard.c:1452 #12 0x000000010051a0dd in internal_condition_case (bfun=bfun@entry=0x1004b9a30 <command_loop_1>, handlers=<optimized out>, hfun=hfun@entry=0x1004b0560 <cmd_error>) at /usr/src/debug/emacs-24.3.93-1/src/eval.c:1354 #13 0x00000001004ab9ea in command_loop_2 (ignore=ignore@entry=4304926770) at /usr/src/debug/emacs-24.3.93-1/src/keyboard.c:1177 #14 0x0000000100519fdc in internal_catch (tag=4304985026, func=func@entry=0x1004ab9c0 <command_loop_2>, arg=4304926770) at /usr/src/debug/emacs-24.3.93-1/src/eval.c:1118 #15 0x00000001004b0154 in command_loop () at /usr/src/debug/emacs-24.3.93-1/src/keyboard.c:1156 #16 recursive_edit_1 () at /usr/src/debug/emacs-24.3.93-1/src/keyboard.c:777 #17 0x00000001004b0476 in Frecursive_edit () at /usr/src/debug/emacs-24.3.93-1/src/keyboard.c:848 #18 0x00000001005b5953 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/emacs-24.3.93-1/src/emacs.c:1646 Regards, Achim. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple