[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-06-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2097b9e0ef32ab7a0d745edc0f707c615780c006 by Victor Stinner in branch '2.7': [2.7] bpo-30764: test_subprocess uses SuppressCrashReport (#2405) (#2412) https://github.com/python/cpython/commit/2097b9e0ef32ab7a0d745edc0f707c615780c006 -- _

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-06-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9ad50d94599aed0c37beaf78948ec271c8aa3881 by Victor Stinner in branch '3.6': bpo-30764: test_subprocess uses SuppressCrashReport (#2405) (#2410) https://github.com/python/cpython/commit/9ad50d94599aed0c37beaf78948ec271c8aa3881 -- ___

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-06-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 849b062a82ca2f09e33259d34067faba196c9e23 by Victor Stinner in branch '3.5': bpo-30764: test_subprocess uses SuppressCrashReport (#2405) (#2411) https://github.com/python/cpython/commit/849b062a82ca2f09e33259d34067faba196c9e23 -- ___

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-06-26 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2461 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-06-26 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2459 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-06-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset cdee3f14f7f4c995e7eedb0bf6a67e260c739f7d by Victor Stinner in branch 'master': bpo-30764: test_subprocess uses SuppressCrashReport (#2405) https://github.com/python/cpython/commit/cdee3f14f7f4c995e7eedb0bf6a67e260c739f7d --

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-06-26 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2453 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-05-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: Fixed applied to subprocess32 in https://github.com/google/python-subprocess32/commit/0f1958e982bf44db569470def7281bcafa2a8b0e -- stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-05-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 56bc3b768c3cc3817031b56d5e7a279aa1296bc9 by Gregory P. Smith in branch 'master': bpo-29335 - apply suggested test_subprocess simplifications from haypo and Zach: (#1757) https://github.com/python/cpython/commit/56bc3b768c3cc3817031b56d5e7a279aa

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-05-22 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- pull_requests: +1843 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-03-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: -916 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-03-31 Thread Donald Stufft
Changes by Donald Stufft : -- pull_requests: +916 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-01-23 Thread Zach Riggle
Zach Riggle added the comment: Neat, though that's not in the standard library. The current logic for getting a handle to libc could also be simplified via ctypes.util.find_library (https://docs.python.org/3/library/ctypes.html#finding-shared-libraries). Darwin: >>> import ctypes.util

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-01-23 Thread STINNER Victor
STINNER Victor added the comment: If you want crashes, look at the portable faulthandler._sigsegv() :-) -- ___ Python tracker ___ ___

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-01-23 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-01-23 Thread Zach Riggle
Zach Riggle added the comment: Of note, there's no need to actually cause a SIGSEGV to generate the signal. The tests might be more clear to replace: libc.printf(ctypes.c_char_p(0xdeadbeef)) with os.kill(os.getpid(), signal.SIGSEGV) -- ___

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-01-22 Thread Gregory P. Smith
Gregory P. Smith added the comment: thanks Ned, I was awaiting interesting buildbot results. :) fixed in 2.7 and 3.5 onwards. thanks for the report Zach. not closing until I also apply the fix to the subprocess32 backport. -- resolution: -> fixed stage: patch review -> commit review

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-01-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8e3d412f8e89 by Gregory P. Smith in branch '2.7': Issue #29335: Fix subprocess.Popen.wait() when the child process has https://hg.python.org/cpython/rev/8e3d412f8e89 -- ___ Python tracker

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-01-22 Thread Ned Deily
Ned Deily added the comment: Among other buildbot failures: http://buildbot.python.org/all/builders/x86%20Tiger%203.6/builds/142/steps/test/logs/stdio == ERROR: test_child_terminated_in_stopped_state (test.test_subprocess.POSI

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-01-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 269296b2a047 by Gregory P. Smith in branch '3.5': Issue #29335: Fix subprocess.Popen.wait() when the child process has https://hg.python.org/cpython/rev/269296b2a047 New changeset ed5255a61648 by Gregory P. Smith in branch '3.6': Issue #29335: Fix s

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-01-22 Thread Gregory P. Smith
Gregory P. Smith added the comment: test added. -- stage: test needed -> patch review type: -> behavior Added file: http://bugs.python.org/file46386/issue29335-gps02.diff ___ Python tracker ___

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-01-22 Thread Gregory P. Smith
Gregory P. Smith added the comment: The attached patch should fix it. I want to incorporate a bug.py like regression test into test_subprocess.py. -- keywords: +patch stage: -> test needed Added file: http://bugs.python.org/file46385/issue29335-gps01.diff _

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-01-22 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- title: Python 2.7 subprocess module does not check WIFSTOPPED on SIGCHLD -> subprocess module does not check WIFSTOPPED on SIGCHLD ___ Python tracker __