#44421 [Opn->Fbk]: Core dump using PHP 5.2.5 with suExec and mod_cgid
| From: | felipe@php.net | Date: | Wed, 12 Mar 2008 21:46:15 +0000 |
| Subject: | #44421 [Opn->Fbk]: Core dump using PHP 5.2.5 with suExec and mod_cgid | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-123243@lists.php.net to get a copy of this message | ||
ID: 44421
Updated by: felipe@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:
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
Previous Comments:
------------------------------------------------------------------------
[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