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

[Truffle] Stack Overflow in String#byteslice #2843

Closed
bjfish opened this issue Apr 17, 2015 · 3 comments
Closed

[Truffle] Stack Overflow in String#byteslice #2843

bjfish opened this issue Apr 17, 2015 · 3 comments

Comments

@bjfish
Copy link
Contributor

bjfish commented Apr 17, 2015

I think a CreateCast or Specialization probably needs to be added.

./bin/jruby -X+T -e '2147483647-(-5);"xy".byteslice(1-1,2)'
core:/core/rubinius/bootstrap/string.rb:61:in `byteslice': internal implementation error - StackOverflowError null java.lang.ClassLoader.defineClass1(Native Method) (RubyTruffleError)
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
    from core:/core/rubinius/bootstrap/string.rb:94:in `byteslice'
@chrisseaton chrisseaton added this to the truffle-dev milestone Apr 17, 2015
@bjfish
Copy link
Contributor Author

bjfish commented Apr 17, 2015

I'll check in a fix for this

@chrisseaton
Copy link
Contributor

Can this be closed now?

@bjfish
Copy link
Contributor Author

bjfish commented Apr 20, 2015

@chrisseaton Yes, closed by #2848, thanks.

@bjfish bjfish closed this as completed Apr 20, 2015
@enebo enebo added this to the Invalid or Duplicate milestone Dec 7, 2017
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

3 participants