New submission from Antoine Pitrou <pit...@free.fr>:

This was introduced by r74426 which addressed issue1628205. socket.sendall() 
calls PyErr_CheckSignals() (and potentially returns to the caller) without 
having the GIL.

>>> import socket
>>> c, s = socket.socketpair()
>>> s.sendall(b"x"*(100 * 1024**2))
^C^CFatal Python error: PyThreadState_Get: no current thread

----------
components: Library (Lib)
messages: 117385
nosy: gregory.p.smith, pitrou
priority: normal
severity: normal
status: open
title: socket.sendall() crash when receiving a signal
type: crash
versions: Python 2.7, Python 3.1, Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9950>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to