#35991 [NEW]: Win32 - crash Apache.exe, *nix - segfault
| From: | itsmegawtf at gmail dot com | Date: | Fri, 13 Jan 2006 10:27:56 +0000 |
| Subject: | #35991 [NEW]: Win32 - crash Apache.exe, *nix - segfault | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-91828@lists.php.net to get a copy of this message | ||
From: itsmegawtf at gmail dot com
Operating system: WinXP SP2, FreeBSD, Linux
PHP version: 5.1.2
PHP Bug Type: Reproducible crash
Bug description: Win32 - crash Apache.exe, *nix - segfault
Description:
------------
PHP4 and PHP5 affected, recursion level limit.
Tested on Latest stable versions and latest snapshots.
php compiled without debug flag, so I can't post full bt here.
Similar bug you can find here: http://bugs.php.net/bug.php?id=29370
Reproduce code:
---------------
<?
function POC($var1) {
while($var2 = POC($var1)) {}
POC("test");
?>
Actual result:
--------------
Core was generated by `php bug.php'.
Program terminated with signal 11, Segmentation fault.
#0 0x403769d9 in ?? ()
(gdb) bt
#0 0x403769d9 in ?? ()
--
Edit bug report at http://bugs.php.net/?id=35991&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35991&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35991&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35991&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35991&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35991&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35991&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35991&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35991&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35991&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35991&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35991&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35991&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35991&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35991&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35991&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35991&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35991&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35991&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35991&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35991&r=mysqlcfg