[Python-Dev] Bug in PyErr_WriteUnraisable ?

Gabriel Becedillas gabriel.becedillas at corest.com
Thu Feb 22 21:11:36 CET 2007


I'd hit an access violation inside PyErr_WriteUnraisable when a 
non-exception instance was raised. The call to PyExceptionClass_Name 
with a non-exception instance is yielding an invalid pointer.
We are embedding Python 2.5 and a string instance is raised using 
PyThreadState_SetAsyncExc. I can fix that in my code, by raising an 
appropiate exception instance, but I think PyErr_WriteUnraisable lacks 
some checks.

-- 


Gabriel Becedillas
Developer
CORE SECURITY TECHNOLOGIES



More information about the Python-Dev mailing list