[issue3200] Python's crash in heavy multithreading IO operations

2008-06-25 Thread Eric Sadit
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

[issue3200] Python's crash in heavy multithreading IO operations

2008-06-25 Thread Eric Sadit
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 &

[issue3200] Python's crash in heavy multithreading IO operations

2008-06-25 Thread Eric Sadit
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

[issue3200] Python's crash in heavy multithreading IO operations

2008-06-25 Thread Eric Sadit
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

[issue3200] Python's crash in heavy multithreading IO operations

2008-06-25 Thread Eric Sadit
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: