ID: 44421
Updated by: jani@php.net
Reported By: obonhomme at nerim dot net
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: FreeBSD 6.3
PHP Version: 5.2.5
New Comment:
What was the configure line used to build PHP?
Previous Comments:
------------------------------------------------------------------------
[2008-03-13 09:58:46] obonhomme at nerim dot net
Same problem with the snapshot
------------------------------------------------------------------------
[2008-03-12 21:46:14] felipe@php.net
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