[ZCM] [ZC] 1218/15 Comment "PyXML causes zope to segfault when profiling"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Tue Feb 21 05:57:12 EST 2006


Issue #1218 Update (Comment) "PyXML causes zope to segfault when profiling"
 Status Pending, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/1218

==============================================================
= Comment - Entry #15 by chrisw on Feb 21, 2006 5:57 am

Even at the "enterprise" (and I use that in the worst sense of the word) level, 2.6 is not acceptable...

You really should be on 2.7 at the absolute minimum. Come on, these rest of us are on 2.8 or 2.9 now ;-)
________________________________________
= Comment - Entry #14 by bacarter on Feb 17, 2006 1:32 pm

The profiler is here (zope 2.6.1):
/Control_Panel/DebugInfo/manage_profile

I know 2.6 is old, but in an enterprise environment upgrades happen slowly :)
________________________________________
= Comment - Entry #13 by efge on Feb 17, 2006 7:49 am

Also, what's the Zope profiler you're mentioning? Dieter Maurer's ZopeProfiler?

________________________________________
= Comment - Entry #12 by efge on Feb 17, 2006 7:48 am

I doubt it will be investigated if it only happens with ancient Zope and python versions.

If you could reproduce (and explain how to reproduce!) using Zope 2.8 or 2.9 with python 2.4.2, then that would be a different matter.

________________________________________
= Comment - Entry #11 by bacarter on Feb 16, 2006 7:19 pm

Is this bug ever going to be investigated?
________________________________________
= Comment - Entry #10 by bacarter on Jun 15, 2004 6:12 pm

Several of our internal products reference it:
from xml.dom.minidom import Node
from xml.dom import minidom

However, I can cause the crash with no product instances installed, but the product itself installed.
The problem here is between the pyexpat shared lib and the zope profiler, probably any zope product that uses PyXML will have this same crash.
________________________________________
= Comment - Entry #9 by chrisw on Jun 1, 2004 4:04 pm

Okay, now can you tell us what's using PyXML?
________________________________________
= Comment - Entry #8 by bacarter on Jun 1, 2004 12:54 pm

The debugging and profiling page in the control panel:
/Control_Panel/DebugInfo/manage_workspace
________________________________________
= Comment - Entry #7 by chrisw on May 31, 2004 7:29 am

What is the "zope debugger" you speak of?

What do you have installed that is using PyXML?
________________________________________
= Edit - Entry #6 by ajung on May 29, 2004 3:04 am

 Changes: submitter email, edited transcript, importance (critical => medium)
________________________________________
= Comment - Entry #5 by bacarter on May 28, 2004 1:17 pm

Whoops forgot the PyXML version, we're just using the python2.1-xml debian package from debian stable, looks like version 0.7.
http://packages.debian.org/stable/interpreters/python2.1-xml


________________________________________
= Comment - Entry #4 by bacarter on May 28, 2004 1:07 pm

>From the control panel:
(Zope 2.6.2 (source release, python 2.1, linux2), python 2.1.3, linux2)
Python Version
	
2.1.3 (#1, Sep 7 2002, 15:29:56) [GCC 2.95.4 20011002 (Debian prerelease)]
System Platform

Please let me know if you need any more detailed information.

________________________________________
= Resubmit - Entry #3 by chrisw on May 28, 2004 9:01 am

 Status: Rejected => Pending

lets not reject straight away.

bacarter, please provide more detailed information suh as the version of Zope, the version of Python and the version of PyXML.

if nothing has been heard from bacarter by the end of June 2004, this bug will be rejected.
________________________________________
= Reject - Entry #2 by ajung on May 28, 2004 8:57 am

 Status: Pending => Rejected

The description of this issue is far from being complete 
to be reproduced or solved somehow.
________________________________________
= Request - Entry #1 by bacarter on Feb 4, 2004 7:49 pm

When using the PyXML module with the zope debugger installed, hitting any page will cause zope to segfault, attaching GDB to the python process the last thing on the stack before the crash was:
 0x402a6587 in XML_ExpatVersionInfo ()
from /usr/lib/python2.1/site-packages/_xmlplus/parsers/pyexpat.so
==============================================================



More information about the Zope-Collector-Monitor mailing list