http://bugs.winehq.org/show_bug.cgi?id=24394
Summary: cmd.exe locks up Product: Wine Version: 1.3.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: cmd AssignedTo: wine-bugs@winehq.org ReportedBy: tahoar@gmail.com
I had a working installation of Wine 1.3 on Ubuntu 10.04. I recently upgraded to the newest linux kerne Wine's cmd.exe stopped working. uname --all reports:
Linux samsung-netbook 2.6.32-24-generic #43~ppa1~loms~lucid-Ubuntu SMP Tue Aug 31 17:13:22 UTC 2010 i686 GNU/Linux
Cmd.exe works with internal commands, such as dir, date, etc. However, when it looks for external commands, it freezes. I have to close by clicking the x.
It doesn't matter what external command. I tried notepad.exe, regedit.exe, etc. All lock up. I first discovered the problem when trying to run python and perl scripts. I am using Python 2.6.6 (from Python.org) and Strawberry perl.
It doesn't matter if the command includes the full path or if it must search the %path% environment. Cmd.exe just freezes.
Other Windows apps work fine from a shortcut link. The Python Idle gui works fine. Ctrl-C does not break the cmd.exe session.
I tried to uninstall/purge all Wine components and start from a new Linux user (i.e. fresh ~/.wine). Didn't work. Still freezes.
Tom
http://bugs.winehq.org/show_bug.cgi?id=24394
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|cmd.exe locks up |cmd.exe locks up when | |running an external | |command/application Severity|major |normal
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2010-09-14 00:22:49 CDT --- http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity
http://bugs.winehq.org/show_bug.cgi?id=24394
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #2 from Austin English austinenglish@gmail.com 2010-09-14 01:34:03 CDT --- I noticed this recently on batch files. It's easy to see with: wine start cmd /c notepad
on older wine, it works fine. In current wine, it starts a cmd prompt and notepad doesn't launch.
I'm running the regression test now.
http://bugs.winehq.org/show_bug.cgi?id=24394
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com, | |eric.pouech@orange.fr
--- Comment #3 from Austin English austinenglish@gmail.com 2010-09-14 02:14:00 CDT --- b39a8d9ea2879f079b4daa9832b1c01deb5b56a7 is the first bad commit commit b39a8d9ea2879f079b4daa9832b1c01deb5b56a7 Author: Eric Pouech eric.pouech@orange.fr Date: Mon Aug 30 22:18:44 2010 +0200
server: Enhanced the console input object so that it doesn't require a wineconsole to be running.
:040000 040000 fa02a064479a412e34b07a5f1f65e0db74d905d9 998e710d3d243918288d42ab63f7d3020b54343e M include :040000 040000 109a2620cfffe1173c89e6331dd3405f9bc991dc 1158396a55d80b55065d4e80d025b67f2c97126d M programs :040000 040000 ead19ecf247c26fd862270d93e33b72244d10695 589be217daedcef2311a972b736e1acb48f47156 M server
can't revert that on HEAD, but checking out it's parent works fine.
http://bugs.winehq.org/show_bug.cgi?id=24394
--- Comment #4 from tahoar tahoar@gmail.com 2010-09-14 02:16:50 CDT --- (In reply to comment #2)
I noticed this recently on batch files. It's easy to see with: wine start cmd /c notepad
on older wine, it works fine. In current wine, it starts a cmd prompt and notepad doesn't launch.
I'm running the regression test now.
Yes, I get these errors:
1) tahoar@samsung-netbook:~$ wine start cmd /c notepad fixme:exec:SHELL_execute flags ignored: 0x00000100
2) tahoar@samsung-netbook:~$ wine start cmd /c python --help fixme:exec:SHELL_execute flags ignored: 0x00000100
3) tahoar@samsung-netbook:~$ wine start cmd /c perl --help fixme:exec:SHELL_execute flags ignored: 0x00000100
4) tahoar@samsung-netbook:~$ wine start cmd /c "c:\windows\system32\notepad.exe" fixme:exec:SHELL_execute flags ignored: 0x00000100
5) tahoar@samsung-netbook:~$ wine start cmd /c c:\windows\system32\notepad.exe fixme:exec:SHELL_execute flags ignored: 0x00000100
Interestingly, 1-4 show the exact same behavior. A cmd.exe window opens and hangs with the window pen. #5, however, opens a cmd.exe window, flashes "File not found", and then closes cmd.exe window. Hope this helps.
Thanks and looking forward to the fix.
http://bugs.winehq.org/show_bug.cgi?id=24394
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #5 from Dan Kegel dank@kegel.com 2010-09-15 16:00:07 CDT --- Eric sent a patch, http://www.winehq.org/pipermail/wine-patches/2010-September/093283.html
http://bugs.winehq.org/show_bug.cgi?id=24394
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #6 from Andrew Nguyen arethusa26@gmail.com 2010-09-19 00:15:16 CDT --- A revised version of Eric's patch was committed as 687b3dc25c4dd0efefcc53c8c07fa52a833b1a76, and doing cmd /c notepad.exe works for me, so resolving fixed.
http://bugs.winehq.org/show_bug.cgi?id=24394
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2010-10-01 13:56:39 CDT --- Closing bugs fixed in 1.3.4.
https://bugs.winehq.org/show_bug.cgi?id=24394
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |687b3dc25c4dd0efefcc53c8c07 | |fa52a833b1a76 CC| |focht@gmx.net Regression SHA1| |b39a8d9ea2879f079b4daa9832b | |1c01deb5b56a7