range operator bug with segfault

jay c patel jaypatle at verizon.net
Thu Feb 7 23:57:52 UTC 2013


> (1, 1, *+* ... *)[6];
13
>  (1, 1, *+* ... 233)[1..5];
1 2 3 5 8
>  (1, 1, *** ... 233)[1..5];
HyperWhatever (**) is not yet implemented. Sorry.
>  (1, 1, *[*]* ... 233)[1..5];
1 WhateverCode.new()
>  (1, 1, *[x]* ... 233)[1..5];
Undeclared routine:
    x used at line 1

>  (1, 1, *x* ... 233)[1..5];
1 1 1 1 1
>  (1, 3, *x* ... 233)[1..5];
Segmentation fault
jay at linux-asze:~/raku> ./perl6
> (1, 2, *x* ... *)[1..5]
Failed allocation of 44444444512 bytes
Parrot VM: PANIC: Out of mem!
C file src/gc/alloc_memory.c, line 105
Parrot file (not available), line (not available)

We highly suggest you notify the Parrot team if you have not been working on
Parrot.  Use parrotbug (located in parrot's root directory) or send an
e-mail to parrot-dev at lists.parrot.org.
Include the entire text of this error message and the text of the script
that
generated the error.  If you've made any modifications to Parrot, please
describe them as well.

Version     : 4.10.0
Configured  : Mon Feb  4 16:02:00 2013 GMT
Architecture: amd64-linux
Interp Flags: (no interpreter)
Exceptions  : (missing from core)

Dumping Core...
Sorry, coredump is not yet implemented for this platform.
uname -av
Linux  3.4.11-2.16-desktop #1 SMP PREEMPT Wed Sep 26 17:05:00 UTC 2012
(259fc87) x86_64 x86_64 x86_64 GNU/Linux
Suse


More information about the parrot-dev mailing list