Christian Heimes added the comment: I'm able to reproduce the bug. Here is a stack trace:
#0 0x00000000005a650d in PyBytes_FromStringAndSize (str=0x7f44c127a000 <Address 0x7f44c127a000 out of bounds>, size=1) at Objects/bytesobject.c:82 82 (op = characters[*str & UCHAR_MAX]) != NULL) (gdb) bt #0 0x00000000005a650d in PyBytes_FromStringAndSize (str=0x7f44c127a000 <Address 0x7f44c127a000 out of bounds>, size=1) at Objects/bytesobject.c:82 #1 0x00007f44bf7c11b2 in mmap_subscript (self=0x7f44bf9ca350, item=<slice at remote 0x7f44c1168618>) at /home/heimes/dev/python/cpython/Modules/mmapmodule.c:799 #2 0x0000000000590863 in PyObject_GetItem (o=<mmap.mmap at remote 0x7f44bf9ca350>, key=<slice at remote 0x7f44c1168618>) at Objects/abstract.c:143 ---------- nosy: +christian.heimes stage: -> needs patch versions: +Python 3.3, Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16212> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com