Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

string append to Blob spins #3530

Closed
p6rt opened this issue Sep 22, 2014 · 5 comments
Closed

string append to Blob spins #3530

p6rt opened this issue Sep 22, 2014 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Sep 22, 2014

Migrated from rt.perl.org#122827 (status was 'resolved')

Searchable as RT122827$

@p6rt
Copy link
Author

p6rt commented Sep 22, 2014

From @pmqs

The following one-liner cooks cpu for 24 seconds before killing itself

$ time perl6 -e 'my Blob $x ; $x ~= pack "V",1;'
Killed

real 0m24.019s
user 0m7.980s
sys 0m2.232s

Running latest Rakudo star

$ perl6 -v
This is perl6 version 2014.08 built on MoarVM version 2014.08

@p6rt
Copy link
Author

p6rt commented Sep 23, 2014

From @lizmat

On 22 Sep 2014, at 20​:55, Paul Marquess (via RT) <perl6-bugs-followup@​perl.org> wrote​:

# New Ticket Created by Paul Marquess
# Please include the string​: [perl #​122827]
# in the subject line of all future correspondence about this issue.
# <URL​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=122827 >

The following one-liner cooks cpu for 24 seconds before killing itself

$ time perl6 -e 'my Blob $x ; $x ~= pack "V",1;'
Killed

real 0m24.019s
user 0m7.980s
sys 0m2.232s

Running latest Rakudo star

$ perl6 -v
This is perl6 version 2014.08 built on MoarVM version 2014.08

Confirmed on HEAD. This eats all available memory *very* quickly. You were lucky your OOM-killer caught it as quickly as it did.

Liz

@p6rt
Copy link
Author

p6rt commented Sep 23, 2014

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Nov 8, 2014

From @FROGGS

Patch​: rakudo/rakudo@2121b16c03
Tests​: Raku/roast@fcf5aff5c9

@p6rt
Copy link
Author

p6rt commented Nov 8, 2014

@FROGGS - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Nov 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant