On 3/1/07, Mehmet Yavuz Selim Soyturk <[EMAIL PROTECTED]> wrote:
> Does the following patch fix it?
Sorry, I can't test if that patch helps. I was getting consistently a
segfault for that sort of tailcalls, but now it's gone. As far as I
can remember, I didn't change anything to parrot (no updates, the same
default configuration). I only did a reboot. I don't know if a reboot
can cause it though.
I was able to reproduce that problem. Yesterday I was playing with
variations of the next program which causes a memory leak. I ran that
program again. I then ran the tail.pir, and it did segfault again.
And that patch solved that problem. I tested tail.pir 4 times
alternating with and without the patch.
=============
memleak.pir:
.sub main :main
loop:
$P0 = new .String
goto loop
.end
--
Mehmet
--
Mehmet