[Bug 50004] New: [5.19 regression] wine hangs running simple batch process Python script
https://bugs.winehq.org/show_bug.cgi?id=50004 Bug ID: 50004 Summary: [5.19 regression] wine hangs running simple batch process Python script Product: Wine Version: 5.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs(a)winehq.org Reporter: xantares09(a)hotmail.com Distribution: ArchLinux wine 5.19 (5.18 is ok) hangs while running the following script in Python (3.8.6) the script runs the echo command, grabs the output and waits for termination import subprocess proc = subprocess.Popen('echo hello', shell=True, stdout=subprocess.PIPE) stdout_data, stderr_data = proc.communicate() ret = proc.poll() print(ret, stdout_data, stderr_data) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50004 --- Comment #1 from Rafał Mużyło <galtgendo(a)o2.pl> --- Likely: see bug 49997. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50004 xantares <xantares09(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|ntdll |-unknown -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50004 --- Comment #2 from xantares <xantares09(a)hotmail.com> --- To reproduce: $ wget https://www.python.org/ftp/python/3.8.6/python-3.8.6-embed-win32.zip && unzip python-3.8.6-embed-win32.zip $ wine python.exe -c "import subprocess; proc = subprocess.Popen('echo hello', shell=True, stdout=subprocess.PIPE); stdout_data, stderr_data = proc.communicate(); ret = proc.poll(); print(ret, stdout_data, stderr_data)" -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50004 --- Comment #3 from Nikolay Sivov <bunglehead(a)gmail.com> --- Please perform a regression test as described here https://wiki.winehq.org/Regression_Testing. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50004 --- Comment #4 from xantares <xantares09(a)hotmail.com> --- Looks like its yours :) fde5967f725624c5ee4995dcbe22f262979c5c9c is the first bad commit commit fde5967f725624c5ee4995dcbe22f262979c5c9c Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Tue Sep 29 12:12:14 2020 +0300 server: Inherit standard handles together with explicit handle list. Restores standard handles behavior pre-c58a10c16395c30e7793cde1f748febe0432a6ad, always inheriting them when inherit mode is enabled. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49895 Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50004 --- Comment #5 from Nikolay Sivov <bunglehead(a)gmail.com> --- Thought it might be, thanks. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50004 --- Comment #6 from Nikolay Sivov <bunglehead(a)gmail.com> --- Created attachment 68450 --> https://bugs.winehq.org/attachment.cgi?id=68450 patch Please try this one, it seems to work for me. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50004 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |fde5967f725624c5ee4995dcbe2 | |2f262979c5c9c Status|UNCONFIRMED |NEW Component|-unknown |wineserver Keywords| |regression Ever confirmed|0 |1 --- Comment #7 from Nikolay Sivov <bunglehead(a)gmail.com> --- Confirming. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50004 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[5.19 regression] wine |Python script hangs when |hangs running simple batch |pipe IPC is used |process Python script | -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50004 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2a7a1bbee2116d1ec242920c68f | |a12dfdf747347 Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #8 from Nikolay Sivov <bunglehead(a)gmail.com> --- Marking fixed, 2a7a1bbee2116d1ec242920c68fa12dfdf747347. Please retest. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50004 --- Comment #9 from xantares <xantares09(a)hotmail.com> --- it works, many thanks! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=50004 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #10 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 5.20. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla