On Wed, 18 Sep 2019 at 19:33, Eli Zaretskii wrote: > > Date: Wed, 18 Sep 2019 20:23:52 +0300 > > From: Eli Zaretskii > > Cc: lekktu@gmail.com, eggert@cs.ucla.edu, emacs-devel@gnu.org, > rudalics@gmx.at > > > > Then please run Emacs under GDB, put a breakpoint on line 1437 of > > lread.c (that's where that message comes from), and when it breaks, > > show the C and Lisp backtraces. > > Don't bother > :) c:\projects\emacs>gdb --quiet --batch -x src/.gdbinit -ex "break src/lread.c:1437" -ex run -ex "thread apply all bt" -ex quit --args "c:\msys64\mingw64\bin\emacs.exe" Warning: c:\projects\emacs/../lwlib: No such file or directory. Breakpoint 1 at 0x40014af09: file emacs.c, line 375. Breakpoint 2 at 0x4002b92e3: file lread.c, line 1437. warning: FTH: (19220): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. *** [New Thread 19220.0x4520] [New Thread 19220.0x44c8] [New Thread 19220.0x32ec] [New Thread 19220.0x778] Thread 1 hit Breakpoint 2, Fload (file=XIL(0x40123a4), noerror=XIL(0), nomessage=XIL(0x30), nosuffix=XIL(0), must_suffix=XIL(0x30)) at lread.c:1437 1437 report_file_error ("Opening stdio stream", file); Thread 5 (Thread 19220.0x778): #0 0x00007ffd293ceae4 in ntdll!ZwDelayExecution () from C:\WINDOWS\SYSTEM32\ntdll.dll #1 0x00007ffd26881e41 in SleepEx () from C:\WINDOWS\System32\KernelBase.dll #2 0x00000004003f026e in timer_loop (arg=0x400929120 ) at w32proc.c:473 #3 0x00007ffd27e55bb4 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\System32\kernel32.dll #4 0x00007ffd29389ee1 in ntdll!RtlUserThreadStart () from C:\WINDOWS\SYSTEM32\ntdll.dll #5 0x0000000000000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Lisp Backtrace: "package-activate-all" (0xbfe1c0) "command-line" (0xbfed38) "normal-top-level" (0xbff3a0) Opening stdio stream: No such file or directory, package Thread 4 (process 0): The program being debugged exited while in a function called from GDB. Evaluation of the expression containing the function (backtrace_top) will be abandoned. c:\projects\emacs>