[Zope-Coders] Zope 2.5 instability problems

Matthew T. Kromer matt@zope.com
Mon, 10 Dec 2001 12:43:46 -0500


On Monday, December 10, 2001, at 12:31 PM, Martijn Faassen wrote:
>
> This occurs when I open a node in the DOM tree view of ParsedXML, and
> hen try to open another one; frequently I get a crash then..

Notice the arguments below?!  Equal self and oname!  There's a loop in 
Wrapper_findattr it would appear.  I have a starting point now... thanks!



>
> But, opening a node and then going to the management interface
> elsewhere can get a crash as well:
>
> 0  0x4036f15a in Wrapper_findattr (self=0x8973818, oname=0x8049b70,
>     filter=0x0, extra=0x0, orig=0x0, sob=1, sco=1, explicit=0, 
> containment=0)
>     at ././../Components/ExtensionClass/src/Acquisition.c:389
> #1  0x4036f2ea in Wrapper_findattr (self=0x8973818, oname=0x8049b70,
>     filter=0x0, extra=0x0, orig=0x0, sob=1, sco=1, explicit=0, 
> containment=0)
>     at ././../Components/ExtensionClass/src/Acquisition.c:433
> #2  0x4036f2ea in Wrapper_findattr (self=0x8973818, oname=0x8049b70,
>     filter=0x0, extra=0x0, orig=0x0, sob=1, sco=1, explicit=0, 
> containment=0)
>     at ././../Components/ExtensionClass/src/Acquisition.c:433
> #3  0x4036f2ea in Wrapper_findattr (self=0x8973818, oname=0x8049b70,
>     filter=0x0, extra=0x0, orig=0x0, sob=1, sco=1, explicit=0, 
> containment=0)
>     at ././../Components/ExtensionClass/src/Acquisition.c:433
> #4  0x4036f2ea in Wrapper_findattr (self=0x8973818, oname=0x8049b70,
>     filter=0x0, extra=0x0, orig=0x0, sob=1, sco=1, explicit=0, 
> containment=0)
>     at ././../Components/ExtensionClass/src/Acquisition.c:433
> #5  0x4036f2ea in Wrapper_findattr (self=0x8973818, oname=0x8049b70,
>     filter=0x0, extra=0x0, orig=0x0, sob=1, sco=1, explicit=0, 
> containment=0)
>     at ././../Components/ExtensionClass/src/Acquisition.c:433
>
> in a completely different place, so it's pretty clear the corruption 
> happens
> earlier..  Since I get no crashes if I run the unit tests (or generate
> XML output) against ParsedXML and the main difference there is that I go
> around the security infrastructure, I suspect that this may be the
> culprit.
>
> I don't think that this is a ParsedXML problem; ParsedXML just 
> apparently
> causes the symptoms to reveal itself (lots of use of computed attribute?
> lots of wrapperobject creation?). And I need help with this.
>
> Help!
>
> Regards,
>
> Martijn
>
>
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders@zope.org
> http://lists.zope.org/mailman/listinfo/zope-coders