GNU bug report logs -
#69795
29.1; cmdproxy.exe exits automatically after executing MSYS2 commands
Previous Next
Reported by: awrhygty <at> outlook.com
Date: Thu, 14 Mar 2024 11:02:02 UTC
Severity: normal
Tags: notabug
Found in version 29.1
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #34 received at 69795 <at> debbugs.gnu.org (full text, mbox):
> From: awrhygty <at> outlook.com
> Cc: 69795 <at> debbugs.gnu.org
> Date: Sat, 16 Mar 2024 22:14:49 +0900
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> >
> > Please show the value of PATH after "set PATH" above. Like this:
> >
> > c:\tmp>set PATH
>
> Before setting PATH, the value is:
> C:\ImageMagick;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\user\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\user\AppData\Local\Programs\Python\Python310\;C:\Users\user\AppData\Local\Microsoft\WindowsApps;
> Then removing directories other than C:\WINDOWS or descendants:
> C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;
I don't understand what you mean by "removing directories other than
C:\WINDOWS or descendants". Why do they need to be removed? And how
did you remove them?
> Here is a log with the PATH value above.
>
> Microsoft Windows [Version 10.0.19045.4170]
> (c) Microsoft Corporation. All rights reserved.
>
> c:\tmp>set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;
> set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;
Why are you changing the system PATH?
> c:\tmp>set PATH=c:\msys64\mingw64\bin\;c:\msys64\usr\bin\;%PATH%
> set PATH=c:\msys64\mingw64\bin\;c:\msys64\usr\bin\;%PATH%
>
> c:\tmp>set PATH
> set PATH
> PATH=c:\msys64\mingw64\bin\;c:\msys64\usr\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;
> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
>
> c:\tmp>c:\msys64\mingw64\bin\gdb.exe
> c:\msys64\mingw64\bin\gdb.exe
> GNU gdb (GDB) 13.2
> Copyright (C) 2023 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> Type "show copying" and "show warranty" for details.
> This GDB was configured as "x86_64-w64-mingw32".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <https://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
>
> For help, type "help".
> Type "apropos word" to search for commands related to "word".
> (gdb) q
>
> c:\tmp>
> Process shell finished
What happens if you change PATH to include the two addition
directories, c:\msys64\mingw64\bin\ and c:\msys64\usr\bin, before you
start Emacs, and then run GDB from the shell buffer without changing
PATH inside the shell buffer?
Please also show the contents of these two directories you add to
PATH. Maybe the reason for this is something in those directories.
This bug report was last modified 1 year and 65 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.