ID: 44421 User updated by: obonhomme at nerim dot net Reported By: obonhomme at nerim dot net -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: FreeBSD 6.3 PHP Version: 5.2.5 New Comment:
The configure command used is the following : './configure' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection' '--program-prefix=' '--enable-fastcgi' '--with-apxs2=/usr/local/sbin/apxs' '--with-regex=php' '--with-zend-vm=CALL' '--enable-zend-multibyte' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' Previous Comments: ------------------------------------------------------------------------ [2008-03-25 13:45:17] [EMAIL PROTECTED] What was the configure line used to build PHP? ------------------------------------------------------------------------ [2008-03-13 09:58:46] obonhomme at nerim dot net Same problem with the snapshot ------------------------------------------------------------------------ [2008-03-12 21:46:14] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi ------------------------------------------------------------------------ [2008-03-12 18:01:21] obonhomme at nerim dot net Description: ------------ php-cgi crashes with SIGSEV making a core dump with php 5.2.5. The issue occurs only executing index.php file of an IPB Forum 1.3.1 and only when script is executed through apache and mod_fcgid. If the script is executed by the php-cgi binary from the command line, it works perfectely The problem seems to be in the virtual_file_ex function (see backtrace) Reproduce code: --------------- Url : http://91.121.116.63/~ptitoliv/index.phps Actual result: -------------- End of the backtrace : #0 0x08120c89 in virtual_file_ex (state=0xbbc00a28, path=0xbbc00a60 "./lang/3/lang_error.php", verify_path=0, use_realpath=1) at /usr/ports/lang/php5/work/php-5.2.5/TSRM/tsrm_virtual_cwd.c:656 656 int path_length = strlen(path); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44421&edit=1