#32968 [Opn->Bgs]: Segfault after 14956 iteration of recursion

From: Date: Fri, 06 May 2005 17:50:02 +0000
Subject: #32968 [Opn->Bgs]: Segfault after 14956 iteration of recursion
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-78721@lists.php.net to get a copy of this message
 ID:               32968
 Updated by:       derick@php.net
 Reported By:      pasha dot zubkov at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Zend Engine 2 problem
 Operating System: Linux 2.6.11.6-grsec
 PHP Version:      5.0.4
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php

.


Previous Comments:
------------------------------------------------------------------------

[2005-05-06 18:35:38] pasha dot zubkov at gmail dot com

Description:
------------
both php-5.0.4 and php-PHP_5_0-05052005 segfaults with this code

Reproduce code:
---------------
<?php
function rec() {
	static $count = 0;
	echo "$count ";
	$count++;
	rec();
}
rec();
?>

Actual result:
--------------
[snip] 14954 14955 14956 Segmentation fault


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32968&edit=1


Thread (4 messages)

« previous php.bugs (#78721) next »