[perl #131813] Segfault with --profile

3 views
Skip to first unread message

Elizabeth Mattijsen

unread,
Jul 28, 2017, 6:45:02 PM7/28/17
to bugs-bi...@rt.perl.org
# New Ticket Created by Elizabeth Mattijsen
# Please include the string: [perl #131813]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=131813 >




$ 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


Timo Paulssen via RT

unread,
Jul 28, 2017, 7:00:02 PM7/28/17
to l...@dijkmat.nl
It could be that the commit i just pushed to moarvm fixes this, please
verify (the code doesn't crash with the patch)

Timo Paulssen

unread,
Jul 28, 2017, 7:00:02 PM7/28/17
to perl6-c...@perl.org

Aleks-Daniel Jakimenko-Aleksejev via RT

unread,
Jan 6, 2018, 4:15:02 PM1/6/18
to l...@dijkmat.nl
Closable with rakudo tests then.

On 2018-01-06 12:59:07, jan-olo...@bredband.net wrote:
> 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 $

Jan-Olof Hendig via RT

unread,
Jan 6, 2018, 4:15:02 PM1/6/18
to l...@dijkmat.nl
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)

Aleks-Daniel Jakimenko-Aleksejev via RT

unread,
Feb 4, 2018, 5:45:02 AM2/4/18
to l...@dijkmat.nl
Actually, I've been trying to reproduce it on the said revision with --profile,
--ll-exception and whatnot, and I can't. I think this is an issue on OS X and
therefore should be confirmed (and tested) on OS X also.

On 2018-01-06 12:59:07, jan-olo...@bredband.net wrote:
> On Fri, 28 Jul 2017 15:52:53 -0700, timo wrote:
> 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'

Jan-Olof Hendig via RT

unread,
May 11, 2019, 11:30:03 AM5/11/19
to l...@dijkmat.nl
On Sun, 04 Feb 2018 02:40:44 -0800, alex.ja...@gmail.com wrote:
> Actually, I've been trying to reproduce it on the said revision with
> --profile,
> --ll-exception and whatnot, and I can't. I think this is an issue on
> OS X and
> therefore should be confirmed (and tested) on OS X also.
>
> On 2018-01-06 12:59:07, jan-olo...@bredband.net wrote:
> > On Fri, 28 Jul 2017 15:52:53 -0700, timo wrote:
> > 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 $


Tested by Lizmat on OS X, see https://colabti.org/irclogger/irclogger_log/perl6-dev?date=2019-05-11#l61

Reply all
Reply to author
Forward
0 new messages