[pypy-dev] Question on pypy exception...

Jiwon Seo seojiwon at gmail.com
Sat Jul 8 21:51:56 CEST 2006


I'm getting an exception with pypy-c, and the exception occurs right
after pypy_g_ll_fused_releaseacquirelock__ThreadLockPtr function in
pypy_g_PyInterpFrame_dispatch_translated.

1. Is "pypy_g_ll_fused_releaseacquirelock__ThreadLockPtr" same as
LL_thread_fused_releaseacquirelock ? I can only see "#define
LL_thread_fused_releaseacquirelock
pypy_g_ll_fused_releaseacquirelock__ThreadLockPtr", but not the other
way around.

2. Is that function there for forcing context switching?

3. What could happen in
pypy_g_ll_fused_releaseacquirelock__ThreadLockPtr() that can set
(&pypy_g_pypy_translator_c_exceptiontransform_ExcData)->ed_inst_exc_type?
the error message that I'm seeing is like following

propagating implement_6.c:100878 pypy_g_PyInterpFrame_dispatch_translated error
propagating implement_5.c:30508 pypy_g_PyFrame_eval error
propagating implement_5.c:37782 pypy_g_EvalFrame_resume error
propagating implement_39.c:41465 pypy_g_ll_deallocator__Address_68 error
propagating implement.c:27685 pypy_g_funccall_star1 error
propagating implement_39.c:32105 pypy_g_ll_deallocator__Address_14 error
propagating implement_39.c:32158 pypy_g_ll_deallocator__Address_15 error
propagating implement_39.c:32294 pypy_g_ll_deallocator__Address_17 error
propagating implement.c:1336 pypy_g_entry_point error

Thanks!

-Jiwon



More information about the Pypy-dev mailing list