#34066 [NEW]: recursive array_walk causes Segmentain fault
| From: | ondrej at sury dot org | Date: | Wed, 10 Aug 2005 10:10:35 +0000 |
| Subject: | #34066 [NEW]: recursive array_walk causes Segmentain fault | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-83288@lists.php.net to get a copy of this message | ||
From: ondrej at sury dot org
Operating system: Linux
PHP version: 5.0.4
PHP Bug Type: Reproducible crash
Bug description: recursive array_walk causes Segmentain fault
Description:
------------
Paul Slootman reported bug when using array_walk recursively which crashes
php 5.0.4 with Segmentation Fault.
In php 4.4.0 it ends with:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 138060825 bytes) in /tmp/bug.php on line 252
Reproduce code:
---------------
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=245934
Expected result:
----------------
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 138060825 bytes) in /tmp/bug.php on line 252
Actual result:
--------------
Segmentation fault
Backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x081fc929 in zend_call_function ()
--
Edit bug report at http://bugs.php.net/?id=34066&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34066&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34066&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34066&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34066&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34066&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34066&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34066&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34066&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34066&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34066&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34066&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34066&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34066&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34066&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34066&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34066&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34066&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34066&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34066&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34066&r=mysqlcfg