[ python-Bugs-1778376 ] Segfault closing a file from concurrent threads
SourceForge.net
noreply at sourceforge.net
Tue Aug 21 12:06:34 CEST 2007
Bugs item #1778376, was opened at 2007-08-21 08:08
Message generated for change (Settings changed) made by gbrandl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1778376&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Maciek Fijalkowski (fijal)
Assigned to: Nobody/Anonymous (nobody)
>Summary: Segfault closing a file from concurrent threads
Initial Comment:
On linux box this piece of code segfaults (CPy 2.5.1)
while 1:
f = open("/tmp/dupa", "w")
thread.start_new_thread(f.close, ())
f.close()
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1778376&group_id=5470
More information about the Python-bugs-list
mailing list