PHP 4.0 Bug #10040: Apache Seg Fault
| From: | micah at autionservices dot com | Date: | Wed, 28 Mar 2001 18:22:43 +0000 |
| Subject: | PHP 4.0 Bug #10040: Apache Seg Fault | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50162@lists.php.net to get a copy of this message | ||
From: micah@autionservices.com
Operating system: Linux Mandrake 8.0
PHP version: 4.0 Latest CVS (28/03/2001)
PHP Bug Type: Apache related
Bug description: Apache Seg Fault
The compile script is as follows:
./configure \
--mandir=/usr/share/man \
--with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/etc/httpd \
--enable-magic-quotes \
--enable-bcmath \
--enable-calendar \
--with-dom=/usr/local \
--with-zlib-dir \
--enable-ftp \
--with-mysql=/usr/local/mysql \
--with-pgsql=/usr/local/pgsql \
--with-expat-dir=/usr/local \
--with-sablot=/usr/local \
--enable-trans-sid \
--with-regex=system \
--with-swf=/usr/local/openswf \
--enable-wddx \
--enable-memory-limit \
--with-gnu-ld
The system is:
Linux Mandrake 8.0
Apache 1.3.19
glibc 2.2.2
MySQL 3.23.34a
Postgres 7.0.3
libxml 2.3.4
Sablot 0.51
expat 1.95.1
The code that kills Apache is:
<?php
$doc = new_xmldoc("1.0");
$root = $doc->add_root("HTML");
$head = $root->new_child("HEAD", "");
$head->new_child("TITLE", "Hier der Titel");
echo $doc->dumpmem();
?>
I also seem to be having problems with XSLT functions as
well, but I will investigate that further.
PHP compiles and runs no problem, just seg faults after
calling above code.
Stack trace:
No stack.
(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X
Program received signal SIGSEGV, Segmentation fault.
var_reset (var=0x4021a29e) at zend_variables.c:43
43 var->type = IS_BOOL;
--
Edit Bug report at: http://bugs.php.net/?id=10040&edit=1