This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients martin.panter, python-dev, serhiy.storchaka, vstinner
Date 2015-12-06.06:21:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1449382867.54.0.0877346878125.issue25764@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a better failure in test_close_fds_after_preexec(), raising ENOMEM, so I am fairly confident that my fix is working and the exception from fork() is passing through properly.

http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%203.5/builds/137/steps/test/logs/stdio

======================================================================
ERROR: test_close_fds_after_preexec (test.test_subprocess.POSIXProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/export/home/buildbot/64bits/3.5.cea-indiana-amd64/build/Lib/test/test_subprocess.py", line 2313, in test_close_fds_after_preexec
    preexec_fn=lambda: os.dup2(1, fd))
  File "/export/home/buildbot/64bits/3.5.cea-indiana-amd64/build/Lib/subprocess.py", line 950, in __init__
    restore_signals, start_new_session)
  File "/export/home/buildbot/64bits/3.5.cea-indiana-amd64/build/Lib/subprocess.py", line 1483, in _execute_child
    restore_signals, start_new_session, preexec_fn)
OSError: [Errno 12] Not enough space

Closing this as fixed, but I would love to find out what the problem with my setrlimit() test code is on OS X.
History
Date User Action Args
2015-12-06 06:21:07martin.pantersetrecipients: + martin.panter, vstinner, python-dev, serhiy.storchaka
2015-12-06 06:21:07martin.pantersetmessageid: <1449382867.54.0.0877346878125.issue25764@psf.upfronthosting.co.za>
2015-12-06 06:21:07martin.panterlinkissue25764 messages
2015-12-06 06:21:06martin.pantercreate