[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

segmentation fault in rb_Array

Luke A. Kanies

7/12/2005 4:27:00 AM

2 Answers

Yukihiro Matsumoto

7/12/2005 4:45:00 AM

0

Hi,

In message "Re: segmentation fault in rb_Array"
on Tue, 12 Jul 2005 13:27:25 +0900, Luke Kanies <luke@madstop.com> writes:

|I got a segmentation fault when I accidentally made an infinite
|recursion. I found it in a much longer codebase, but I was able to
|replicate it using the following exact code:

Current Ruby implementation checks stack depth periodically, but if
stack grows faster than expected by the periodic check, it crashes.
It will be resolved with the new engine (YARV), hopefully this
(fiscal) year.

matz.


Luke A. Kanies

7/12/2005 4:53:00 AM

0