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.

classification
Title: [NetBSD] interpreter hangs on exit after call to subprocess.Popen()
Type: behavior Stage:
Components: Interpreter Core Versions: Python 2.7
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: oskog97
Priority: normal Keywords:

Created on 2016-11-26 13:17 by oskog97, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg281773 - (view) Author: Oskar Skog (oskog97) Date: 2016-11-26 13:17
This is a platform specific bug.  Only noticed this on NetBSD 6.1 x86-32 on a VirtualBox machine.

To me, the patches for NetBSD do not look relevant to subprocess or core stuff.
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/python27/patches/?only_with_tag=MAIN


Test:

#!/usr/pkg/bin/python
import subprocess
subprocess.Popen(['true'])
print('Program finished.')
# END OF FILE

On an unaffected platform it will print "Program finished." and exit, on an affected platform it will print "Program finished." and hang.
msg281776 - (view) Author: Oskar Skog (oskog97) Date: 2016-11-26 14:41
I really need a "stupid"-helmet today.

Reopen if you can experience the same bug on a different platform.
History
Date User Action Args
2022-04-11 14:58:40adminsetgithub: 72993
2016-11-26 14:41:22oskog97setstatus: open -> closed
resolution: third party
messages: + msg281776
2016-11-26 13:17:32oskog97create