#34066 [NoF->Csd]: recursive array_walk causes Segmentain fault
| From: | tony2001@php.net | Date: | Tue, 19 Sep 2006 09:08:21 +0000 |
| Subject: | #34066 [NoF->Csd]: recursive array_walk causes Segmentain fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-102395@lists.php.net to get a copy of this message | ||
ID: 34066
Updated by: tony2001@php.net
Reported By: ondrej at sury dot org
-Status: No Feedback
+Status: Closed
Bug Type: Reproducible crash
Operating System: Linux
PHP Version: 5.0.4
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Fixed in 4_4, 5_2 and HEAD.
Previous Comments:
------------------------------------------------------------------------
[2006-09-19 07:39:12] seanius at seanius dot net
i can confirm this is still a problem. the OP includes a link to a
chunk of code you can cut and paste which verifies the problem.
------------------------------------------------------------------------
[2005-08-18 01:00:04] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-08-10 12:17:01] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-08-10 12:10:34] ondrej at sury dot org
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 this bug report at http://bugs.php.net/?id=34066&edit=1