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

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

Severity: (no value)
Tag: testcommitted
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()
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 1.3k
On Sat, 13 May 2017 01:24:28 -0700, elizabeth wrote: Show quoted text
> All issues appear to be fixed with > https://github.com/rakudo/rakudo/commit/407bce1dc2 . > Tests are needed, also for the ⊇ and ⊉ and associated cases. >
> > 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()
Tests committed[^1], but they show this ticket is not entirely resolved: Still hangs for: ∩ (&) ⊍ (.) Still have "Cannot lookup attributes in type object" for: ∖ (-) The problematic tests are currently (manually) skip-fudged. [1] https://github.com/perl6/roast/commit/87889891d1
To: perl6-bugs-followup [...] perl.org
Date: Tue, 17 Oct 2017 13:35:11 +0200
Subject: Re: [perl #131300] [BUG] MoarVM panic if you check for membership in undefined Set
From: Elizabeth Mattijsen <liz [...] dijkmat.nl>
Download (untitled) / with headers
text/plain 1.4k
Fixed with 8a88d14905248526415 , unfudged tests, can be closed now. Show quoted text
> On 15 Oct 2017, at 08:54, Zoffix Znet via RT <perl6-bugs-followup@perl.org> wrote: > > On Sat, 13 May 2017 01:24:28 -0700, elizabeth wrote:
>> All issues appear to be fixed with >> https://github.com/rakudo/rakudo/commit/407bce1dc2 . >> Tests are needed, also for the ⊇ and ⊉ and associated cases. >>
>>> 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()
> > Tests committed[^1], but they show this ticket is not entirely resolved: > > Still hangs for: ∩ (&) ⊍ (.) > > Still have "Cannot lookup attributes in type object" for: ∖ (-) > > The problematic tests are currently (manually) skip-fudged. > > [1] https://github.com/perl6/roast/commit/87889891d1


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