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
On 2/22/07, Gabriel Becedillas
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.
Please use the the bug tracker at http://sourceforge.net/tracker/?group_id=5470&atid=105470 to report issues with Python. -Brett
--
Gabriel Becedillas Developer CORE SECURITY TECHNOLOGIES
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/brett%40python.org
Brett Cannon wrote:
On 2/22/07, Gabriel Becedillas
wrote: 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.
Please use the the bug tracker at http://sourceforge.net/tracker/?group_id=5470&atid=105470 to report issues with Python.
-Brett
--
Gabriel Becedillas Developer CORE SECURITY TECHNOLOGIES
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/brett%40python.org
I've submitted the bug report with a snippet of code to reproduce the crash. http://sourceforge.net/tracker/index.php?func=detail&aid=1669182&group_id=5470&atid=105470 -- Gabriel Becedillas Developer CORE SECURITY TECHNOLOGIES
Thanks! Hopefully someone will be able to get to it in the near future.
-Brett
On 2/26/07, Gabriel Becedillas
Brett Cannon wrote:
On 2/22/07, Gabriel Becedillas
wrote: 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.
Please use the the bug tracker at http://sourceforge.net/tracker/?group_id=5470&atid=105470 to report issues with Python.
-Brett
--
Gabriel Becedillas Developer CORE SECURITY TECHNOLOGIES
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/brett%40python.org
I've submitted the bug report with a snippet of code to reproduce the crash. http://sourceforge.net/tracker/index.php?func=detail&aid=1669182&group_id=5470&atid=105470
--
Gabriel Becedillas Developer CORE SECURITY TECHNOLOGIES
participants (2)
-
Brett Cannon
-
Gabriel Becedillas