• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • OS: Windows 7 Professional x86 or Windows 2003 Server SP2
      Java: jdk1.6.0 x86

      Simulation:

      1. Create a job called "TESTE" with the Windows command: notepad.exe
      2. Start your job "TESTE", check that Notepad is started (dont close).
      3. Cancel the build of the job "TESTE" and see that Notepad is still open.
      4. Check the stacktrace on the server console, as attached file.

      Problem:
      When you cancel a build, the process that started don't closes.

      Workaround:
      1. Copy the file "WEB-INF\lib\winp.dll" to the directory "C:\Windows\system32" and restart the server.

      PS: ProcessTreeKiller is enabled.

          [JENKINS-8841] ProcessTreeKiller error loading winp.dll

          evernat added a comment -

          according to the following page, you need to use the system property: "-Dhudson.util.ProcessTree.disable=true" (or "-Dhudson.util.ProcessTreeKiller.disable=true").

          See https://wiki.jenkins-ci.org/display/JENKINS/ProcessTreeKiller

          Is it still an issue for you?

          evernat added a comment - according to the following page, you need to use the system property: "-Dhudson.util.ProcessTree.disable=true" (or "-Dhudson.util.ProcessTreeKiller.disable=true"). See https://wiki.jenkins-ci.org/display/JENKINS/ProcessTreeKiller Is it still an issue for you?

          Yes, its still a issue for me.

          PS: ProcessTreeKiller is enabled.

          The problem is with that the JNI library isn't loading.

          Leonardo Zanivan added a comment - Yes, its still a issue for me. PS: ProcessTreeKiller is enabled. The problem is with that the JNI library isn't loading.

          Oleg Nenashev added a comment -

          JENKINS-20913 should resolve the issue.
          The DLL loading seems seems to be stable since hudson.remoting 2.35

          Oleg Nenashev added a comment - JENKINS-20913 should resolve the issue. The DLL loading seems seems to be stable since hudson.remoting 2.35

          Daniel Beck added a comment -

          Agreed, let's consider this a duplicate of JENKINS-8841 for now and wait for reports disputing that on 1.558.

          Daniel Beck added a comment - Agreed, let's consider this a duplicate of JENKINS-8841 for now and wait for reports disputing that on 1.558.

            Unassigned Unassigned
            panga Leonardo Zanivan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: