http://bugs.winehq.org/show_bug.cgi?id=14541
Summary: WinExec() fails when starts Unix binaries Product: Wine Version: 1.1.0 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: nick@pu.if.ua
Created an attachment (id=14880) --> (http://bugs.winehq.org/attachment.cgi?id=14880) Patch for kernel32
After upgrade to Wine 1.1.0 from 0.9.56 I found out that my WinEdt can't launch Unix binaries (xdvi, xterm etc) anymore. A dialog box saying "Cannot execute command ..." appears, but binaries are started anyway. AFAICS it is caused by a patch by Dmitry Timoshkov that introduces "winoldap.mod". Now WinExec creates a process and then executes wait_input_idle() that fails for Unix processes that have hProcess == 0. I attach a quick fix that solves the problem for me, but I am not sure that my patch is quite correct and complete. Now we can only check that a Unix process is started successfully, but we don't know what is going on later. Maybe somebody is able to propose a better solution?
http://bugs.winehq.org/show_bug.cgi?id=14541
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #1 from Austin English austinenglish@gmail.com 2009-01-20 09:37:20 --- You'd be better off sending the patch to wine-devel@winehq.org and ask for comments. As you've seen, patches here are often ignored.
http://bugs.winehq.org/show_bug.cgi?id=14541
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Keywords| |regression Target Milestone|--- |1.2.0
--- Comment #2 from Dan Kegel dank@kegel.com 2009-01-20 18:26:47 --- regression, patch, galling -> nominating for 1.2
http://bugs.winehq.org/show_bug.cgi?id=14541
Adys adys.wh+winehqdotorg@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh+winehqdotorg@gmail. | |com
--- Comment #3 from Adys adys.wh+winehqdotorg@gmail.com 2009-06-01 03:10:46 --- Any update on this bug? Was the patch ever sent upstream?
http://bugs.winehq.org/show_bug.cgi?id=14541
--- Comment #4 from Dan Kegel dank@kegel.com 2009-06-01 09:30:15 --- Looks like it's still present, and the only place the patch appeared besides here was http://www.winehq.org/pipermail/wine-devel/2008-July/067438.html
At least he filed a bug. Now it's up to the rest of us to follow through, I guess.
Is this affecting you?
http://bugs.winehq.org/show_bug.cgi?id=14541
--- Comment #5 from Austin English austinenglish@gmail.com 2009-11-08 03:36:40 --- People at wineconf think this may be fixed, could you please retest?
http://bugs.winehq.org/show_bug.cgi?id=14541
Julius Schwartzenberg julius@zgod.cjb.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julius@zgod.cjb.net
--- Comment #6 from Julius Schwartzenberg julius@zgod.cjb.net 2009-11-08 03:41:52 --- Just tested. It works for me! I can launch an xterm using Accessories->Run... and using the patch z:\usr\bin\xterm in WinEdt 5.5 (latest).
http://bugs.winehq.org/show_bug.cgi?id=14541
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2009-11-08 04:22:18 --- Marking fixed then.
http://bugs.winehq.org/show_bug.cgi?id=14541
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2009-11-13 12:43:06 --- Closing bugs fixed in 1.1.33.