PHP 4.0 Bug #8581: apache child segfault on xml_parser_create()

From: Date: Mon, 08 Jan 2001 00:08:16 +0000
Subject: PHP 4.0 Bug #8581: apache child segfault on xml_parser_create()
Groups: php.dev 
Request: Send a blank email to php-dev+get-43283@lists.php.net to get a copy of this message
From: enigma@turingstudio.com Operating system: linux (redhat, any) PHP version: 4.0.4 PHP Bug Type: XML related Bug description: apache child segfault on xml_parser_create() 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 ---------------------------------- -- Edit Bug report at: http://bugs.php.net/?id=8581&edit=1

« previous php.dev (#43283) next »