|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8581 apache child segfault on xml_parser_create()
Submitted: 2001-01-07 19:08 UTC Modified: 2001-01-07 19:14 UTC
From: enigma at turingstudio dot com Assigned:
Status: Closed Package: XML related
PHP Version: 4.0.4 OS: linux (redhat, any)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
22 - 6 = ?
Subscribe to this entry?

 [2001-01-07 19:08 UTC] enigma at turingstudio dot com
hi all,

mentioned this earlier on php-dev. asked a couple 
people, no one had seen it before, but...

I just got a message to binarycloud-dev asking about 
the _exact_ same problem, so here goes:

I have tried this with php 4.0.4 and php 4.0.3pl1:

segfaults the apache child process running the function 
_every_time_ it is called.

I was under the impression that xml support relied on a 
library, which is why I didn't enter a bug.

Further readong revealed to me that there is a version 
of expat compiled in from the php source tree.


Some info:

# cd /usr/
# find . -name *libxml*

compile info:
redhat 6.2

cd apache_1.3.14
./configure --prefix=/usr/local/apache

cd ../php-4.0.4/
./configure \
        --prefix=/usr/local/php4.module \
        --with-config-file-path=/usr/local/apache/conf \
        --with-apache=../apache_1.3.14 \
        --enable-ftp \
        --with-zlib=/usr/ \
        --enable-bcmath \
        --enable-calendar \
        --with-jpeg-dir=/usr/lib \
        --with-tiff-dir=/usr/lib \
        --with-openssl \
        --with-mhash=/usr/local/mhash \
        --with-mcrypt=/usr/bin/mcrypt \
        --enable-debug=no \
        --with-mysql=/usr/local \
make install

cd ../apache_1.3.14
./configure --prefix=/usr/local/apache 
make install


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-07 19:14 UTC]
This is fixed in CVS. Please try the latest snapshot from
and if it crashes too, reopen this bug report.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Jan 27 23:03:33 2022 UTC