Subject: Re: bug#70914: 29.3; Crashes often on Windows

From: Eli Zaretskii <[email-masked]>
Date: Wed, 15 May 2024 21:35:38 +0300

> From: Simen Endsjø <[email-masked]>
> Date: Wed, 15 May 2024 20:13:22 +0200
> Cc: [email-masked]
> 
> That's strange.  Did you start GDB from the src directory of the Emacs
> source tree, perhaps?  If so, try starting GDB from another directory.
> 
> No, started from my home folder; c:/Users/simend. Started it from a PowerShell 7
> (pwsh) shell in a Windows Terminal.
> 
> Ran gdb with
>     $ rlwrap gdb
>     (gdb) target exec c:/programs/emacs/latest/bin/emacs.exe
>     (gdb) run --init-directory=d:/.emacs.d

Try to avoid PowerShell (not that I have any reason to believe it's
related, just because it's one more unknown in this complex riddle).
Start GDB from cmd.exe in a Windows Terminal window, like this:

  gdb c:/programs/emacs/latest/bin/emacs.exe
  ...
  (gdb) run --init-directory=d:/.emacs.d