[pypy-dev] double trouble with JIT

Carl Friedrich Bolz cfbolz at gmx.de
Mon Nov 29 14:12:04 CET 2010

On 11/29/2010 02:04 PM, wlavrijsen at lbl.gov wrote:
> Hi,
> with the Reflex branch, and the fast path enabled, I sometimes run into
> pbs with doubles in libffi. Sometimes the results are wrong, sometimes
> there's a crash, and sometimes there's:
> self =<C object ffi_cif (opaque) at 0xbfb8848>
>       def _ctypes_storage_was_allocated(self):
>           addr = ctypes.cast(self._storage, ctypes.c_void_p).value
>           if addr in ALLOCATED:
>>            raise Exception("internal ll2ctypes error - "
>                               "double conversion from lltype to ctypes?")
> E           Exception: internal ll2ctypes error - double conversion from lltype to ctypes?

Could you check in a test that shows the behaviour so that I can 
reproduce that? It is definitely possible that there is a bug in one of 
the layers that has nothing to do with cppyy.


Carl Friedrich

More information about the Pypy-dev mailing list