[issue8976] subprocess module causes segmentation fault

Chris Blazick report at bugs.python.org
Fri Jun 11 21:21:30 CEST 2010


New submission from Chris Blazick <blazingvw at gmail.com>:

platform: Linux x86_64 (CentOS)
kernel: 2.6.18-128.1.10.el5.centos.plus
python version: 2.4.3
PyQt versin: 4.7.3

subprocess is generating a segmentation fault.

I am running a proprietary quicktime generating script inside my own (Qt) script using the subprocess module.  I am piping both stdout and stderr into my script.  I have tried reading these two with .communicate() and with the <Popen>.stdout / <Popen>.stderr properties.  Both end up generating the following error:

*** glibc detected *** /usr/bin/python: corrupted double-linked list: 0x00000000161c5c50 ***
Segmentation fault

running my script, and using os.system() to run the proprietary script works just fine

The (C++ compiled) proprietary script does not appear to have any problems crashing under normal circumstances, and I am assuming if there was a problem with the proprietary script, it wouldn't cascade to crashing my own script

----------
components: Extension Modules
messages: 107573
nosy: Chris.Blazick
priority: normal
severity: normal
status: open
title: subprocess module causes segmentation fault
type: crash
versions: Python 2.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8976>
_______________________________________


More information about the Python-bugs-list mailing list