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

Jenkins windows service terminates unexpectedly

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None

      Jenkins 1.533
      MSBuild Plugin Version:1.20
      VSS Plugin Version: 1.9
      Visual Source Safe Version 8.0
      Further environment details are posted in the environment box above.

      The Jenkins windows service crashes on the above configuration during the creation manual build. The issue occurs at a stage during the manual build process when the Console Output is displaying the message "[get] Getting source code from:[Project]".

      The windows event log related to this issue is attached"EventViewerLog.txt".

          [JENKINS-19868] Jenkins windows service terminates unexpectedly

          umer qureshi created issue -

          Paul Bußmann added a comment -
          • Test with big project (1 924 files, 340 folders, 56MB) fails after getting files. (Crashes with Exception code 0xc0000374 heap corruption)
          • Test with small project (69 files, 25 folders, 1MB) passes getting files.
          • Increasing heap in C:\Program Files (x86)\Jenkins\jenkins.xml to e.g. "-Xmx1024m" is unfortunately too much limited (does not work-around my issue). Reason: Jenkins runs with 32 bit JRE, only.
          • Trying to run with 64 bit JRE fails with "C:\Program Files (x86)\Jenkins\plugins\vss\WEB-INF\lib\com4j.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform".
            -> Cause to heap corruption still unclear and cannot be worked-around. Please help.

          Paul Bußmann added a comment - Test with big project (1 924 files, 340 folders, 56MB) fails after getting files. (Crashes with Exception code 0xc0000374 heap corruption) Test with small project (69 files, 25 folders, 1MB) passes getting files. Increasing heap in C:\Program Files (x86)\Jenkins\jenkins.xml to e.g. "-Xmx1024m" is unfortunately too much limited (does not work-around my issue). Reason: Jenkins runs with 32 bit JRE, only. Trying to run with 64 bit JRE fails with "C:\Program Files (x86)\Jenkins\plugins\vss\WEB-INF\lib\com4j.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform". -> Cause to heap corruption still unclear and cannot be worked-around. Please help.
          Gregory Boissinot made changes -
          Component/s Original: msbuild [ 15559 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 151389 ] New: JNJira + In-Review [ 177942 ]
          Oleg Nenashev made changes -
          Component/s New: windows-slave-installer-module [ 21834 ]
          Component/s Original: vss-plugin [ 15587 ]

          Oleg Nenashev added a comment -

          Fixed the component though I am not sure I can diagnose it with available info
          paulbussmann reports that something it not running on 64bit, because the code somehow determines amd64 as Itanium machine. Not sure what to do there

          Oleg Nenashev added a comment - Fixed the component though I am not sure I can diagnose it with available info paulbussmann reports that something it not running on 64bit, because the code somehow determines amd64 as Itanium machine. Not sure what to do there
          Oleg Nenashev made changes -
          Component/s New: vss-plugin [ 15587 ]
          Ajay Kumar made changes -
          Attachment New: Jenkins-Service-Error-Eventlog.xml [ 39322 ]

          Ajay Kumar added a comment - - edited

          I am too experiencing this problem. Please find the windows event log details attached.

          Jenkins ver. 2.60.2
          Windows slave, version 3.2
          Java memory used: 51 Mb / 1,365 Mb
           

          OS:  Windows 10, , amd64/64 (8 cores)
          Java: Java(TM) SE Runtime Environment, 1.8.0_144-b01
          JVM: Java HotSpot(TM) 64-Bit Server VM, 25.144-b01, mixed mode
          PID of process: 10624
          Start: 8/16/17 4:49 AM
          JVM arguments: -Xrs
          -Xmx1536m
          Memory: Non heap memory = 40 Mb (Perm Gen, Code Cache),
          Buffered memory = 0 Mb,
          Loaded classes = 3,924,
          Garbage collection time = 15,870 ms,
          Process cpu time = 3,365,171 ms,
          Committed virtual memory = 934 Mb,
          Free physical memory = 25,554 Mb,
          Total physical memory = 32,767 Mb,
          Free swap space = 31,579 Mb,
          Total swap space = 37,631 Mb
          Free disk space: 14,490 Mb

          Let me know if you need any more details.

          Ajay Kumar added a comment - - edited I am too experiencing this problem. Please find the windows event log details attached. Jenkins ver. 2.60.2 Windows slave, version 3.2 Java memory used: 51 Mb / 1,365 Mb   OS:  Windows 10, , amd64/64 (8 cores) Java: Java(TM) SE Runtime Environment, 1.8.0_144-b01 JVM: Java HotSpot(TM) 64-Bit Server VM, 25.144-b01, mixed mode PID of process: 10624 Start: 8/16/17 4:49 AM JVM arguments: -Xrs -Xmx1536m Memory: Non heap memory = 40 Mb (Perm Gen, Code Cache), Buffered memory = 0 Mb, Loaded classes = 3,924, Garbage collection time = 15,870 ms, Process cpu time = 3,365,171 ms, Committed virtual memory = 934 Mb, Free physical memory = 25,554 Mb, Total physical memory = 32,767 Mb, Free swap space = 31,579 Mb, Total swap space = 37,631 Mb Free disk space: 14,490 Mb Let me know if you need any more details.

          Oleg Nenashev added a comment -

          ajaydwarkanifor such error there should also be a crashdump somewhere

          Oleg Nenashev added a comment - ajaydwarkani for such error there should also be a crashdump somewhere

            kdsweeney kdsweeney
            umer_qureshi umer qureshi
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: