2012/5/28 Matti Picus <[email protected]>

> 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
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to