[issue17423] libffi on 32bit is broken on linux

Maciej Fijalkowski report at bugs.python.org
Thu Mar 14 22:09:03 CET 2013


New submission from Maciej Fijalkowski:

The bug is a little tricky to reproduce. You need a 32bit linux. First compile x.c with:

gcc -O3 -g -shared -o x.so x.c -std=c99 -msse3 -ftree-vectorize -mfpmath=sse

and run x.py. It segfaults because the alignment of stack is not preserved (and it's assumed on a modern linux). Patch attached.

----------
files: x.c
messages: 184193
nosy: fijall
priority: normal
severity: normal
status: open
title: libffi on 32bit is broken on linux
type: crash
Added file: http://bugs.python.org/file29409/x.c

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


More information about the Python-bugs-list mailing list