Skip Menu |
Report information
Id: 131813
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: elizabeth <liz [at] dijkmat.nl>
Cc:
AdminCc:

Severity: (no value)
Tag: testneeded
Platform: (no value)
Patch Status: (no value)
VM: (no value)



To: rakudobug [...] perl.org
Date: Sat, 29 Jul 2017 00:35:31 +0200
From: Elizabeth Mattijsen <liz [...] dijkmat.nl>
Subject: Segfault with --profile
Download (untitled) / with headers
text/plain 361b
$ perl6 —ll-exception -e 'my @a = (^10000)>>.Str' segfaults, $ perl6 —ll-exception -e 'my @a = (^1000)>>.Str’ doesn’t testing with some values, it looks like any value beyond 9700 makes it almost always crash. Just below that it only crashes occasionally. This is Rakudo version 2017.07-84-gc1e41f9 built on MoarVM version 2017.07-253-g82c282e
To: perl6-compiler [...] perl.org
Date: Sat, 29 Jul 2017 00:52:35 +0200
From: Timo Paulssen <timo [...] wakelift.de>
Subject: Re: [perl #131813] Segfault with --profile
Download (untitled) / with headers
text/plain 118b
It could be that the commit i just pushed to moarvm fixes this, please verify (the code doesn't crash with the patch)
Download (untitled) / with headers
text/plain 705b
On Fri, 28 Jul 2017 15:52:53 -0700, timo wrote: Show quoted text
> It could be that the commit i just pushed to moarvm fixes this, please > verify (the code doesn't crash with the patch)
Seems to work properly: dogbert@dogbert-VirtualBox ~/repos/rakudo $ ./perl6 -v This is Rakudo version 2017.12-124-g6a6470f9d built on MoarVM version 2017.12-20-g57103408 implementing Perl 6.c. dogbert@dogbert-VirtualBox ~/repos/rakudo $ ./perl6 --profile -e 'my @a = (^10000)>>.Str' Writing profiler output to profile-1515272304.87249.html dogbert@dogbert-VirtualBox ~/repos/rakudo $ ./perl6 --profile -e 'my @a = (^25000)>>.Str' Writing profiler output to profile-1515272310.68317.html dogbert@dogbert-VirtualBox ~/repos/rakudo $
Closable with rakudo tests then.

On 2018-01-06 12:59:07, jan-olof.hendig@bredband.net wrote:
Show quoted text
> On Fri, 28 Jul 2017 15:52:53 -0700, timo wrote:
> > It could be that the commit i just pushed to moarvm fixes this,
> > please
> > verify (the code doesn't crash with the patch)
>
> Seems to work properly:
>
> dogbert@dogbert-VirtualBox ~/repos/rakudo $ ./perl6 -v
> This is Rakudo version 2017.12-124-g6a6470f9d built on MoarVM version
> 2017.12-20-g57103408
> implementing Perl 6.c.
> dogbert@dogbert-VirtualBox ~/repos/rakudo $ ./perl6 --profile -e 'my
> @a = (^10000)>>.Str'
> Writing profiler output to profile-1515272304.87249.html
> dogbert@dogbert-VirtualBox ~/repos/rakudo $ ./perl6 --profile -e 'my
> @a = (^25000)>>.Str'
> Writing profiler output to profile-1515272310.68317.html
> dogbert@dogbert-VirtualBox ~/repos/rakudo $




This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org