PHP 4.0 Bug #8581 Updated: apache child segfault on xml_parser_create()
| From: | sniper@php.net | Date: | Mon, 08 Jan 2001 00:14:12 +0000 |
| Subject: | PHP 4.0 Bug #8581 Updated: apache child segfault on xml_parser_create() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43285@lists.php.net to get a copy of this message | ||
ID: 8581
Updated by: sniper
Reported By: enigma@turingstudio.com
Old-Status: Open
Status: Closed
Bug Type: XML related
Assigned To:
Comments:
This is fixed in CVS. Please try the latest snapshot from http://snaps.php.net/
and if it crashes too, reopen this bug report.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-01-07 19:08:16] enigma@turingstudio.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:
xml_parser_create()
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*
./lib/libxml.so.1
./lib/libxml.so.1.8.6
./lib/libxml.a
./lib/libxml.la
./lib/libxml.so
./lib/libxml.so.2
./lib/libxml.so.2.2.8
./lib/libxmlparse.so.0
./lib/libxmlparse.so.0.1.0
./lib/libxmltok.so.0
./lib/libxmltok.so.0.1.0
./lib/libxmlparse.a
./lib/libxmlparse.la
./lib/libxmlparse.so
./lib/libxmltok.a
./lib/libxmltok.la
./lib/libxmltok.so
./local/lib/libxml.so.2
./local/lib/libxml.so
./local/lib/libxml.la
./local/lib/libxml.a
./local/include/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
make install
cd ../apache_1.3.14
./configure --prefix=/usr/local/apache
--activate-module=src/modules/php4/libphp4.a
make
make install
----------------------------------
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8581