[pypy-dev] Translation segfaults with "compilemodule.py _demo"

Elmo Mäntynen elmo13 at jippii.fi
Thu May 11 21:30:37 CEST 2006

Elmo Mäntynen wrote:

>python2.4 pypy/rpython/rctypes/tool/compilemodule.py _demo
>[cbuild:execute] cc -O2 -pthread -I/usr/include/python2.4 -c
>ctypesplatcheck_0.c -o ctypesplatcheck_0.o
>[cbuild:execute] cc -pthread /tmp/usession-27/ctypesplatcheck_0.o -lm
>-lpthread -o /tmp/usession-27/ctypesplatcheck_0
>[cbuild:execute] cc -O2 -pthread -c ctypesplatcheck_1.c -o
>[cbuild:execute] cc -pthread /tmp/usession-27/ctypesplatcheck_1.o -lm
>-lpthread -o /tmp/usession-27/ctypesplatcheck_1
>[translation:info] Annotating&simplifying...
>[translation:info] with policy:
>Segmentation fault
Segfaults with 2.4 but not with 2.3. The exception in .../pyobj.py:87,
which I reported earlier, is still thrown though.

>Other related minor errors:
>Propably because of the segfault, test.py gives EOFError, which isn't
>nice =).
This ---^ is propably py-devel stuff.

>Something you might know is that using pyhon2.3 I get an
>"OverflowError: 0 does not fit in signed 64-bit integer" (happens with"
>from pypy.rpython.lltypesystem import lltype"), which has probably
>something to do with the resent changes in rarithmetic.py.
Works now ---^

>Should I send
>the whole tracebacks for the these errors?
>pypy-dev at codespeak.net

More information about the Pypy-dev mailing list