[issue35305] subprocess.Popen(['/sbin/ldconfig', '-p'], stdin=PIPE) itself hangs/deadlocks (Linux)
STINNER Victor
report at bugs.python.org
Tue Dec 4 05:34:37 EST 2018
STINNER Victor <vstinner at redhat.com> added the comment:
I tested:
* Python 2.6.6 (installed from RHEL) on RHEL6
* Python 2.7.15 (compiled manually) on RHEL6
* Python 2.7.15 (installed from Fedora) on Fedora 29
Note: I tested RHEL 6.10 with kernel 2.6.32-754.el6.x86_64.
The fact that Python 3 is also impacted makes me think that it's a bug in your kernel, not in Python.
"MY CONCLUSION: To me, this looks like a deadlock in Popen() itself - is that correct?"
It works on all systems except of yours, I don't think that it's a bug in Python.
You have to debug your kernel.
This issue is not a Python bug, so I close it.
If you are a Red Hat customer, contact Red Hat to get support.
----------
resolution: -> third party
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35305>
_______________________________________
More information about the Python-bugs-list
mailing list