<div class="gmail_quote">2012/5/28 Matti Picus <span dir="ltr"><<a href="mailto:matti.picus@gmail.com" target="_blank">matti.picus@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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_<u></u>c.test__ffi.<br>
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.<br>
Here's what I have so far:<a href="https://gist.github.com/2821258" target="_blank">https://gist.github.com/<u></u>2821258</a><br>
It's python code that is run with pypy --jit threshold=150<br>
When run without the --jit, all is OK<br>
But with the jit flag pypy (win32, of course :) ) crashes<br>
Here is the PYPYLOG: <a href="https://gist.github.com/2821307" target="_blank">https://gist.github.com/<u></u>2821307</a></blockquote><div><br></div><div>A wild guess: Sleep is a WINAPI function, with a calling convention different than</div>
<div>the default C convention. Maybe this makes a difference with the ffi module?</div><div> </div></div>-- <br>Amaury Forgeot d'Arc<br>