Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: JRuby 1.6.7, JRuby 1.7.0.pre1
    • Component/s: Ruby 1.9.2
    • Labels:
      None
    • Environment:
      Linux bt 2.6.30.9 #1 SMP Tue Dec 1 21:51:08 EST 2009 i686 GNU/Linux
    • Number of attachments :
      0

      Description

      Error occurred on a fresh jruby 1.5.5, during the ri documentation activesupport-3.0.2 portion of the rails 3.0.2 install...

      james@bt:~$ jruby --1.9 --version
      jruby 1.5.5 (ruby 1.9.2dev trunk 24787) (2010-11-10 4bd4200) (Java HotSpot(TM) Client VM 1.6.0_10) [i386-java]

      james@bt:~$ jruby --1.9 -S gem install jruby-openssl
      JRuby limited openssl loaded. http://jruby.org/openssl
      gem install jruby-openssl for full support.
      Successfully installed bouncy-castle-java-1.5.0145.2
      Successfully installed jruby-openssl-0.7.2
      2 gems installed
      Installing ri documentation for bouncy-castle-java-1.5.0145.2...
      Installing ri documentation for jruby-openssl-0.7.2...
      Updating class cache with 40 classes...
      Installing RDoc documentation for bouncy-castle-java-1.5.0145.2...
      Installing RDoc documentation for jruby-openssl-0.7.2...

      james@bt:~$ jruby --1.9 -S gem install rails
      Successfully installed activesupport-3.0.2
      Successfully installed builder-2.1.2
      Successfully installed i18n-0.4.2
      Successfully installed activemodel-3.0.2
      Successfully installed rack-1.2.1
      Successfully installed rack-test-0.5.6
      Successfully installed rack-mount-0.6.13
      Successfully installed tzinfo-0.3.23
      Successfully installed abstract-1.0.0
      Successfully installed erubis-2.6.6
      Successfully installed actionpack-3.0.2
      Successfully installed arel-2.0.2
      Successfully installed activerecord-3.0.2
      Successfully installed activeresource-3.0.2
      Successfully installed mime-types-1.16
      Successfully installed polyglot-0.3.1
      Successfully installed treetop-1.4.8
      Successfully installed mail-2.2.9.1
      Successfully installed actionmailer-3.0.2
      Successfully installed thor-0.14.4
      Successfully installed railties-3.0.2
      Successfully installed bundler-1.0.5
      Successfully installed rails-3.0.2
      23 gems installed
      Installing ri documentation for activesupport-3.0.2...

      RDoc failure in lib/active_support/inflector/transliterate.rb at or around line 61 column
      7

      Before reporting this, could you check that the file you're documenting
      compiles cleanly--RDoc is not a full Ruby parser, and gets confused easily if
      fed invalid programs.

      The internal error was:

      ERROR: While executing gem ... (ArgumentError)
      invalid byte sequence in UTF-8
      james@bt:~$

        Activity

        Hide
        Hiroshi Nakamura added a comment -
        0% jruby --1.9 -S gem install activesupport -v 3.0.2
        Successfully installed activesupport-3.0.2
        1 gem installed
        Installing ri documentation for activesupport-3.0.2...
        
        
        RDoc failure in lib/active_support/inflector/transliterate.rb at or around line 61 column
        7
        
        Before reporting this, could you check that the file you're documenting
        compiles cleanly--RDoc is not a full Ruby parser, and gets confused easily if
        fed invalid programs.
        
        The internal error was:
        
        ERROR:  While executing gem ... (ArgumentError)
            invalid byte sequence in UTF-8
        1% 
        
        Show
        Hiroshi Nakamura added a comment - 0% jruby --1.9 -S gem install activesupport -v 3.0.2 Successfully installed activesupport-3.0.2 1 gem installed Installing ri documentation for activesupport-3.0.2... RDoc failure in lib/active_support/inflector/transliterate.rb at or around line 61 column 7 Before reporting this, could you check that the file you're documenting compiles cleanly--RDoc is not a full Ruby parser, and gets confused easily if fed invalid programs. The internal error was: ERROR: While executing gem ... (ArgumentError) invalid byte sequence in UTF-8 1%
        Hide
        Charles Oliver Nutter added a comment -

        The exception has changed somewhat recently:

        ~/projects/jruby ➔ jruby --1.9 -S gem install activesupport -v 3.0.2
        Successfully installed activesupport-3.0.2
        1 gem installed
        Installing ri documentation for activesupport-3.0.2...
        /Users/headius/projects/jruby/lib/ruby/1.9/rdoc/rdoc.rb:409:in `read_file_contents': (RegexpError) too short multibyte code string: /\A\xef\xbb\xbf/ (SyntaxError)
        	from /Users/headius/projects/jruby/lib/ruby/1.9/rdoc/rdoc.rb:280:in `parse_file'
        	from /Users/headius/projects/jruby/lib/ruby/1.9/rdoc/rdoc.rb:324:in `parse_files'
        	from org/jruby/RubyArray.java:2420:in `collect19'
        	from /Users/headius/projects/jruby/lib/ruby/1.9/rdoc/rdoc.rb:322:in `parse_files'
        	from /Users/headius/projects/jruby/lib/ruby/1.9/rdoc/rdoc.rb:371:in `document'
        	from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/doc_manager.rb:187:in `run_rdoc'
        	from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/doc_manager.rb:156:in `install_ri'
        	from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/doc_manager.rb:116:in `generate_ri'
        	from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:146:in `execute'
        	from org/jruby/RubyArray.java:1655:in `each'
        	from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:145:in `execute'
        	from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/command.rb:270:in `invoke'
        	from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:134:in `process_args'
        	from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:104:in `run'
        	from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:58:in `run'
        	from /Users/headius/projects/jruby/bin/gem:21:in `(root)'
        
        Show
        Charles Oliver Nutter added a comment - The exception has changed somewhat recently: ~/projects/jruby ➔ jruby --1.9 -S gem install activesupport -v 3.0.2 Successfully installed activesupport-3.0.2 1 gem installed Installing ri documentation for activesupport-3.0.2... /Users/headius/projects/jruby/lib/ruby/1.9/rdoc/rdoc.rb:409:in `read_file_contents': (RegexpError) too short multibyte code string: /\A\xef\xbb\xbf/ (SyntaxError) from /Users/headius/projects/jruby/lib/ruby/1.9/rdoc/rdoc.rb:280:in `parse_file' from /Users/headius/projects/jruby/lib/ruby/1.9/rdoc/rdoc.rb:324:in `parse_files' from org/jruby/RubyArray.java:2420:in `collect19' from /Users/headius/projects/jruby/lib/ruby/1.9/rdoc/rdoc.rb:322:in `parse_files' from /Users/headius/projects/jruby/lib/ruby/1.9/rdoc/rdoc.rb:371:in `document' from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/doc_manager.rb:187:in `run_rdoc' from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/doc_manager.rb:156:in `install_ri' from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/doc_manager.rb:116:in `generate_ri' from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:146:in `execute' from org/jruby/RubyArray.java:1655:in `each' from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:145:in `execute' from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/command.rb:270:in `invoke' from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:134:in `process_args' from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:104:in `run' from /Users/headius/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:58:in `run' from /Users/headius/projects/jruby/bin/gem:21:in `(root)'
        Hide
        Thomas E Enebo added a comment -

        This no longer crashes but it does seem to enter an infinite loop now due to a regexp in ri.rb:

            if comment =~ /^(?>\s*)[^\#]/
        

        I dumped stack and it seems to be stuck:

           java.lang.Thread.State: RUNNABLE
        	at org.joni.Matcher.search(Matcher.java:463)
        	at org.jruby.RubyRegexp.search(RubyRegexp.java:1474)
        	at org.jruby.RubyRegexp.op_match(RubyRegexp.java:1391)
        	at org.jruby.javasupport.util.RuntimeHelpers.match3(RuntimeHelpers.java:1459)
        	at rubyjit.markup_359E404649F0EC01B8F92D64CF30424DD5360BFE.__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb:177)
        	at rubyjit.markup_359E404649F0EC01B8F92D64CF30424DD5360BFE.__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb)
        	at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:167)
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137)
        	at rubyjit.generate_method_info_988A4515DC9DB66EDC093AEF185D3BB92B6F3A9E.__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb:111)
        	at rubyjit.generate_method_info_988A4515DC9DB66EDC093AEF185D3BB92B6F3A9E.__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb)
        	at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:207)
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:171)
        	at rubyjit.generate_class_info_3552F9D84ACD585CC3567FA7F27FA2787B44EF65.block_6$RUBY$__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb:96)
        	at rubyjit.generate_class_info_3552F9D84ACD585CC3567FA7F27FA2787B44EF65BlockCallback$block_6$RUBY$__file__xx1.call(Unknown Source)
        	at org.jruby.runtime.CompiledBlock19.yield(CompiledBlock19.java:130)
        	at org.jruby.runtime.Block.yield(Block.java:130)
        	at org.jruby.RubyArray.eachCommon(RubyArray.java:1666)
        	at org.jruby.RubyArray.each(RubyArray.java:1676)
        	at org.jruby.RubyArray$i$0$0$each.call(RubyArray$i$0$0$each.gen:65535)
        	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:112)
        	at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:123)
        	at rubyjit.generate_class_info_3552F9D84ACD585CC3567FA7F27FA2787B44EF65.__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb:95)
        	at rubyjit.generate_class_info_3552F9D84ACD585CC3567FA7F27FA2787B44EF65.__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb)
        	at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:167)
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137)
        	at rubyjit.process_class_B0B89EF95015458A8FEB8189F7410A23C35E589D.__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb:44)
        	at rubyjit.process_class_B0B89EF95015458A8FEB8189F7410A23C35E589D.__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb)
        	at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:167)
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137)
        	at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111)
        	at org.jruby.runtime.Interpreted19Block.evalBlockBody(Interpreted19Block.java:203)
        	at org.jruby.runtime.Interpreted19Block.yield(Interpreted19Block.java:154)
        	at org.jruby.runtime.Block.yield(Block.java:130)
        	at org.jruby.RubyArray.eachCommon(RubyArray.java:1666)
        	at org.jruby.RubyArray.each(RubyArray.java:1676)
        	at org.jruby.RubyArray$i$0$0$each.call(RubyArray$i$0$0$each.gen:65535)
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:272)
        	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:114)
        	at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:123)
        	at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
        	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190)
        	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179)
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282)
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139)
        	at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        	at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)
        	at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        	at org.jruby.ast.IfNode.interpret(IfNode.java:119)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
        	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190)
        	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179)
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282)
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139)
        	at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216)
        	at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
        	at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
        	at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)
        	at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
        	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:276)
        	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:211)
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322)
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:207)
        	at org.jruby.ast.FCallThreeArgNode.interpret(FCallThreeArgNode.java:40)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
        	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
        	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163)
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262)
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105)
        	at org.jruby.ast.VCallNode.interpret(VCallNode.java:85)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
        	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
        	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163)
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262)
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105)
        	at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111)
        	at org.jruby.runtime.Interpreted19Block.evalBlockBody(Interpreted19Block.java:203)
        	at org.jruby.runtime.Interpreted19Block.yield(Interpreted19Block.java:154)
        	at org.jruby.runtime.Block.yield(Block.java:130)
        	at org.jruby.RubyArray.eachCommon(RubyArray.java:1666)
        	at org.jruby.RubyArray.each(RubyArray.java:1676)
        	at org.jruby.RubyArray$i$0$0$each.call(RubyArray$i$0$0$each.gen:65535)
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:272)
        	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:114)
        	at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:123)
        	at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        	at org.jruby.ast.IfNode.interpret(IfNode.java:117)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        	at org.jruby.ast.IfNode.interpret(IfNode.java:119)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
        	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
        	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163)
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262)
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105)
        	at org.jruby.ast.VCallNode.interpret(VCallNode.java:85)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.ast.IfNode.interpret(IfNode.java:119)
        	at org.jruby.ast.IfNode.interpret(IfNode.java:119)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
        	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:120)
        	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:134)
        	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:154)
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:252)
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:71)
        	at org.jruby.ast.CallSpecialArgNode.interpret(CallSpecialArgNode.java:73)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        	at org.jruby.ast.CaseNode.interpret(CaseNode.java:138)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
        	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190)
        	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179)
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282)
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139)
        	at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216)
        	at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
        	at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
        	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190)
        	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179)
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282)
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139)
        	at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
        	at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
        	at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
        	at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
        	at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190)
        	at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179)
        	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282)
        	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139)
        	at Users.enebo.work.jruby.bin.gem.chained_0_rescue_1$RUBY$SYNTHETIC__file__(/Users/enebo/work/jruby/bin/gem:21)
        	at Users.enebo.work.jruby.bin.gem.__file__(/Users/enebo/work/jruby/bin/gem:20)
        	at Users.enebo.work.jruby.bin.gem.load(/Users/enebo/work/jruby/bin/gem)
        	at org.jruby.Ruby.runScript(Ruby.java:670)
        	at org.jruby.Ruby.runNormally(Ruby.java:574)
        	at org.jruby.Ruby.runFromMain(Ruby.java:423)
        	at org.jruby.Main.doRunFromMain(Main.java:278)
        	at org.jruby.Main.internalRun(Main.java:198)
        	at org.jruby.Main.run(Main.java:164)
        	at org.jruby.Main.run(Main.java:148)
        	at org.jruby.Main.main(Main.java:128)
        
        Show
        Thomas E Enebo added a comment - This no longer crashes but it does seem to enter an infinite loop now due to a regexp in ri.rb: if comment =~ /^(?>\s*)[^\#]/ I dumped stack and it seems to be stuck: java.lang.Thread.State: RUNNABLE at org.joni.Matcher.search(Matcher.java:463) at org.jruby.RubyRegexp.search(RubyRegexp.java:1474) at org.jruby.RubyRegexp.op_match(RubyRegexp.java:1391) at org.jruby.javasupport.util.RuntimeHelpers.match3(RuntimeHelpers.java:1459) at rubyjit.markup_359E404649F0EC01B8F92D64CF30424DD5360BFE.__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb:177) at rubyjit.markup_359E404649F0EC01B8F92D64CF30424DD5360BFE.__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb) at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:167) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) at rubyjit.generate_method_info_988A4515DC9DB66EDC093AEF185D3BB92B6F3A9E.__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb:111) at rubyjit.generate_method_info_988A4515DC9DB66EDC093AEF185D3BB92B6F3A9E.__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb) at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:207) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:171) at rubyjit.generate_class_info_3552F9D84ACD585CC3567FA7F27FA2787B44EF65.block_6$RUBY$__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb:96) at rubyjit.generate_class_info_3552F9D84ACD585CC3567FA7F27FA2787B44EF65BlockCallback$block_6$RUBY$__file__xx1.call(Unknown Source) at org.jruby.runtime.CompiledBlock19.yield(CompiledBlock19.java:130) at org.jruby.runtime.Block.yield(Block.java:130) at org.jruby.RubyArray.eachCommon(RubyArray.java:1666) at org.jruby.RubyArray.each(RubyArray.java:1676) at org.jruby.RubyArray$i$0$0$each.call(RubyArray$i$0$0$each.gen:65535) at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:112) at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:123) at rubyjit.generate_class_info_3552F9D84ACD585CC3567FA7F27FA2787B44EF65.__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb:95) at rubyjit.generate_class_info_3552F9D84ACD585CC3567FA7F27FA2787B44EF65.__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb) at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:167) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) at rubyjit.process_class_B0B89EF95015458A8FEB8189F7410A23C35E589D.__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb:44) at rubyjit.process_class_B0B89EF95015458A8FEB8189F7410A23C35E589D.__file__(/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rdoc-2.4.3/lib/rdoc/generator/ri.rb) at org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:167) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111) at org.jruby.runtime.Interpreted19Block.evalBlockBody(Interpreted19Block.java:203) at org.jruby.runtime.Interpreted19Block.yield(Interpreted19Block.java:154) at org.jruby.runtime.Block.yield(Block.java:130) at org.jruby.RubyArray.eachCommon(RubyArray.java:1666) at org.jruby.RubyArray.each(RubyArray.java:1676) at org.jruby.RubyArray$i$0$0$each.call(RubyArray$i$0$0$each.gen:65535) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:272) at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:114) at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:123) at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139) at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96) at org.jruby.ast.BeginNode.interpret(BeginNode.java:83) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.ast.IfNode.interpret(IfNode.java:119) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139) at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216) at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120) at org.jruby.ast.RescueNode.interpret(RescueNode.java:110) at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96) at org.jruby.ast.BeginNode.interpret(BeginNode.java:83) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:276) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:211) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:207) at org.jruby.ast.FCallThreeArgNode.interpret(FCallThreeArgNode.java:40) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) at org.jruby.ast.VCallNode.interpret(VCallNode.java:85) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111) at org.jruby.runtime.Interpreted19Block.evalBlockBody(Interpreted19Block.java:203) at org.jruby.runtime.Interpreted19Block.yield(Interpreted19Block.java:154) at org.jruby.runtime.Block.yield(Block.java:130) at org.jruby.RubyArray.eachCommon(RubyArray.java:1666) at org.jruby.RubyArray.each(RubyArray.java:1676) at org.jruby.RubyArray$i$0$0$each.call(RubyArray$i$0$0$each.gen:65535) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:272) at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:114) at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:123) at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.ast.IfNode.interpret(IfNode.java:117) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.ast.IfNode.interpret(IfNode.java:119) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) at org.jruby.ast.VCallNode.interpret(VCallNode.java:85) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.ast.IfNode.interpret(IfNode.java:119) at org.jruby.ast.IfNode.interpret(IfNode.java:119) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:120) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:134) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:154) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:252) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:71) at org.jruby.ast.CallSpecialArgNode.interpret(CallSpecialArgNode.java:73) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.ast.CaseNode.interpret(CaseNode.java:138) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139) at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216) at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120) at org.jruby.ast.RescueNode.interpret(RescueNode.java:110) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139) at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139) at Users.enebo.work.jruby.bin.gem.chained_0_rescue_1$RUBY$SYNTHETIC__file__(/Users/enebo/work/jruby/bin/gem:21) at Users.enebo.work.jruby.bin.gem.__file__(/Users/enebo/work/jruby/bin/gem:20) at Users.enebo.work.jruby.bin.gem.load(/Users/enebo/work/jruby/bin/gem) at org.jruby.Ruby.runScript(Ruby.java:670) at org.jruby.Ruby.runNormally(Ruby.java:574) at org.jruby.Ruby.runFromMain(Ruby.java:423) at org.jruby.Main.doRunFromMain(Main.java:278) at org.jruby.Main.internalRun(Main.java:198) at org.jruby.Main.run(Main.java:164) at org.jruby.Main.run(Main.java:148) at org.jruby.Main.main(Main.java:128)
        Hide
        Charles Oliver Nutter added a comment -

        Still hanging on master. You need to pass flags to 'gem' to get it to generate now, since we default to no doc generation:

        $ jruby --1.9 -S gem install --ri --rdoc activesupport
        Fetching: activesupport-3.1.3.gem (100%)
        Successfully installed activesupport-3.1.3
        1 gem installed
        Installing ri documentation for activesupport-3.1.3...
        ^C
        
        Show
        Charles Oliver Nutter added a comment - Still hanging on master. You need to pass flags to 'gem' to get it to generate now, since we default to no doc generation: $ jruby --1.9 -S gem install --ri --rdoc activesupport Fetching: activesupport-3.1.3.gem (100%) Successfully installed activesupport-3.1.3 1 gem installed Installing ri documentation for activesupport-3.1.3... ^C
        Hide
        Hiro Asari added a comment -

        This works on master now.

        $ jruby --1.9 -S gem install --ri --rdoc activesupport
        Successfully installed activesupport-3.2.1
        1 gem installed
        Installing ri documentation for activesupport-3.2.1...
        Building YARD (yri) index for activesupport-3.2.1...
        Installing RDoc documentation for activesupport-3.2.1...
        
        Show
        Hiro Asari added a comment - This works on master now. $ jruby --1.9 -S gem install --ri --rdoc activesupport Successfully installed activesupport-3.2.1 1 gem installed Installing ri documentation for activesupport-3.2.1... Building YARD (yri) index for activesupport-3.2.1... Installing RDoc documentation for activesupport-3.2.1...
        Hide
        Thomas E Enebo added a comment -

        Also works for 1.6.7.

        Show
        Thomas E Enebo added a comment - Also works for 1.6.7.

          People

          • Assignee:
            Thomas E Enebo
            Reporter:
            James Thornton
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: