|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10040 Apache Seg Fault
Submitted: 2001-03-28 13:22 UTC Modified: 2001-03-28 19:28 UTC
From: micah at autionservices dot com Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0 Latest CVS (28/03/2001) OS: Linux Mandrake 8.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: micah at autionservices dot com
New email:
PHP Version: OS:


 [2001-03-28 13:22 UTC] micah at autionservices dot com
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 \

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:

$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;


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-28 19:28 UTC]
Fixed in CVS. 


PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Oct 02 14:01:25 2023 UTC