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

Owner: Nobody
Requestors: curt [at] tilmes.org
Cc:
AdminCc:

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



Date: Fri, 12 May 2017 15:06:45 -0400
From: Curt Tilmes <curt [...] tilmes.org>
To: rakudobug [...] perl.org
Subject: [BUG] MoarVM panic if you check for membership in undefined Set
Download (untitled) / with headers
text/plain 157b
 m: say 1 ∈ (Set) ?? 'present' !! 'not present';
rakudo-moar dc5eec: OUTPUT: «MoarVM panic: Memory allocation failed; could not allocate 83968 bytes␤»

RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 664b
On Fri, 12 May 2017 12:07:11 -0700, curt@tilmes.org wrote: Show quoted text
> m: say 1 ∈ (Set) ?? 'present' !! 'not present'; > rakudo-moar dc5eec: OUTPUT: «MoarVM panic: Memory allocation failed; could > not allocate 83968 bytes␤»
To add from https://irclog.perlgeek.de/perl6/2017-05-12#i_14573414 19:16 Zoffix it infini-loops in dispatch because Set.Set returns Set. And so far I see (elem), (cont), ∉, ∋, ∌ similarly affected. There might be more. Would you mind filing a bug for it? 19:20 Zoffix And some ops like ⊇ and ⊉ crash with "can't look up attributes... " error. There's probably a meaning for type objects we could implement; like Set eqv set()
To: "Aleks-Daniel Jakimenko-Aleksejev (via RT)" <perl6-bugs-followup [...] perl.org>
From: Elizabeth Mattijsen <liz [...] dijkmat.nl>
Date: Sat, 13 May 2017 00:21:28 +0200
Subject: Re: [perl #131300] [BUG] MoarVM panic if you check for membership in undefined Set
Download (untitled) / with headers
text/plain 867b
Fixed for (elem) and (cont) with https://github.com/rakudo/rakudo/commit/ba0581d75b . Tests needed. Show quoted text
> On 12 May 2017, at 21:22, Zoffix Znet via RT <perl6-bugs-followup@perl.org> wrote: > > On Fri, 12 May 2017 12:07:11 -0700, curt@tilmes.org wrote:
>> m: say 1 ∈ (Set) ?? 'present' !! 'not present'; >> rakudo-moar dc5eec: OUTPUT: «MoarVM panic: Memory allocation failed; could >> not allocate 83968 bytes␤»
> > To add from https://irclog.perlgeek.de/perl6/2017-05-12#i_14573414 > > 19:16 Zoffix it infini-loops in dispatch because Set.Set returns Set. And so far I see (elem), (cont), ∉, ∋, ∌ similarly affected. There might be more. Would you mind filing a bug for it? > 19:20 Zoffix And some ops like ⊇ and ⊉ crash with "can't look up attributes... " error. There's probably a meaning for type objects we could implement; like Set eqv set()
Subject: Re: [perl #131300] [BUG] MoarVM panic if you check for membership in undefined Set
To: perl6-bugs-followup [...] perl.org
From: Elizabeth Mattijsen <liz [...] dijkmat.nl>
Date: Sat, 13 May 2017 10:24:04 +0200
Download (untitled) / with headers
text/plain 917b
All issues appear to be fixed with https://github.com/rakudo/rakudo/commit/407bce1dc2 . Tests are needed, also for the ⊇ and ⊉ and associated cases. Show quoted text
> On 12 May 2017, at 21:22, Zoffix Znet via RT <perl6-bugs-followup@perl.org> wrote: > On Fri, 12 May 2017 12:07:11 -0700, curt@tilmes.org wrote:
>> m: say 1 ∈ (Set) ?? 'present' !! 'not present'; >> rakudo-moar dc5eec: OUTPUT: «MoarVM panic: Memory allocation failed; could >> not allocate 83968 bytes␤»
> > To add from https://irclog.perlgeek.de/perl6/2017-05-12#i_14573414 > > 19:16 Zoffix it infini-loops in dispatch because Set.Set returns Set. And so far I see (elem), (cont), ∉, ∋, ∌ similarly affected. There might be more. Would you mind filing a bug for it? > 19:20 Zoffix And some ops like ⊇ and ⊉ crash with "can't look up attributes... " error. There's probably a meaning for type objects we could implement; like Set eqv set()


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