[Checkins] SVN: zope.app.testing/trunk/ Fix memory leak in all functional tests.

Gary Poster gary at zope.com
Wed Jul 30 23:26:32 EDT 2008


On Jul 25, 2008, at 2:48 PM, Fred Drake wrote:

> On Fri, Jul 25, 2008 at 1:06 PM, Marius Gedminas <marius at pov.lt>  
> wrote:
>> Log message for revision 88823:
>> Fix memory leak in all functional tests.
>>
>> See: https://bugs.launchpad.net/zope3/+bug/251273
>
> Updating from 3.4.2 to 3.4.3 in a large application caused problems;
> I'm getting exceptions like this:
>
>  File "~/.buildout/eggs/zope.component-3.4.0-py2.4.egg/zope/ 
> component/registry.py",
> line 290, in subscribers
>    return self.adapters.subscribers(objects, provided)
>  File "~/.buildout/eggs/ZODB3-3.8.1b6-py2.4-macosx-10.3-i386.egg/ 
> ZODB/Connection.py",
> line 808, in setstate
>    raise ConnectionStateError(msg)
> ConnectionStateError: Shouldn't load state for 0x0d when the
> connection is closed
>
> I'll try and look into this when I get a chance.  This is an
> application using multiple databases; not sure if that's relevant in
> this case.  There could be a bad interaction with our test layers as
> well; it's not clear this is really caused by a zope.app.testing
> problem.

FWIW, this problem also occurs with another large app when trying to  
switch from 3.4.2 to 3.4.3.  Fred and I will race to see who has a  
chance to look at this first ;-)

Gary



More information about the Checkins mailing list