[issue14212] Segfault when using re.finditer over mmap

Matthew Barnett report at bugs.python.org
Tue Mar 6 20:09:31 CET 2012


Matthew Barnett <python at mrabarnett.plus.com> added the comment:

It segfaults because it attempts to access the buffer of an mmap that has been closed. It would be certainly be more friendly if it checked whether the mmap was still open and, if not, raised an exception instead.

----------
nosy: +mrabarnett

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


More information about the Python-bugs-list mailing list