JRuby

jruby --debug -rdebug -rubygems -v crashes

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: JRuby 1.4
  • Fix Version/s: JRuby 1.5
  • Component/s: Core Classes/Modules
  • Labels:
    None
  • Number of attachments :
    0

Description

jruby --debug -rdebug -rubygems -v
jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2010-03-10 f440aa7) (Java HotSpot(TM) Client VM 1.6.0_18) [x86-java]
Debug.rb
Emacs support available.

ThreadContext.java:194:in `getCurrentScope': java.lang.ArrayIndexOutOfBoundsException: -1
        from ThreadContext.java:1431:in `currentBinding'
        from Ruby.java:2620:in `eventHandler'
        from EventHook.java:30:in `event'
        from Ruby.java:2674:in `callEventHooks'
        from ThreadContext.java:522:in `trace'
        from ThreadContext.java:518:in `trace'
        from JavaMethod.java:166:in `callTrace'
        from org/jruby/RubyString$i_method_1_0$RUBYINVOKER$op_equal_DBG.gen:65535:in `call'
        from RubyClass.java:621:in `finvoke'
        from RuntimeHelpers.java:431:in `invoke'
        from RubyBasicObject.java:327:in `callMethod'
        from RubyObject.java:567:in `equalInternal'
        from RubyArray.java:2423:in `delete'
        from RubyArray.java:3860:in `remove'
        from Collections.java:1580:in `remove'
        from LoadService.java:443:in `removeLoadedFeature'
        from LoadService.java:681:in `tryLoadingLibraryOrScript'
        from LoadService.java:314:in `smartLoad'
        from Ruby.java:1065:in `init'
        from Ruby.java:175:in `newInstance'
        from Main.java:206:in `run'
        from Main.java:117:in `run'
        from Main.java:97:in `main'

Issue Links

Activity

Hide
Charles Oliver Nutter added a comment -

I reverted the change to JRUBY-4484, since it not only caused this problem but several others, and hacking around it was getting ugly. I'll add a note there to confirm this works with any eventual fix.

Show
Charles Oliver Nutter added a comment - I reverted the change to JRUBY-4484, since it not only caused this problem but several others, and hacking around it was getting ugly. I'll add a note there to confirm this works with any eventual fix.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: