[Python-Dev] Bug in PyErr_WriteUnraisable ?
Gabriel Becedillas
gabriel.becedillas at corest.com
Mon Feb 26 16:03:54 CET 2007
Brett Cannon wrote:
> On 2/22/07, Gabriel Becedillas <gabriel.becedillas at corest.com> 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 at 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
More information about the Python-Dev
mailing list