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 #49 received at 69795 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: awrhygty <at> outlook.com
>> Cc: 69795 <at> debbugs.gnu.org
>> Date: Mon, 18 Mar 2024 01:12:18 +0900
>>
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>
>> > Nothing jumps out as an obvious problem, but you did say that setting
>> > PATH affects this? How does it affect the problem? Is there a recipe
>> > where you invoke GDB with a different PATH, and don't see "Process
>> > shell finished" after exiting GDB? If so, can you show a recipe with
>> > that different PATH?
>>
>> Simply skipping PATH settings, cmdproxy.exe continues normally after
>> quitting c:\msys64\mingw64\bin\gdb.exe(full path needed.)
>
> So one of these two directories somehow triggers the problem? Or do
> you need both on PATH to trigger the problem, and if you only add
> either one of them, the problem does not happen?
c:\msys64\usr\bin\ matters. And iconv.exe under it makes the difference.
In the log below, the process continues after the first call of gdb.exe,
while iconv.exe does not exist.
And the process finishes after the second call of gdb.exe,
while iconv.exe exists.
Microsoft Windows [Version 10.0.19045.4170]
(c) Microsoft Corporation. All rights reserved.
c:\tmp>set PATH=c:\msys64\usr\bin\;%PATH%
set PATH=c:\msys64\usr\bin\;%PATH%
c:\tmp>ren c:\msys64\usr\bin\iconv.exe iconv.exe-
ren c:\msys64\usr\bin\iconv.exe iconv.exe-
c:\tmp>c:\msys64\mingw64\bin\gdb.exe --version > nul
c:\msys64\mingw64\bin\gdb.exe --version > nul
c:\tmp>ren c:\msys64\usr\bin\iconv.exe- iconv.exe
ren c:\msys64\usr\bin\iconv.exe- iconv.exe
c:\tmp>c:\msys64\mingw64\bin\gdb.exe --version > nul
c:\msys64\mingw64\bin\gdb.exe --version > nul
c:\tmp>
Process shell finished
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.