[ZODB-Dev] transaction exception-related reference leaks
Chris McDonough
chrism at plope.com
Mon Sep 13 16:15:46 EDT 2010
This patch has been applied to the trunk.
- C
On Mon, 2010-09-13 at 04:33 -0400, Chris McDonough wrote:
> I noticed some weird behavior with exceptions and transactions recently
> (in particular, a WSGI server which relies on a __del__ to close its
> client connection wasn't disconnecting from the client immediately when
> a conflict error was raised by ZODB, but would indeed disconnect if a
> conflict error had not been raised).
>
> I tracked this down to the zope transaction module leaking frame stacks
> via retrieving traceback objects from sys.exc_info() without
> subsequently removing them from local scope.
>
> With the attached patch, the issue was solved. If no one complains,
> I'll apply it to the transaction trunk.
>
>
> - C
>
>
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
>
> ZODB-Dev mailing list - ZODB-Dev at zope.org
> https://mail.zope.org/mailman/listinfo/zodb-dev
More information about the ZODB-Dev
mailing list