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

Rakudo SEGV on +Str.new and variants #2505

Closed
p6rt opened this issue Oct 5, 2011 · 5 comments
Closed

Rakudo SEGV on +Str.new and variants #2505

p6rt opened this issue Oct 5, 2011 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Oct 5, 2011

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

Searchable as RT100778$

@p6rt
Copy link
Author

p6rt commented Oct 5, 2011

From @japhb

Eventually golfed down to just 7 characters, but in general trying to
cast a new empty string to Numeric segfaults nom​:

  http://irclog.perlgeek.de/perl6/2011-10-04#i_4519423

-'f

@p6rt
Copy link
Author

p6rt commented Oct 8, 2011

From @jnthn

On Wed Oct 05 15​:57​:51 2011, gjb@​sonic.net wrote​:

Eventually golfed down to just 7 characters, but in general trying to
cast a new empty string to Numeric segfaults nom​:

http://irclog.perlgeek.de/perl6/2011-10-04#i_4519423

This segfault is now fixed; there was no doubt a variety of ways to
trigger it. Also made Str.new lead to the empty string, which seems
sane. So now​:

+Str.new
0

Tests needed.

/jnthn

@p6rt
Copy link
Author

p6rt commented Oct 8, 2011

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

@p6rt
Copy link
Author

p6rt commented Nov 12, 2011

From @tadzik

On Sat Oct 08 14​:42​:01 2011, jnthn@​jnthn.net wrote​:

+Str.new
0

Tests needed.

/jnthn

Test added in 9219d0e, closable.

@p6rt
Copy link
Author

p6rt commented Nov 12, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant