Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Not A Bug
    • Affects Version/s: JRuby 1.7.0.RC2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      JRUBY_OPTS='--1.9 --manage'

      jruby 1.7.0.RC2 (1.9.3p203) 2012-10-09 142cc7b on Java HotSpot(TM) 64-Bit Server VM 1.7.0_04-b21 [darwin-x86_64]
    • Number of attachments :
      0

      Description

      I tried RC2 on an app that I previously have run in RC1, the first thing that happened was that I couldn't even install bundler:

      $ gem install bundler
      Error: Your application used more stack memory than the safety cap of 2048K.
      Specify -J-Xss####k to increase it (#### = cap size in KB).
      Specify -w for full StackOverflowError stack trace
      

      increasing the stack size instead leads to a SIGSEGV:

      $ JAVA_OPTS=-Xss2g gem install bundler
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      #  SIGSEGV (0xb) at pc=0x0000000000000000, pid=24552, tid=6590660608
      #
      # JRE version: 7.0_04-b21
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.0-b21 mixed mode bsd-amd64 compressed oops)
      # Problematic frame:
      # C  0x0000000000000000
      #
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # An error report file with more information is saved as:
      # /Users/theo/Desktop/duplicates/duplicates_finder/hs_err_pid24552.log
      #
      # If you would like to submit a bug report, please visit:
      #   http://bugreport.sun.com/bugreport/crash.jsp
      #
      

        Activity

        Hide
        Theo Hultberg added a comment -

        Looks like it was an RVM issue (https://github.com/jruby/jruby/issues/331). Update RVM to latest and reinstall RC2 to get it working.

        Show
        Theo Hultberg added a comment - Looks like it was an RVM issue ( https://github.com/jruby/jruby/issues/331 ). Update RVM to latest and reinstall RC2 to get it working.
        Hide
        Charles Oliver Nutter added a comment -

        Thanks for confirming!

        Show
        Charles Oliver Nutter added a comment - Thanks for confirming!

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Theo Hultberg
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: