[pypy-dev] test__ffi_call_releases_gil test failing in win32

Amaury Forgeot d'Arc amauryfa at gmail.com
Tue May 29 00:05:44 CEST 2012


2012/5/28 Matti Picus <matti.picus at gmail.com>

> I need some hints how to debug a crash in pypy when running this test
> test__ffi_call_releases_gil,in pypy.module.pypyjit.test_pypy_**
> c.test__ffi.
> I fixed the failing test so it can find the Sleep function (in win32) but
> then pypy crashes, with one of those annoying "report this error" dialog
> boxes.
> Here's what I have so far:https://gist.github.com/**2821258<https://gist.github.com/2821258>
> It's python code that is run with pypy --jit threshold=150
> When run without the --jit, all is OK
> But with the jit flag pypy (win32, of course :) ) crashes
> Here is the PYPYLOG: https://gist.github.com/**2821307<https://gist.github.com/2821307>


A wild guess: Sleep is a WINAPI function, with a calling convention
different than
the default C convention. Maybe this makes a difference with the ffi module?

-- 
Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20120529/85784d0f/attachment.html>


More information about the pypy-dev mailing list