Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38996

Java on Jenkins crashes unexpectedly

    Details

    • Similar Issues:

      Description

      Java on Jenkins crashes unexpectedly with below error

      #

      1. A fatal error has been detected by the Java Runtime Environment:
        #
      2. SIGSEGV (0xb) at pc=0x00002b31e9734510, pid=9956, tid=47493343594816
        #
      3. JRE version: Java(TM) SE Runtime Environment (8.0_31-b13) (build 1.8.0_31-b13)
      4. Java VM: Java HotSpot(TM) 64-Bit Server VM (25.31-b07 mixed mode linux-amd64 compressed oops)
      5. Problematic frame:
      6. C 0x00002b31e9734510
        #
      7. Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
        #
      8. If you would like to submit a bug report, please visit:
      9. http://bugreport.java.com/bugreport/crash.jsp
        #

      --------------- T H R E A D ---------------

      Current thread (0x0000000014796800): JavaThread "Handling GET /jenkins/job/NBS/job/02_DiffLog/descriptorByName/jenkins.plugins.publish_over_ssh.BapSshRetry/checkRetries from 10.244.17.37 : http-nio-8080-exec-10" daemon [_thread_in_Java, id=10040, stack(0x00002b31e7cfc000,0x00002b31e7dfd000)]

      siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0x00002b31e9734510

      Registers:
      RAX=0x00000006c38079d0, RBX=0x00002b31d3ca7100, RCX=0x00002b31baa6c440, RDX=0x00000006c38079d0
      RSP=0x00002b31e7df5ba0, RBP=0x00002b31ea053c10, RSI=0x00000007c08d63b0, RDI=0x00000007c000b4b8
      R8 =0x0000000000000030, R9 =0x00000006c25b7140, R10=0x00000007c02fe058, R11=0x00000000f811ac76
      R12=0x0000000000000000, R13=0x00002b31e7df5b90, R14=0x00002b31e7df5c48, R15=0x0000000014796800
      RIP=0x00002b31e9734510, EFLAGS=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000015
      TRAPNO=0x000000000000000e

      Top of Stack: (sp=0x00002b31e7df5ba0)

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment - - edited

          Interesting info:

          ---------------  T H R E A D  ---------------
          
          Current thread (0x0000000014796800):  JavaThread "Handling GET /jenkins/job/NBS/job/02_DiffLog/descriptorByName/jenkins.plugins.publish_over_ssh.BapSshRetry/checkRetries from 10.244.17.37 : http-nio-8080-exec-10" daemon [_thread_in_Java, id=10040, stack(0x00002b31e7cfc000,0x00002b31e7dfd000)]
          
          ....
          
          Register to memory mapping:
          
          RAX=0x00000006c38079d0 is an oop
          ruby.RubyPlugin 
           - klass: 'ruby/RubyPlugin'
          RBX={method} {0x00002b31d3ca7100} 'castReference' '(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;' in 'java/lang/invoke/MethodHandleImpl'
          RCX=0x00002b31baa6c440 is at begin+12 in a stub
          MethodHandle::interpreter_entry::_linkToStatic [0x00002b31baa6c434, 0x00002b31baa6c458[ (36 bytes)
          RDX=0x00000006c38079d0 is an oop
          ruby.RubyPlugin 
           - klass: 'ruby/RubyPlugin'
          RSP=0x00002b31e7df5ba0 is pointing into the stack for thread: 0x0000000014796800
          RBP=0x00002b31ea053c10 is pointing into metadata
          RSI=0x00000007c08d63b0 is pointing into metadata
          RDI=0x00000007c000b4b8 is pointing into metadata
          R8 =0x0000000000000030 is an unknown value
          R9 =0x00000006c25b7140 is an oop
          java.lang.Class 
           - klass: 'java/lang/Class'
          R10=0x00000007c02fe058 is pointing into metadata
          R11=0x00000000f811ac76 is an unknown value
          R12=0x0000000000000000 is an unknown value
          R13=0x00002b31e7df5b90 is pointing into the stack for thread: 0x0000000014796800
          R14=0x00002b31e7df5c48 is pointing into the stack for thread: 0x0000000014796800
          R15=0x0000000014796800 is a thread
          
          Show
          oleg_nenashev Oleg Nenashev added a comment - - edited Interesting info: --------------- T H R E A D --------------- Current thread (0x0000000014796800): JavaThread "Handling GET /jenkins/job/NBS/job/02_DiffLog/descriptorByName/jenkins.plugins.publish_over_ssh.BapSshRetry/checkRetries from 10.244.17.37 : http-nio-8080-exec-10" daemon [_thread_in_Java, id=10040, stack(0x00002b31e7cfc000,0x00002b31e7dfd000)] .... Register to memory mapping: RAX=0x00000006c38079d0 is an oop ruby.RubyPlugin - klass: 'ruby/RubyPlugin' RBX={method} {0x00002b31d3ca7100} 'castReference' '(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;' in 'java/lang/invoke/MethodHandleImpl' RCX=0x00002b31baa6c440 is at begin+12 in a stub MethodHandle::interpreter_entry::_linkToStatic [0x00002b31baa6c434, 0x00002b31baa6c458[ (36 bytes) RDX=0x00000006c38079d0 is an oop ruby.RubyPlugin - klass: 'ruby/RubyPlugin' RSP=0x00002b31e7df5ba0 is pointing into the stack for thread: 0x0000000014796800 RBP=0x00002b31ea053c10 is pointing into metadata RSI=0x00000007c08d63b0 is pointing into metadata RDI=0x00000007c000b4b8 is pointing into metadata R8 =0x0000000000000030 is an unknown value R9 =0x00000006c25b7140 is an oop java.lang.Class - klass: 'java/lang/Class' R10=0x00000007c02fe058 is pointing into metadata R11=0x00000000f811ac76 is an unknown value R12=0x0000000000000000 is an unknown value R13=0x00002b31e7df5b90 is pointing into the stack for thread: 0x0000000014796800 R14=0x00002b31e7df5c48 is pointing into the stack for thread: 0x0000000014796800 R15=0x0000000014796800 is a thread
          Show
          oleg_nenashev Oleg Nenashev added a comment - I assume it's somehow related to the Ruby Runtime plugin. Maybe here: https://github.com/jenkinsci/ruby-runtime-plugin/blob/70045022426fd55d6f765086e56c5e2d5e2a498e/src/main/java/ruby/RubyPluginRuntimeResolver.java#L24
          Hide
          rtyler R. Tyler Croy added a comment -

          Why was this assigned t ome?

          Show
          rtyler R. Tyler Croy added a comment - Why was this assigned t ome?
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          R. Tyler Croy - You've been autoassigned as a Ruby Runtime Plugin component lead in JIRA

          Show
          oleg_nenashev Oleg Nenashev added a comment - R. Tyler Croy - You've been autoassigned as a Ruby Runtime Plugin component lead in JIRA

            People

            • Assignee:
              Unassigned
              Reporter:
              asrar asrar parveen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: