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

Sporadic Jenkins Crashing Across Different Servers

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • core

      We are experiencing an issue with our Jenkins servers (multiple) crashing sporadically throughout the day. Initially, there was thought that it could be a JDK version issue and went through with updating the JDK on our servers, however this did not solve the issue.

      Attached are the following four log files produced by the jvm:

      • log1.txt and log2.txt are before the JDK update from two of our servers
      • hs_err.txt (Jenkins v. 1.651.1) and hs_err2.txt (Jenkins v. 1.580.3) are after the JDK update from two of our servers

        1. hs_err.txt
          227 kB
        2. hs_err2.txt
          212 kB
        3. log1.txt
          214 kB
        4. log2.txt
          227 kB

          [JENKINS-39388] Sporadic Jenkins Crashing Across Different Servers

          Oleg Nenashev added a comment -

          Both reported servers use ancient version of Java 7: "
          vm_info: OpenJDK 64-Bit Server VM (23.2-b09) for linux-amd64 JRE (1.7.0_09-icedtea-mockbuild_2013_01_15_04_12-b00), built on Jan 15 2013 04:17:45 by "mockbuild" with gcc 4.4.6 20120305 (Red Hat 4.4.6-4)". Has this log been collected before or after Java upgrade?

          Oleg Nenashev added a comment - Both reported servers use ancient version of Java 7: " vm_info: OpenJDK 64-Bit Server VM (23.2-b09) for linux-amd64 JRE (1.7.0_09-icedtea-mockbuild_2013_01_15_04_12-b00), built on Jan 15 2013 04:17:45 by "mockbuild" with gcc 4.4.6 20120305 (Red Hat 4.4.6-4)". Has this log been collected before or after Java upgrade?

          Corey Carvalho added a comment - - edited

          log1.txt and log2.txt were collected before Java upgrade. hs_err.txt and hs_err2.txt were collected after Java upgrade.

          OpenJDK Runtime Environment (7.0_111-b01) (build 1.7.0_111-mockbuild_2016_07_22_09_37-b00).....taken from hs_err2.txt.

          Corey Carvalho added a comment - - edited log1.txt and log2.txt were collected before Java upgrade. hs_err.txt and hs_err2.txt were collected after Java upgrade. OpenJDK Runtime Environment (7.0_111-b01) (build 1.7.0_111-mockbuild_2016_07_22_09_37-b00).....taken from hs_err2.txt.

          Oleg Nenashev added a comment -

          Smells like a JNA bug

          Oleg Nenashev added a comment - Smells like a JNA bug

          Oleg Nenashev added a comment -

          carvac2 do you run Jenkins within TomCat?
          If yes, https://github.com/java-native-access/jna/issues/678 seems to be very similar.

          > It occurs when garbage collector thread tries to close handle of tmp dll created in tomcat temp folder after Native.loadLibrary((Platform.isWindows() ? "msvcrt" : "c"), call, when JNI_OnUnload was already been called for this tmp lib.

          Oleg Nenashev added a comment - carvac2 do you run Jenkins within TomCat? If yes, https://github.com/java-native-access/jna/issues/678 seems to be very similar. > It occurs when garbage collector thread tries to close handle of tmp dll created in tomcat temp folder after Native.loadLibrary((Platform.isWindows() ? "msvcrt" : "c"), call, when JNI_OnUnload was already been called for this tmp lib.

            Unassigned Unassigned
            carvac2 Corey Carvalho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: