[Python-Dev] Bug in PyErr_WriteUnraisable ?

Brett Cannon brett at python.org
Mon Feb 26 16:35:27 CET 2007


Thanks!  Hopefully someone will be able to get to it in the near future.

-Brett

On 2/26/07, Gabriel Becedillas <gabriel.becedillas at corest.com> wrote:
> 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