[perl #63592] repeated 0.substr(-10) leads to segfault

2009-07-03 Thread NotFound via RT
Created track ticket TT #804 as RFC with a patch that modifies throwing of exceptions from C that might solve this problem. With it the pir example runs forever. Please put comments about it on trac, not here.

[perl #63592] repeated 0.substr(-10) leads to segfault

2009-07-03 Thread Will Coleda via RT
On Thu Jul 02 13:01:25 2009, julianalbo wrote: > Created track ticket TT #804 as RFC with a patch that modifies throwing > of exceptions from C that might solve this problem. With it the pir > example runs forever. Tested the original perl6 snippet with this patch, it also avoids the segfault, FY

[perl #63592] repeated 0.substr(-10) leads to segfault

2009-07-03 Thread Will Coleda via RT
On Mon Mar 02 01:03:59 2009, ml...@physik.uni-wuerzburg.de wrote: > Rakudo 08b789048: > $ time perl6 -e 'while 1 { 0.substr(-10) }' > Segmentation fault > > real0m3.535s Here's a pure PIR version; based on --target=pir and then trimmed down to the bare minimum to cause a segfault. .sub 'mai

[perl #63592] repeated 0.substr(-10) leads to segfault

2009-03-02 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #63592] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63592 > Rakudo 08b789048: $ time perl6 -e 'while 1 { 0.substr(-10) }' Segmentation fault real