Martin v. Löwis <mar...@v.loewis.de> added the comment:

Indeed, it crashes in

TextIOWrapper_parseCookie(cookie=0xffbfb278, cookieObj=0x27e780)
_textio.c:1739
1739        cookie->start_pos     = * (Py_off_t *)(buffer + OFF_START_POS);

with a call stack of

#0  0x001426bc in TextIOWrapper_parseCookie (cookie=0xffbfb278,
    cookieObj=0x27e780) at _textio.c:1739
#1  0x001431f4 in TextIOWrapper_seek (self=0x545e38, args=0x70ce00)
    at _textio.c:1890
#2  0x001cef10 in PyCFunction_Call (func=0x715238, arg=0x70ce00, kw=0x0)
    at Objects/methodobject.c:81
...

The problem is that OFF_START_POS is 13, so the entire line produces an
unaligned access.

----------
nosy: +loewis

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

Reply via email to