Il 29/04/2017 09:22, Eli Zaretskii ha scritto:
please try the following alternative:
cd /c/LocalApps/Emacs/src
gdb ./emacs.exe
...
(gdb) set new-console 1
(gdb) r -Q
Then visit the TeX file, turn on flyspell-mode, and get Emacs stop
responding. Then go to the console window where you typed the above
GDB commands, and type Ctrl-C -- this should interrupt Emacs and give
I repeated this and this time I did CTRL-C not in MINGW64 shell (where I
did "gdb ./emacs.exe") but in the DOS-like window getting a
Thread 15 received signal SIGINT, Interrupt.
[Switching to Thread 5332.0x146c]
0x00007ff9a36ec605 in TlsGetValue () from C:\WINDOWS\System32\KernelBase.dll
(gdb)
(see the GDB prompt)
After a while the DOS-like window closed, The Emacs frame is still
there, but it seems even more not responding, the mouse pointer over it
is a double arrow (<-- -->) and I can't move the frame dragging it:
"task manager" says 'No response' and it seems I cannot close Not even
with task manager...
In any case, I did this at GDB prompt
(gdb) thread apply all bt
getting the following. Hope it helps.
Angelo
(gdb) thread apply all bt
Thread 15 (Thread 5332.0x146c):
#0 0x00007ff9a36ec605 in TlsGetValue ()
from C:\WINDOWS\System32\KernelBase.dll
#1 0x00007ff9a6802774 in KERNEL32!BaseThreadInitThunk ()
from C:\WINDOWS\System32\kernel32.dll
#2 0x00007ff9a71b0d61 in ntdll!RtlUserThreadStart ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#3 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Thread 7 (Thread 5332.0x19c0):
#0 0x00007ff9a71e8c44 in ntdll!ZwWaitForWorkViaWorkerFactory ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#1 0x00007ff9a7181563 in ntdll!TpReleaseWork ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#2 0x00007ff9a6802774 in KERNEL32!BaseThreadInitThunk ()
from C:\WINDOWS\System32\kernel32.dll
#3 0x00007ff9a71b0d61 in ntdll!RtlUserThreadStart ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#4 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Thread 6 (Thread 5332.0x1438):
#0 0x00007ff9a71e8c44 in ntdll!ZwWaitForWorkViaWorkerFactory ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#1 0x00007ff9a7181563 in ntdll!TpReleaseWork ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#2 0x00007ff9a6802774 in KERNEL32!BaseThreadInitThunk ()
from C:\WINDOWS\System32\kernel32.dll
#3 0x00007ff9a71b0d61 in ntdll!RtlUserThreadStart ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#4 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Thread 5 (Thread 5332.0x1184):
#0 0x00007ff9a40b1144 in win32u!NtUserGetMessage ()
from C:\WINDOWS\System32\win32u.dll
#1 0x00007ff9a5b12c66 in USER32!GetMessageW ()
from C:\WINDOWS\System32\user32.dll
#2 0x0000000400180406 in w32_msg_pump (msg_buf=<optimized out>)
at w32fns.c:3234
#3 0x0000000400180b80 in w32_msg_worker (arg=<optimized out>)
at w32fns.c:3457
#4 0x00007ff9a6802774 in KERNEL32!BaseThreadInitThunk ()
from C:\WINDOWS\System32\kernel32.dll
#5 0x00007ff9a71b0d61 in ntdll!RtlUserThreadStart ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#6 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Thread 4 (Thread 5332.0x1ab4):
#0 0x00007ff9a71e5a34 in ntdll!ZwDelayExecution ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#1 0x00007ff9a36b7287 in SleepEx () from C:\WINDOWS\System32\KernelBase.dll
#2 0x00000004001af762 in timer_loop (arg=0x401abe3a0 <real_itimer>)
at w32proc.c:397
#3 0x00007ff9a6802774 in KERNEL32!BaseThreadInitThunk ()
from C:\WINDOWS\System32\kernel32.dll
#4 0x00007ff9a71b0d61 in ntdll!RtlUserThreadStart ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#5 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Thread 3 (Thread 5332.0x11cc):
#0 0x00007ff9a71e8c44 in ntdll!ZwWaitForWorkViaWorkerFactory ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#1 0x00007ff9a7181563 in ntdll!TpReleaseWork ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#2 0x00007ff9a6802774 in KERNEL32!BaseThreadInitThunk ()
from C:\WINDOWS\System32\kernel32.dll
#3 0x00007ff9a71b0d61 in ntdll!RtlUserThreadStart ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#4 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Thread 2 (Thread 5332.0x1ac0):
#0 0x00007ff9a71e8c44 in ntdll!ZwWaitForWorkViaWorkerFactory ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#1 0x00007ff9a7181563 in ntdll!TpReleaseWork ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#2 0x00007ff9a6802774 in KERNEL32!BaseThreadInitThunk ()
from C:\WINDOWS\System32\kernel32.dll
#3 0x00007ff9a71b0d61 in ntdll!RtlUserThreadStart ()
from C:\WINDOWS\SYSTEM32\ntdll.dll
#4 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Thread 1 (Thread 5332.0xe24):
#0 0x000000040011eaa9 in funcall_subr (
subr=0x40050d050 <Saccept_process_output>, numargs=numargs@entry=1,
args=args@entry=0xbfec38) at eval.c:2812
#1 0x000000040011dcd2 in Ffuncall (nargs=nargs@entry=2,
args=args@entry=0xbfec30) at eval.c:2742
#2 0x0000000400153352 in exec_byte_code (bytestr=<optimized out>,
vector=44,
maxdepth=<optimized out>, args_template=args_template@entry=2050,
nargs=nargs@entry=0, args=<optimized out>, args@entry=0xbff0e8)
at bytecode.c:641
#3 0x000000040011d980 in funcall_lambda (fun=17190650013,
nargs=nargs@entry=0, arg_vector=arg_vector@entry=0xbff0e8) at
eval.c:2942
#4 0x000000040011dc4b in Ffuncall (nargs=nargs@entry=1,
args=args@entry=0xbff0e0) at eval.c:2756
#5 0x0000000400153352 in exec_byte_code (bytestr=<optimized out>,
vector=8323532827928832385, maxdepth=<optimized out>,
args_template=args_template@entry=2, nargs=nargs@entry=0,
args=<optimized out>, args@entry=0xbff3d8) at bytecode.c:641
#6 0x000000040011d980 in funcall_lambda (fun=17190645973,
nargs=nargs@entry=0, arg_vector=arg_vector@entry=0xbff3d8) at
eval.c:2942
#7 0x000000040011dc4b in Ffuncall (nargs=nargs@entry=1,
args=args@entry=0xbff3d0) at eval.c:2756
#8 0x000000040011dd68 in call0 (fn=<optimized out>) at eval.c:2596
#9 0x000000040011c3c9 in internal_condition_case_n (
bfun=bfun@entry=0x4000ad630 <safe_run_hooks_1>, nargs=nargs@entry=2,
args=args@entry=0xbff440, handlers=handlers@entry=58016,
hfun=hfun@entry=0x4000add20 <safe_run_hooks_error>) at eval.c:1404
#10 0x00000004000add0d in safe_run_hook_funcall (nargs=<optimized out>,
args=<optimized out>) at keyboard.c:1842
#11 0x000000040011c63b in run_hook_with_args (nargs=2, args=0xbff4e0,
funcall=0x4000adcd0 <safe_run_hook_funcall>) at eval.c:2561
#12 0x000000040011c745 in run_hook_with_args (nargs=<optimized out>,
args=<optimized out>, funcall=<optimized out>) at eval.c:2567
#13 0x00000004000b2e0c in safe_run_hooks (hook=hook@entry=48776)
at keyboard.c:1858
#14 0x00000004000bba3e in command_loop_1 () at keyboard.c:1498
#15 0x000000040011c1fd in internal_condition_case (
bfun=bfun@entry=0x4000bb5e0 <command_loop_1>,
handlers=handlers@entry=23408, hfun=hfun@entry=0x4000b2c30 <cmd_error>)
at eval.c:1324
#16 0x00000004000ad3e4 in command_loop_2 (ignore=<optimized out>)
at keyboard.c:1112
#17 0x000000040011c18b in internal_catch (tag=tag@entry=60368,
func=func@entry=0x4000ad3c0 <command_loop_2>, arg=arg@entry=0)
at eval.c:1091
#18 0x00000004000ad397 in command_loop () at keyboard.c:1091
#19 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)