Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: JRuby 1.6.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      RVM 1.9.2, bundler 1.0.21, OS X Lion
    • Number of attachments :
      0

      Description

      Hi!
      When I start rake in my Rails app with JRuby 1.6.5 with --1.9 it breaks with "stack level too deep". Using -d gives screen after screen of this:

      ...
      at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56)
      at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:133)
      at rubyjit.full_gem_path_C6832BBF145F5FC75E71C0F1D212B0B02F354F9E._file_(/Users/anders.bengtsson/.rvm/gems/jruby-1.6.5/gems/bundler-1.0.21/lib/bundler/rubygems_ext.rb:21)
      at rubyjit.full_gem_path_C6832BBF145F5FC75E71C0F1D212B0B02F354F9E._file_(/Users/anders.bengtsson/.rvm/gems/jruby-1.6.5/gems/bundler-1.0.21/lib/bundler/rubygems_ext.rb)
      at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:127)
      at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56)
      at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:133)
      at rubyjit.full_gem_path_C6832BBF145F5FC75E71C0F1D212B0B02F354F9E._file_(/Users/anders.bengtsson/.rvm/gems/jruby-1.6.5/gems/bundler-1.0.21/lib/bundler/rubygems_ext.rb:21)
      at rubyjit.full_gem_path_C6832BBF145F5FC75E71C0F1D212B0B02F354F9E._file_(/Users/anders.bengtsson/.rvm/gems/jruby-1.6.5/gems/bundler-1.0.21/lib/bundler/rubygems_ext.rb)
      at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:127)
      at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56)
      at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:133)
      at rubyjit.full_gem_path_C6832BBF145F5FC75E71C0F1D212B0B02F354F9E._file_(/Users/anders.bengtsson/.rvm/gems/jruby-1.6.5/gems/bundler-1.0.21/lib/bundler/rubygems_ext.rb:21)
      at rubyjit.full_gem_path_C6832BBF145F5FC75E71C0F1D212B0B02F354F9E._file_(/Users/anders.bengtsson/.rvm/gems/jruby-1.6.5/gems/bundler-1.0.21/lib/bundler/rubygems_ext.rb)
      at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:127)
      at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56)
      Exception `SystemStackError' at org/jruby/RubyArray.java:1612 - stack level too deep

      The code in bundler it gets stuck in looks like this:

      alias_method :rg_full_gem_path, :full_gem_path
      alias_method :rg_loaded_from, :loaded_from

      def full_gem_path
      source.respond_to?(:path) ?
      Pathname.new(loaded_from).dirname.expand_path(Bundler.root).to_s :
      rg_full_gem_path
      end

      This doesn't happen with JRuby 1.6.4 (nor with 1.6.5 in 1.8-mode as far as I can tell).

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Anders Bengtsson
          • Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: