#35029 [Csd]: segmentation faults with multiple include virtual requests

From: Date: Wed, 21 Dec 2005 00:46:23 +0000
Subject: #35029 [Csd]: segmentation faults with multiple include virtual requests
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-90769@lists.php.net to get a copy of this message
ID: 35029 User updated by: markus-php at anthill dot de Reported By: markus-php at anthill dot de Status: Closed Bug Type: Apache2 related Operating System: linux / solaris PHP Version: 4.4.0 New Comment: finally i am now able to get both simple SSI to run after disabling output_buffering. it works now under linux and solaris if the called script were simple. if they both include the same third script i get PHP Fatal error: Cannot redeclare foo() (previously declared in /path/to/third/script) in /path/to/third/script there still is some problem in the work between apache and php Previous Comments: ------------------------------------------------------------------------ [2005-11-30 19:27:41] iliaa@php.net Thank you for your bug report. This issue has already been fixed in the latest released version of PHP, which you can download at http://www.php.net/downloads.php ------------------------------------------------------------------------ [2005-11-30 19:19:41] news at cb-world dot de same problem found in suse 9.3 mod_php4 4.3.10 and gentoo mod_php-4.4.0-r9 but seems to be fixed in latest php4 and php5-cvs (tried 10 minutes ago) ------------------------------------------------------------------------ [2005-11-30 17:47:36] minnoce at polito dot it Apache compile configuration: ./configure \ --prefix="/services/apache_so-2.0.54" \ --enable-modules='rewrite so speling ssl' \ --disable-userdir PHP compile configuration: ./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" Example pages: - 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. At this moment I don't be able to provide GDB backtrace... ------------------------------------------------------------------------ [2005-11-30 14:07:17] tony2001@php.net Provide a short reproduce case and the GDB backtrace if you still able to replicate it. ------------------------------------------------------------------------ [2005-11-30 13:55:46] minnoce at polito dot it Same problem also with PHP 5.1 LATEST from CVS. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35029 -- Edit this bug report at http://bugs.php.net/?id=35029&edit=1

« previous php.bugs (#90769) next »