On 11/29/2010 02:04 PM, [email protected] 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. Cheers, Carl Friedrich _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
