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

From: Date: Wed, 30 Nov 2005 18:19:42 +0000
Subject: #35029 [Com]: segmentation faults with multiple include virtual requests
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-89517@lists.php.net to get a copy of this message
ID: 35029 Comment by: news at cb-world dot de Reported By: markus-php at anthill dot de Status: Feedback Bug Type: Apache2 related Operating System: linux / solaris PHP Version: 4.4.0 New Comment: 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) Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2005-11-30 12:36:07] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip ------------------------------------------------------------------------ [2005-11-30 11:28:25] minnoce at polito dot it I have the same problem under this platform: - Red Hat Enterprise Linux 4 (i386) fully updated - Apache 2.0.55 compiled from sources - PHP 4.3.11 / 4.4.1 / LATEST 4.4 from CVS compiled from sources The bug is NOT present under Apache 2.0.54. ------------------------------------------------------------------------ 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 (#89517) next »