Re: [PHP-DEV] Zend GC Recursion Elimination

2013-06-14 Thread Anthony Ferrara
Rasmus, On Fri, Jun 14, 2013 at 2:35 PM, Rasmus Lerdorf wrote: > On 06/14/2013 11:04 AM, Anthony Ferrara wrote: > > When you run that on current master, you get a segfault stemming from the > > zval_mark_grey() GC function. > > This segfault, or at least a segfault in zval_mark_grey(), has been

Re: [PHP-DEV] Zend GC Recursion Elimination

2013-06-14 Thread Rasmus Lerdorf
On 06/14/2013 11:04 AM, Anthony Ferrara wrote: > When you run that on current master, you get a segfault stemming from the > zval_mark_grey() GC function. This segfault, or at least a segfault in zval_mark_grey(), has been reported a couple of times: https://bugs.php.net/64868 https://bugs.php.ne

[PHP-DEV] Zend GC Recursion Elimination

2013-06-14 Thread Anthony Ferrara
Hey all, I was debugging a "bug" (quotes because of the extreme edge-case) where certain cases can cause a stackoverflow internally in the GC when dealing with extremely deep arrays. For example: this code is not an infinite loop, but it's so practically big that it's basically an infinite loop fo