#35991 [Opn->Bgs]: Win32 - crash Apache.exe, *nix - segfault

From: Date: Fri, 13 Jan 2006 10:31:42 +0000
Subject: #35991 [Opn->Bgs]: Win32 - crash Apache.exe, *nix - segfault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-91829@lists.php.net to get a copy of this message
ID: 35991 Updated by: tony2001@php.net Reported By: itsmegawtf at gmail dot com -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: WinXP SP2, FreeBSD, Linux PHP Version: 5.1.2 New Comment: This is called "stack overflow" and it's expected to crash. Previous Comments: ------------------------------------------------------------------------ [2006-01-13 11:27:56] itsmegawtf at gmail dot com 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 this bug report at http://bugs.php.net/?id=35991&edit=1

« previous php.bugs (#91829) next »