http://bugs.winehq.org/show_bug.cgi?id=15608
Summary: Wine (or program) can't wait for end of execution, while my program run another .exe or .bat program Product: Wine Version: 1.0.0 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: jopka@kvidex.ru
My program (it's very specific program, PCAD2002), pcb.exe, tries to start some another programs one-by-one, waiting for finishing of each and get return-codes. This happens normally in native Windows. (these sub-apps is accel2sp.exe; specctra.exe; sp2accel.exe). But under Wine, my pcb.exe can not wait for end of execution each program, and statrs all three in one moment, and all work incorrectly because file generated by first program, used in second, etc. I try to use .bat file. Prorgams listed in .bat file, executes one-by-one. But, main program, pcb.exe, when calls my .bat file, again can't wait for end of it execution (and get return code). Each program, at manual (standalone) running, is works fine. Wine not crashes in any case. I have Ubuntu 8.04, Wine 1.0 installed from repo's, no any tuning, no windows DLLs, etc. Please help.
http://bugs.winehq.org/show_bug.cgi?id=15608
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2008-10-13 07:52:56 --- Please generate a +relay,+process log, compress it with 'bzip2 -9', and attach to this bug.
http://bugs.winehq.org/show_bug.cgi?id=15608
--- Comment #2 from jpka jopka@kvidex.ru 2008-10-13 10:24:28 --- Created an attachment (id=16624) --> (http://bugs.winehq.org/attachment.cgi?id=16624) part 1 of 2: WINEDEBUG=+relay,+process wine /home/hrych/.wine/drive_c/pcad2002/Pcb.exe > log.txt 2>&1
called apps is accel2sp.exe specctra.exe sp2accel.exe
http://bugs.winehq.org/show_bug.cgi?id=15608
--- Comment #3 from jpka jopka@kvidex.ru 2008-10-13 10:25:37 --- Created an attachment (id=16625) --> (http://bugs.winehq.org/attachment.cgi?id=16625) part 2 of 2: WINEDEBUG=+relay,+process wine /home/hrych/.wine/drive_c/pcad2002/Pcb.exe > log.txt 2>&1
http://bugs.winehq.org/show_bug.cgi?id=15608
--- Comment #4 from jpka jopka@kvidex.ru 2008-10-13 10:32:46 --- 1.
...no windows DLLs, etc.
Sorry, I'm wrong. External MFC42.DLL is used. But putting or removing this file not affect the problem.
2. I'm try other computer with Wine. Problem remains same.
http://bugs.winehq.org/show_bug.cgi?id=15608
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=15608
--- Comment #5 from Dmitry Timoshkov dmitry@codeweavers.com 2008-10-13 21:57:35 --- Created an attachment (id=16633) --> (http://bugs.winehq.org/attachment.cgi?id=16633) better GetProcessVersion stub
Does the attached patch help?
http://bugs.winehq.org/show_bug.cgi?id=15608
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=15608
--- Comment #6 from jpka jopka@kvidex.ru 2008-10-14 14:11:42 --- (In reply to comment #5)
Does the attached patch help?
YES it work! Thank you very very much for your extremely fast & helpful work! Can you include this great patch in future Wine releases?
P.S. This problem was 100% solved. But another problem found. The sub-app specctra.exe is sometimes locks up on exit with message like err:seh:setup_exception_record stack overflow 884 bytes in thread 0044 eip b7e7fa1f esp 01510fbc stack 0x1510000-0x1511000-0x1910000 and when I "force quit" it and wait, main application gets its results normally (specctra saves out file before exit). Sometimes this error not raises. This happens regardless of use your patch, and only if specctra.exe called from another process - when I run it manually, all fine always. Under Windows, all fine again. Should I fill new bugreport? Thank you!
http://bugs.winehq.org/show_bug.cgi?id=15608
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2008-10-15 04:15:19 --- Please file a separate bug report for another issue.
http://bugs.winehq.org/show_bug.cgi?id=15608
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #8 from Dmitry Timoshkov dmitry@codeweavers.com 2008-10-15 09:57:15 --- I decided to spend slightly more time but have a complete implementation: http://www.winehq.org/pipermail/wine-patches/2008-October/063182.html
http://bugs.winehq.org/show_bug.cgi?id=15608
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #9 from Dmitry Timoshkov dmitry@codeweavers.com 2008-10-16 06:38:34 --- The patch has been committed.
http://bugs.winehq.org/show_bug.cgi?id=15608
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2008-10-24 11:14:13 --- Closing bugs fixed in 1.1.7.
http://bugs.winehq.org/show_bug.cgi?id=15608
--- Comment #11 from jpka jopka@kvidex.ru 2008-11-01 11:49:14 --- I try 1.1.7 and find that bug successfully solved. Many thanks.
http://bugs.winehq.org/show_bug.cgi?id=15608
shalu shalu0724@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shalu0724@gmail.com