From:             minnoce at polito dot it
Operating system: Linux RHEL 4
PHP version:      4.4.2RC1
PHP Bug Type:     Apache2 related
Bug description:  segmentation faults with multiple include virtual

Description:
------------
I'm compiling PHP with this configuration line:

./configure \
"--prefix=/services/php-4.4-CVS" \
"--with-apxs2=/services/apache/bin/apxs" \
"--with-openssl" \
"--with-config-file-path=/services/httpd/conf" \
"--with-mysql=/usr" \
"--with-zlib" \
"--with-gd" \
"--with-jpeg-dir" \
"--with-png-dir" \
"--with-ldap" \
"--with-freetype-dir" \
"--with-mcrypt=/services/libmcrypt" \
"--with-curl" \
"--with-freetds=/services/freetds" \
"--enable-mbstring"

All the PHP 4.3.11, 4.4.1, 4.4-LATEST-CVS used as module under Apache
2.0.54 work fine.

All the PHP 4.3.11, 4.4.1m 4.4-LATEST-CVS used as module under Apache
2.0.55 cause a segmentation fault when I try to include some PHP script
with more than one Apache's "include virtual" (even a simple <? echo
'TEST'; ?>).

Examples:
- test.html
<html>
<body>
<!--#include virtual="test.php" -->
<!--#include virtual="test.php" -->
</body>
</html>

- test.php
<? echo 'TEST'; ?>

With only one "include virtual" all works fine.
With the two include virtual the Apache child process associated exit with
segmentation fault after the output of the first include.


-- 
Edit bug report at http://bugs.php.net/?id=35484&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=35484&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=35484&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=35484&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=35484&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=35484&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=35484&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=35484&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=35484&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=35484&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=35484&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=35484&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=35484&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=35484&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=35484&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=35484&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=35484&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=35484&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=35484&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=35484&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=35484&r=mysqlcfg

Reply via email to