[issue21090] File read silently stops after EIO I/O error

ivank report at bugs.python.org
Sun Apr 27 05:26:50 CEST 2014


ivank added the comment:

I'm finding it hard to reproduce the bug again with more zpool corruption.  (I see the `IOError: [Errno 5] Input/output error` exception now.)  I do remember that in the reported case, Python 3.4, node.js, and OpenJDK 7 threw an EIO exception, but Python 2.7 did not.  I tested this multiple times.

Right now I can only speculate that Python 2.7 silently stops reading only in certain cases, e.g. depending on how Python's reads are aligned with the first byte that causes EIO.

I'm still working on getting it reproduced, please hold off on closing.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21090>
_______________________________________


More information about the Python-bugs-list mailing list