[Zope] Security leaking memory?

Chris McDonough chrism@zope.com
Thu, 06 Jun 2002 08:11:27 -0400


Charlie,

Can you put this issue in the Collector at http://collector.zope.org/Zope?

Thanks!

- C


Charlie Reiman wrote:
> This is a possible bug, so:
>  Zope 2.5.1
>  Python 2.1.1
> 
> I know this isn't the latest python but right now this is just for inhouse
> development. On with the bug!
> 
> I noticed I had 16k (yes, thousands) of Acquisition.ImplicitAcquirerWrapper
> objects. Since this site is hardly used, this seemed odd. After spending a
> few hours isolating the issue, here's how I can reproduce it.
> 
> Create a folder in the root, call it "A".
> Create a dtml document (call it "B") in the folder with this simple body:
> 
> <html><body>
> <dtml-var title_or_id>
> </body></html>
> 
> Change security on "A". In particular, change "Access contents information"
> to:
> 
> acquire: no, anon: no, authenitcated: yes, manager: yes, owner: yes.
> 
> And save changes. From one browser window, visit "/A/B". In a separate
> window, open the control panel's debug window. Each time you visit /A/B, the
> number of Acquisition.ImplicitAcquirerWrapper objects goes up by about
> three. Repeat until it gets boring.
> 
> Can anyone else reproduce this? And is it a bug?
> 
> Charlie Reiman
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )


-- 
Chris McDonough                    Zope Corporation
http://www.zope.org             http://www.zope.com
"Killing hundreds of birds with thousands of stones"