[issue5570] Bus error when calling .poll() on a closed Connection from multiprocessing.Pipe()

Vaibhav Mallya report at bugs.python.org
Thu Mar 26 20:23:25 CET 2009


Vaibhav Mallya <mallyvai at umich.edu> added the comment:

Python 2.6.1 (r261:67515, Mar 22 2009, 05:39:39) 
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from multiprocessing import Pipe
>>> a, b = Pipe()
>>> a.close()
>>> a.poll()
Segmentation fault

Seems like this should raise an exception.

uname -a:
Linux mememy 2.6.24-23-generic #1 SMP Thu Feb 5 15:00:25 UTC 2009 i686
GNU/Linux

Compiled Python 2.6.1 from source.

----------
components: +Extension Modules -Library (Lib)
nosy: +mallyvai

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


More information about the Python-bugs-list mailing list