http://bugs.winehq.org/show_bug.cgi?id=34340
Bug #: 34340 Summary: Mingw gdb hangs Product: Wine Version: 1.7.0 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: ralf.habacker@freenet.de Classification: Unclassified
Running gdb 7.6 hangs on all commands.
A workaround i found out is to run gdb in wineconsole e.g.
wineconsole --backend=curses gdb ...
http://bugs.winehq.org/show_bug.cgi?id=34340
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source URL| |http://sourceforge.net/proj | |ects/mingw/files/ Component|programs |-unknown Severity|normal |minor
https://bugs.winehq.org/show_bug.cgi?id=34340
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #1 from winetest@luukku.com --- What are the steps to reproduce the issue? I am not familiar with gdb.
Since you reported this isshe there has been 55 revisions of wine 1.7 series. And on top of that there is 1.8 and 1.9 series.
Your wine is really outdated now.
https://bugs.winehq.org/show_bug.cgi?id=34340
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |dark.shadow4@web.de Status|UNCONFIRMED |NEEDINFO
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Is this still a problem with recent wine?
https://bugs.winehq.org/show_bug.cgi?id=34340
--- Comment #3 from Ralf Habacker ralf.habacker@freenet.de --- (In reply to Fabian Maurer from comment #2)
Is this still a problem with recent wine?
Yes, retested with wine 4.9 How to reproduce: 1. download mingw executables from https://sourceforge.net/projects/mingw-w64/ 2. run wine <installroot>/bin/gdb.exe --args <installroot>/bin/cpp.exe --help 3. enter 'r'
What happens: The application to debug is not started.
What is expected: The application to debug should start and print the help page in this case
Additional information: Pressing CTRL-C breaks the program and prints
^CQuit (expect signal SIGINT when the program is resumed)
(gdb) bt returns nothing
Neither CRTL-C nor entering 'quit' exits gdb. The only way to exit gdb is to press CTRL-Z, enter 'bg' and 'killall gdb.exe'
https://bugs.winehq.org/show_bug.cgi?id=34340
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- I downloaded the archive and that doesn't contain a gdb.exe. Mind linking a direct download?
https://bugs.winehq.org/show_bug.cgi?id=34340
--- Comment #5 from Ralf Habacker ralf.habacker@freenet.de --- (In reply to Fabian Maurer from comment #4)
I downloaded the archive and that doesn't contain a gdb.exe. Mind linking a direct download?
Sorry, see https://sourceforge.net/projects/mingw-w64/files/External%20binary%20package... for version 7.1.9
I also checked with version 8.1 from https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-gdb and got the same result.
https://bugs.winehq.org/show_bug.cgi?id=34340
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW URL|http://sourceforge.net/proj |https://sourceforge.net/pro |ects/mingw/files/ |jects/mingw-w64/files/Exter | |nal%20binary%20packages%20% | |28Win64%20hosted%29/gdb/i68 | |6-w64-mingw32-gdb-7.1.90.20 | |100730.zip/download
--- Comment #6 from Fabian Maurer dark.shadow4@web.de --- Perfect, thank you. Now I can confirm the issue.
https://bugs.winehq.org/show_bug.cgi?id=34340
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34340
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com
--- Comment #7 from Damjan Jovanovic damjan.jov@gmail.com --- Still happens in gdb 7.8 on Wine 6.10.
Either using wineconsole instead of wine, or running gdb in batch mode instead of interactively, gets it working - cpp.exe prints its help page and exits (instead of hanging):
wine gdb.exe -ex 'r' -ex 'quit' --args cpp.exe --help
https://bugs.winehq.org/show_bug.cgi?id=34340
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #8 from Bernhard Übelacker bernhardu@mailbox.org --- I tried the sourceforge download from comment 7 (gdb 7.1.90.20100730-cvs) with wine-7.0-rc5, and could not see a hang running e.g. "wine gdb.exe --q --args notepad.exe" from a plain konsole.
After "run" notepad opens. Just ctrl+c did not break - but it did break to gdb prompt with an extern "kill -SIGINT $(pidof notepad.exe)". Setting and stopping at a breakpoint worked too.
https://bugs.winehq.org/show_bug.cgi?id=34340
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #9 from Fabian Maurer dark.shadow4@web.de --- I can confirm this is fixed.
https://bugs.winehq.org/show_bug.cgi?id=34340
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.0-rc6.
https://bugs.winehq.org/show_bug.cgi?id=34340
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |751a3325a6ac93d11f08088c40b | |45a9ae05b52de CC| |jacek@codeweavers.com