php.net |  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
 [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 \
--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;

Patches

Pull Requests

History

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

--Jani


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 05:01:30 2024 UTC