New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bus error when calling .poll() on a closed Connection from multiprocessing.Pipe() #49820
Comments
Python 2.6.1 (r261:67515, Mar 26 2009, 14:44:39)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from multiprocessing import Pipe
>>> a, b = Pipe()
>>> a.close()
>>> a.poll()
Bus error amacleod@cthulhu:~$ uname -a I'm running Ubuntu 8.04 LTS, and just installed Python 2.6.1, compiling |
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: Compiled Python 2.6.1 from source. |
See also: http://svn.python.org/view?view=rev&revision=68768 This was checked into trunk, I don't know if it was merged to 2.6.1 |
OS/X, Python Trunk: >>> from multiprocessing import Pipe
>>> a, b = Pipe()
>>> a.close()
>>> a.poll()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IOError: handle out of range in select()
>>> 2.6.1 Does not have the fix (I can segfault it here too). Ben, are we |
2009/3/26 Jesse Noller <report@bugs.python.org>:
Yes, I think around 3.1's release, but you'll have to ask Barry for sure. |
Merged back in CL 70721 on 26 maint |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: