[CentOS] mod_python - apache crash

Fri Jul 4 12:00:36 UTC 2008
Johnny Hughes <mailing-lists at hughesjr.com>

Johnny Hughes wrote:
> Tom Brown wrote:
>>
>> one of my developers is using a mod_python module called 
>> xml.dom.minidom and its causing the issue as outlined below
>>
>> http://www.dscpl.com.au/wiki/ModPython/Articles/ExpatCausingApacheCrash
>>
>> This is on CentOS 4.5 and so Apache 2.0.52-38 - I cant change the OS 
>> version but i could change the apache and or mod_python version.
>>
>> Does anyone know of any fixes to this apart from rolling my own?
> 
> OK ... did you check the expat versions used by all the items involved?
> 
> which one needs to be recompiled :D

Specifically ... I am looking at the httpd and python and pyexpat used 
in CentOS 4 ... I get this:

=====
[root at v20z-x86-64 ~]# python
Python 2.3.4 (#1, Dec 11 2007, 05:28:55)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import pyexpat

 >>> pyexpat.version_info
(1, 95, 7)
=====
[root at v20z-x86-64 ~]# ldd /usr/sbin/httpd | grep expat
         libexpat.so.0 => /usr/lib64/libexpat.so.0 (0x0000002a95dba000)

[root at v20z-x86-64 ~]# strings /usr/lib64/libexpat.so.0 | grep expat_
expat_1.95.7
=====

So, it does not seem that Apache or Python or pyexpat that comes 
standard in CentOS-4 has this issue.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080704/c24d3cbf/attachment-0005.sig>