#44421 [NEW]: Core dump using PHP 5.2.5 with suExec and mod_cgid
| From: | obonhomme at nerim dot net | Date: | Wed, 12 Mar 2008 18:01:21 +0000 |
| Subject: | #44421 [NEW]: Core dump using PHP 5.2.5 with suExec and mod_cgid | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-123235@lists.php.net to get a copy of this message | ||
From: obonhomme at nerim dot net
Operating system: FreeBSD 6.3
PHP version: 5.2.5
PHP Bug Type: Reproducible crash
Bug description: Core dump using PHP 5.2.5 with suExec and mod_cgid
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 bug report at http://bugs.php.net/?id=44421&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44421&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44421&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44421&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44421&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=44421&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=44421&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=44421&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=44421&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=44421&r=support
Expected behavior: http://bugs.php.net/fix.php?id=44421&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=44421&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=44421&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44421&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44421&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=44421&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=44421&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=44421&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=44421&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=44421&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=44421&r=mysqlcfg