New submission from STINNER Victor:

Reading from the same file object in different threads does crash Python 2.7. 
The readahead feature of Objects/fileobject.c is not thread safe.

Try attached script to reproduce the crash.

----------
components: Interpreter Core
files: readahead.py
messages: 302610
nosy: haypo
priority: normal
severity: normal
status: open
title: [2.7] Python 2.7 readahead feature of file objects is not thread safe
versions: Python 2.7
Added file: https://bugs.python.org/file47156/readahead.py

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

Reply via email to