PHP 4.0 Bug #2144: Apache 3.9 + PHP4B2 + XML problems
| From: | Daniel dot Schneider at tecfa dot unige dot ch | Date: | Wed, 25 Aug 1999 10:09:26 +0000 |
| Subject: | PHP 4.0 Bug #2144: Apache 3.9 + PHP4B2 + XML problems | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10167@lists.php.net to get a copy of this message | ||
From: Daniel.Schneider@tecfa.unige.ch
Operating system: Solaris 2.6 (Sun)
PHP version: 4.0 Beta 2
PHP Bug Type: Reproduceable crash
Bug description: Apache 3.9 + PHP4B2 + XML problems
Hi folks, I installed a new Apache + PHP
Now my XML stuff either doesnt compute as it should or it crashes.
Sorry I did not produce a simple script that reproduces the problem
- since I actually just wonder if the (latest) expat library is not appropriate
(I have seen that there is some expat-lite in the Apache distribution).
- because maybe someone has found and repaired the same bug
- because my simple XML examples work :(
E.g. with old Apache 1.3.4 + PHP 3.08 this works:
http://tecfa2.unige.ch/staf/staf-e/staf18/proj-liste1.php
This fails (Apache 1.3.8 + PHP4 beta 2):
http://tecfa2.unige.ch:88/staf/staf-e/staf18/proj-liste1.php
Script: '/comm/tecfa/www/staf/staf-e/staf18/proj-liste1.php'
---------------------------------------
xml.c(448) : Block 0x00268828 status:
Beginning: Cached (allocated on xml.c:133, 24 bytes)
End: OK
---------------------------------------
Script: '/comm/tecfa/www/staf/staf-e/staf18/proj-liste1.php'
---------------------------------------
xml.c(448) : Block 0x0026DE20 status:
Beginning: Cached (allocated on xml.c:133, 24 bytes)
End: OK
---------------------------------------
Script: '/comm/tecfa/www/staf/staf-e/staf18/proj-liste1.php'
[......]
---------------------------------------
Script: '/comm/tecfa/www/staf/staf-e/staf18/proj-liste1.php'
---------------------------------------
xml.c(448) : Block 0x002D8F48 status:
Beginning: Cached (allocated on xml.c:133, 24 bytes)
End: OK
---------------------------------------
Script: '/comm/tecfa/www/staf/staf-e/staf18/proj-liste1.php'
---------------------------------------
zend_hash.c(746) : Block 0x002E3BA8 status:
Beginning: Cached (allocated on zend_hash.c:380, 35 bytes)
End: OK
---------------------------------------
[Wed Aug 25 11:25:11 1999] [notice] child pid 19507 exit signal Segmentation Fault (11)
Script: '/comm/tecfa/www/staf/staf-e/staf18/proj-liste1.php'
Here is an example that computes something, but wrong:
http://tecfa2.unige.ch/staf/staf-e/staf18/parse-tree.php
(good)
http://tecfa2.unige.ch:88/staf/staf-e/staf18/parse-tree.php
(bad)
Source files (if of interest) are all available:
http://tecfa2.unige.ch/staf/staf-e/staf18/
My installation:
env LDFLAGS=-L/local/lib CPFLAGS=-I/local/include ./configure --with-mysql=/local/servers/mysql
--with-apache=../apache_1.3.9 --prefix=/local --with-ldap=/local --enable-track-vars
--enable-magic-quotes --enable-debugger --enable-url-includes --with-zlib=/local --with-gd=/local
--with-msql=/comm2/soft/msql2 --with-exec-dir=/local/bin --with-system-regex --with-xml
env LIBS="-L/local/servers/mysql/lib/ -lmysqlclient -L/comm2/soft/msql2/lib -lmsql -L/local/lib
-lgdbm -lz" ./configure --prefix=/local/servers/apache-test
--activate-module=src/modules/php4/libphp4.a --enable-suexec --suexec-caller=www
--suexec-userdir=.www --suexec-uidmin=1000 --suexec-gidmin=1000
--suexec-safepath="/bin:/usr/bin" --enable-module=expires --enable-module=info
--enable-module=usertrack --enable-module=unique_id --add-module=src/modules/extra/mod_put.c
--enable-module=rewrite