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

Jenkins master node crashes often when viewing console logs of builds on slaves

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Windows 2008 RC2 64Bit for Master and Slaves.
      Java 64bit 7.0.9
    • Similar Issues:

      Description

      Crashes often when viewing the build console log. Nothing in the error log. The jenkins.out.log contains:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x01bd80e3, pid=2888, tid=2196
      #
      # JRE version: 6.0_26-b03
      # Java VM: Java HotSpot(TM) Client VM (20.1-b02 mixed mode windows-x86 )
      # Problematic frame:
      # J  org.kohsuke.stapler.jelly.groovy.GroovyFacet$1.dispatch(Lorg/kohsuke/stapler/RequestImpl;Lorg/kohsuke/stapler/ResponseImpl;Ljava/lang/Object;)Z
      #
      # An error report file with more information is saved as:
      # C:\Windows\system32\hs_err_pid2888.log
      #
      # If you would like to submit a bug report, please visit:
      #   http://java.sun.com/webapps/bugreport/crash.jsp
      #
      

      The hs_err_pid2888.log file does not exist.

        Attachments

          Issue Links

            Activity

            stuartwhelan Stuart Whelan created issue -
            stuartwhelan Stuart Whelan made changes -
            Field Original Value New Value
            Description Crashes often when viewing the build console log. Nothing in the error log. The jenkins.out.log contains:

            #
            # A fatal error has been detected by the Java Runtime Environment:
            #
            # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x01bd80e3, pid=2888, tid=2196
            #
            # JRE version: 6.0_26-b03
            # Java VM: Java HotSpot(TM) Client VM (20.1-b02 mixed mode windows-x86 )
            # Problematic frame:
            # J org.kohsuke.stapler.jelly.groovy.GroovyFacet$1.dispatch(Lorg/kohsuke/stapler/RequestImpl;Lorg/kohsuke/stapler/ResponseImpl;Ljava/lang/Object;)Z
            #
            # An error report file with more information is saved as:
            # C:\Windows\system32\hs_err_pid2888.log
            #
            # If you would like to submit a bug report, please visit:
            # http://java.sun.com/webapps/bugreport/crash.jsp
            #

            The hs_err_pid2888.log file does not exist.
            Crashes often when viewing the build console log. Nothing in the error log. The jenkins.out.log contains:

            {quote}{noformat}
            # A fatal error has been detected by the Java Runtime Environment:
            #
            # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x01bd80e3, pid=2888, tid=2196
            #
            # JRE version: 6.0_26-b03
            # Java VM: Java HotSpot(TM) Client VM (20.1-b02 mixed mode windows-x86 )
            # Problematic frame:
            # J org.kohsuke.stapler.jelly.groovy.GroovyFacet$1.dispatch(Lorg/kohsuke/stapler/RequestImpl;Lorg/kohsuke/stapler/ResponseImpl;Ljava/lang/Object;)Z
            #
            # An error report file with more information is saved as:
            # C:\Windows\system32\hs_err_pid2888.log
            #
            # If you would like to submit a bug report, please visit:
            # http://java.sun.com/webapps/bugreport/crash.jsp
            #
            {noformat}{quote}
            The hs_err_pid2888.log file does not exist.
            stuartwhelan Stuart Whelan made changes -
            Environment Windows 2008 RC2 64Bit for Master and Slaves.
            Java 64bit 7.0
            Windows 2008 RC2 64Bit for Master and Slaves.
            Java 64bit 7.0.9
            Hide
            growell_varolii Geoff Rowell added a comment - - edited

            My environment is Windows 2008 x64 (not R2) and Java SE runtime 1.6.0_24-b07 (bundled). I'm experiencing the exact same problem.

            # A fatal error has been detected by the Java Runtime Environment:
            #
            #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x01d58282, pid=4408, tid=5712
            #
            # JRE version: 6.0_24-b07
            # Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode windows-x86 )
            # Problematic frame:
            # J  org.kohsuke.stapler.jelly.groovy.GroovyFacet$1.dispatch(Lorg/kohsuke/stapler/RequestImpl;Lorg/kohsuke/stapler/ResponseImpl;Ljava/lang/Object;)Z
            #
            # An error report file with more information is saved as:
            # C:\Windows\system32\hs_err_pid4408.log
            #
            # If you would like to submit a bug report, please visit:
            #   http://java.sun.com/webapps/bugreport/crash.jsp
            

            Definitely a critical issue.

            Show
            growell_varolii Geoff Rowell added a comment - - edited My environment is Windows 2008 x64 (not R2) and Java SE runtime 1.6.0_24-b07 (bundled). I'm experiencing the exact same problem. # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x01d58282, pid=4408, tid=5712 # # JRE version: 6.0_24-b07 # Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode windows-x86 ) # Problematic frame: # J org.kohsuke.stapler.jelly.groovy.GroovyFacet$1.dispatch(Lorg/kohsuke/stapler/RequestImpl;Lorg/kohsuke/stapler/ResponseImpl;Ljava/lang/Object;)Z # # An error report file with more information is saved as: # C:\Windows\system32\hs_err_pid4408.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp Definitely a critical issue.
            Hide
            kutzi kutzi added a comment -

            This is a bug in the Java VM and there's probably not much Jenkins can do about it.
            To have the slightest chance to fix this on Jenkins side, we would need at least the content of the mentioned report file
            (# An error report file with more information is saved as:

            1. C:\Windows\system32\hs_err_pid4408.log)
            Show
            kutzi kutzi added a comment - This is a bug in the Java VM and there's probably not much Jenkins can do about it. To have the slightest chance to fix this on Jenkins side, we would need at least the content of the mentioned report file (# An error report file with more information is saved as: C:\Windows\system32\hs_err_pid4408.log)
            Hide
            growell_varolii Geoff Rowell added a comment -

            Unfortunately, the JVM is lying – that file is never created.

            Show
            growell_varolii Geoff Rowell added a comment - Unfortunately, the JVM is lying – that file is never created.
            Hide
            kutzi kutzi added a comment -

            Seems to be the same issue as JENKINS-16416

            Show
            kutzi kutzi added a comment - Seems to be the same issue as JENKINS-16416
            kutzi kutzi made changes -
            Link This issue duplicates JENKINS-16416 [ JENKINS-16416 ]
            Hide
            growell_varolii Geoff Rowell added a comment -

            Found it. The actual path name is:

            Show
            growell_varolii Geoff Rowell added a comment - Found it. The actual path name is: C:\Windows\SysWOW64\hs_err_pid4408.log
            growell_varolii Geoff Rowell made changes -
            Attachment hs_err_pid4408.log [ 23205 ]
            Hide
            growell_varolii Geoff Rowell added a comment -

            Looks like the timestamper plugin is triggering the problem. I think Takeji Naigeon's comment is better applied to this issue.

            Show
            growell_varolii Geoff Rowell added a comment - Looks like the timestamper plugin is triggering the problem. I think Takeji Naigeon 's comment is better applied to this issue.
            Hide
            stuartwhelan Stuart Whelan added a comment -

            Thanks for the tip of the path Geoff, found my logs there also.

            Show
            stuartwhelan Stuart Whelan added a comment - Thanks for the tip of the path Geoff, found my logs there also.
            stuartwhelan Stuart Whelan made changes -
            Attachment hs_err_pid4676.log [ 23206 ]
            stuartwhelan Stuart Whelan made changes -
            Labels timestamp
            Hide
            growell_varolii Geoff Rowell added a comment -

            Since I disabled the timestamper plugin, we've not seen the problem. That, and the consistent mention of the same plugin in the JVM dumps, seems to indicate a flaw in the plugin.

            Show
            growell_varolii Geoff Rowell added a comment - Since I disabled the timestamper plugin, we've not seen the problem. That, and the consistent mention of the same plugin in the JVM dumps, seems to indicate a flaw in the plugin.
            Hide
            stuartwhelan Stuart Whelan added a comment -

            We also have not seen the problem since disabling the Timestamper plugin.

            Show
            stuartwhelan Stuart Whelan added a comment - We also have not seen the problem since disabling the Timestamper plugin.
            stuartwhelan Stuart Whelan made changes -
            Labels timestamp timestamper
            Component/s timestamper [ 15749 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: StevenGBrown
            Path:
            src/main/java/hudson/plugins/timestamper/TimestamperConfig.java
            src/main/resources/hudson/plugins/timestamper/TimestamperConfig/config.groovy
            src/main/resources/hudson/plugins/timestamper/TimestamperConfig/config.jelly
            src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory/usersettings.groovy
            src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory/usersettings.jelly
            src/test/java/hudson/plugins/timestamper/TimestamperConfigTest.java
            http://jenkins-ci.org/commit/timestamper-plugin/86ae3272544f4f5b443f3ed5cf3aa965c315b12b
            Log:
            Workaround JENKINS-16528 by switching from Groovy views to Jelly views


            You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
            To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
            For more options, visit https://groups.google.com/groups/opt_out.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: StevenGBrown Path: src/main/java/hudson/plugins/timestamper/TimestamperConfig.java src/main/resources/hudson/plugins/timestamper/TimestamperConfig/config.groovy src/main/resources/hudson/plugins/timestamper/TimestamperConfig/config.jelly src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory/usersettings.groovy src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory/usersettings.jelly src/test/java/hudson/plugins/timestamper/TimestamperConfigTest.java http://jenkins-ci.org/commit/timestamper-plugin/86ae3272544f4f5b443f3ed5cf3aa965c315b12b Log: Workaround JENKINS-16528 by switching from Groovy views to Jelly views – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .
            Hide
            stevengbrown Steven G Brown added a comment -

            The Timestamper plugin (1.5.3 or later) will no longer trigger this VM crash, because it uses Jelly views instead of Groovy views.

            This VM crash may still occur during other usages of Groovy views, e.g. uninstalling the Active Directory plugin: hs_err_pid7064.log.

            Show
            stevengbrown Steven G Brown added a comment - The Timestamper plugin (1.5.3 or later) will no longer trigger this VM crash, because it uses Jelly views instead of Groovy views. This VM crash may still occur during other usages of Groovy views, e.g. uninstalling the Active Directory plugin: hs_err_pid7064.log .
            stevengbrown Steven G Brown made changes -
            Labels timestamper
            Component/s timestamper [ 15749 ]
            Hide
            kutzi kutzi added a comment -

            Seems to be fixed for the timestamper plugin

            Show
            kutzi kutzi added a comment - Seems to be fixed for the timestamper plugin
            kutzi kutzi made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            Hide
            hujirong Jirong Hu added a comment -

            I am having the same issue when trying to install Jenkins 1.541 on my Windows XP. It's a brand new installation, found no timestamper plugin.

            Show
            hujirong Jirong Hu added a comment - I am having the same issue when trying to install Jenkins 1.541 on my Windows XP. It's a brand new installation, found no timestamper plugin.
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 147351 ] JNJira + In-Review [ 192354 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                stuartwhelan Stuart Whelan
              • Votes:
                3 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: