New submission from Eric Sadit <[EMAIL PROTECTED]>:
Hello,
I found a rare bug in heavy multithreading IO operations. The bug arises
under a stupid sequence of I/O operations. The sequence is not a normal
one, but the real problem is that the Python's interpreter crashes. The
corre
Eric Sadit <[EMAIL PROTECTED]> added the comment:
Ok, I will try to reproduce it in the python 2.6b1 version, and I report to
you the result
Saludos
On Wed, Jun 25, 2008 at 12:44 PM, Amaury Forgeot d'Arc <
[EMAIL PROTECTED]> wrote:
>
> Amaury Forgeot d'Arc &
Eric Sadit <[EMAIL PROTECTED]> added the comment:
Thanks Amaury
I run a test script and Python 2.5.2 crashes, but 2.6b1 runs perfectly
throwing a ValueError exception (Operation of closed file)
in the reader/writer thread and "IOError: close() called during concurrent
operation on th
Eric Sadit <[EMAIL PROTECTED]> added the comment:
The test script
#!/usr/bin/python
import sys
import thread
f = file("o.test","w")
buff = " " * 1024
def run():
while 1:
try:
f.read(100)
#
f.write(buff)
ex
Eric Sadit <[EMAIL PROTECTED]> added the comment:
#!/usr/bin/python
import sys
import thread
f = file("o.test","w")
buff = " " * 1024
def run():
while 1:
try:
f.read(100)
#
f.write(buff)
except Exception, e: