• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • other
    • None
    • Platform: PC, OS: Windows XP

      After an automatic upgrade from 1.282 to 1.283 builds started failing with:

      FATAL: C:\Program Files (x86)\Hudson\data\war\WEB-INF\lib\winp.dll: Can't load
      IA 32-bit .dll on a AMD 64-bit platform
      java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Hudson\data\war\WEB-INF
      \lib\winp.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
      at java.lang.ClassLoader$NativeLibrary.load(Native Method)
      at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
      at java.lang.Runtime.load0(Runtime.java:770)
      at java.lang.System.load(System.java:1005)
      at org.jvnet.winp.Native.loadDll(Native.java:124)
      at org.jvnet.winp.Native.load(Native.java:81)
      at org.jvnet.winp.Native.<clinit>(Native.java:49)
      at org.jvnet.winp.WinProcess.enableDebugPrivilege(WinProcess.java:195)
      at hudson.util.ProcessTreeKiller$Windows.<clinit>
      (ProcessTreeKiller.java:207)
      at hudson.util.ProcessTreeKiller.get(ProcessTreeKiller.java:132)
      at hudson.Launcher$LocalLauncher.kill(Launcher.java:361)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:273)
      at hudson.model.Run.run(Run.java:866)
      at hudson.model.Build.run(Build.java:112)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:119)

      and after one more restart with:

      FATAL: Could not initialize class hudson.util.ProcessTreeKiller$Windows
      java.lang.NoClassDefFoundError: Could not initialize class
      hudson.util.ProcessTreeKiller$Windows
      at hudson.util.ProcessTreeKiller.get(ProcessTreeKiller.java:132)
      at hudson.Launcher$LocalLauncher.kill(Launcher.java:361)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:273)
      at hudson.model.Run.run(Run.java:866)
      at hudson.model.Build.run(Build.java:112)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:119)

      Maybe a packaging error?

      Cheers,
      Filip

          [JENKINS-3050] 1.283 on WinXP 64bit bad DLL

          The following error happens when executing a Maven Build (but only if the maven
          build runs, the error does not happen when the maven build fails with Bug #2394)

          17.02.2009 08:29:40 hudson.remoting.Channel$ReaderThread run
          SCHWERWIEGEND: Failed to execute command close
          java.lang.NoClassDefFoundError: Could not initialize class
          hudson.util.ProcessTreeKiller$Windows
          at hudson.util.ProcessTreeKiller.get(ProcessTreeKiller.java:91)
          at hudson.Proc$LocalProc.destroy(Proc.java:166)
          at hudson.Proc$LocalProc.kill(Proc.java:158)
          at
          hudson.maven.MavenProcessFactory$1.terminate(MavenProcessFactory.java:187)
          at hudson.remoting.Channel$CloseCommand.execute(Channel.java:554)
          at hudson.remoting.Channel$ReaderThread.run(Channel.java:647)
          17.02.2009 08:29:40 hudson.remoting.Channel$ReaderThread run
          SCHWERWIEGEND: This command is created here
          Command close created at
          at hudson.remoting.Command.<init>(Command.java:24)
          at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:550)
          at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:550)
          at hudson.remoting.Channel.close(Channel.java:594)
          at hudson.remoting.Channel$CloseCommand.execute(Channel.java:553)
          at hudson.remoting.Channel$ReaderThread.run(Channel.java:647)

          I dont get the 64Bit DLL Error.

          Process Explorer shows a Subthread with commandline (Paths shortened and
          anonymonized):
          java -cp "C:\Dokumente und
          Einstellungen\user\.hudson\war\WEB-INF\lib\maven-agent-1.277.jar;C:\maven-2\boot\classworlds-1.1.jar"
          hudson.maven.agent.Main C:\maven-2 "C:\Dokumente und
          Einstellungen\user\.hudson\war\WEB-INF\lib\remoting-1.277.jar" "C:\Dokumente und
          Einstellungen\user\.hudson\war\WEB-INF\lib\maven-interceptor-1.277.jar" 1342

          If the maven run is OK, the Subthread terminates. If the maven build fails with
          Bug #2394 the Subthread stays in Memory.

          OS: Win2000 SP3 32Bit, Hudson 1.277, Maven 2.0.9, Java 1.6.0_12

          Florian Rosenauer added a comment - The following error happens when executing a Maven Build (but only if the maven build runs, the error does not happen when the maven build fails with Bug #2394) 17.02.2009 08:29:40 hudson.remoting.Channel$ReaderThread run SCHWERWIEGEND: Failed to execute command close java.lang.NoClassDefFoundError: Could not initialize class hudson.util.ProcessTreeKiller$Windows at hudson.util.ProcessTreeKiller.get(ProcessTreeKiller.java:91) at hudson.Proc$LocalProc.destroy(Proc.java:166) at hudson.Proc$LocalProc.kill(Proc.java:158) at hudson.maven.MavenProcessFactory$1.terminate(MavenProcessFactory.java:187) at hudson.remoting.Channel$CloseCommand.execute(Channel.java:554) at hudson.remoting.Channel$ReaderThread.run(Channel.java:647) 17.02.2009 08:29:40 hudson.remoting.Channel$ReaderThread run SCHWERWIEGEND: This command is created here Command close created at at hudson.remoting.Command.<init>(Command.java:24) at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:550) at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:550) at hudson.remoting.Channel.close(Channel.java:594) at hudson.remoting.Channel$CloseCommand.execute(Channel.java:553) at hudson.remoting.Channel$ReaderThread.run(Channel.java:647) I dont get the 64Bit DLL Error. Process Explorer shows a Subthread with commandline (Paths shortened and anonymonized): java -cp "C:\Dokumente und Einstellungen\user\.hudson\war\WEB-INF\lib\maven-agent-1.277.jar;C:\maven-2\boot\classworlds-1.1.jar" hudson.maven.agent.Main C:\maven-2 "C:\Dokumente und Einstellungen\user\.hudson\war\WEB-INF\lib\remoting-1.277.jar" "C:\Dokumente und Einstellungen\user\.hudson\war\WEB-INF\lib\maven-interceptor-1.277.jar" 1342 If the maven run is OK, the Subthread terminates. If the maven build fails with Bug #2394 the Subthread stays in Memory. OS: Win2000 SP3 32Bit, Hudson 1.277, Maven 2.0.9, Java 1.6.0_12

          fkonvick added a comment -

          Maybe I did not stress it enough - this happens on Windows XP 64bit. The JVM is
          reported as "java.vm.name=Java HotSpot(TM) 64-Bit Server VM".

          I don't know why Hudson was installed into "C:\Program Files (x86)\Hudson\lib
          \hudson.war" though.

          Anyway, until 1.283 it was all ok.

          fkonvick added a comment - Maybe I did not stress it enough - this happens on Windows XP 64bit. The JVM is reported as "java.vm.name=Java HotSpot(TM) 64-Bit Server VM". I don't know why Hudson was installed into "C:\Program Files (x86)\Hudson\lib \hudson.war" though. Anyway, until 1.283 it was all ok.

          I upgraded to 1.283 too and now also get the following error:

          FATAL: C:\EProg\Tomcat\webapps\hudson\WEB-INF\lib\winp.dll: Die angegebene
          Prozedur wurde nicht gefunden

          java.lang.UnsatisfiedLinkError:
          C:\EProg\Tomcat\webapps\hudson\WEB-INF\lib\winp.dll: Die angegebene Prozedur
          wurde nicht gefunden

          at java.lang.ClassLoader$NativeLibrary.load(Native Method)

          at java.lang.ClassLoader.loadLibrary0(Unknown Source)

          at java.lang.ClassLoader.loadLibrary(Unknown Source)

          at java.lang.Runtime.load0(Unknown Source)

          at java.lang.System.load(Unknown Source)

          at org.jvnet.winp.Native.loadDll(Native.java:124)

          at org.jvnet.winp.Native.load(Native.java:81)

          at org.jvnet.winp.Native.<clinit>(Native.java:49)

          at org.jvnet.winp.WinProcess.enableDebugPrivilege(WinProcess.java:195)

          at hudson.util.ProcessTreeKiller$Windows.<clinit>(ProcessTreeKiller.java:207)

          at hudson.util.ProcessTreeKiller.get(ProcessTreeKiller.java:132)

          at hudson.Launcher$LocalLauncher.kill(Launcher.java:361)

          at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:273)

          at hudson.model.Run.run(Run.java:866)

          at hudson.model.Build.run(Build.java:112)

          at hudson.model.ResourceController.execute(ResourceController.java:93)

          at hudson.model.Executor.run(Executor.java:119)

          Tomcat shows an Windows Dialog Box with message (translated to english):
          the procedure entry point "GetProcessId" was not found in "KERNEL32.DLL".

          Downgrade to 1.282 fixed this bug.

          It seems that the java.lang.NoClassDefFoundError is another Bug, I created #3060
          for this Issue.

          Florian Rosenauer added a comment - I upgraded to 1.283 too and now also get the following error: FATAL: C:\EProg\Tomcat\webapps\hudson\WEB-INF\lib\winp.dll: Die angegebene Prozedur wurde nicht gefunden java.lang.UnsatisfiedLinkError: C:\EProg\Tomcat\webapps\hudson\WEB-INF\lib\winp.dll: Die angegebene Prozedur wurde nicht gefunden at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.load0(Unknown Source) at java.lang.System.load(Unknown Source) at org.jvnet.winp.Native.loadDll(Native.java:124) at org.jvnet.winp.Native.load(Native.java:81) at org.jvnet.winp.Native.<clinit>(Native.java:49) at org.jvnet.winp.WinProcess.enableDebugPrivilege(WinProcess.java:195) at hudson.util.ProcessTreeKiller$Windows.<clinit>(ProcessTreeKiller.java:207) at hudson.util.ProcessTreeKiller.get(ProcessTreeKiller.java:132) at hudson.Launcher$LocalLauncher.kill(Launcher.java:361) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:273) at hudson.model.Run.run(Run.java:866) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Tomcat shows an Windows Dialog Box with message (translated to english): the procedure entry point "GetProcessId" was not found in "KERNEL32.DLL". Downgrade to 1.282 fixed this bug. It seems that the java.lang.NoClassDefFoundError is another Bug, I created #3060 for this Issue.

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/core/pom.xml
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=15395
          Log:
          [FIXED JENKINS-3050 JENKINS-3060]
          picked up a new version of Winp that works with 64bit Windows and Windows 2000.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/pom.xml trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=15395 Log: [FIXED JENKINS-3050 JENKINS-3060] picked up a new version of Winp that works with 64bit Windows and Windows 2000.

          Upgraded my Hudson to 1.284, Problem seems to be fixed using Win2000.

          Florian Rosenauer added a comment - Upgraded my Hudson to 1.284, Problem seems to be fixed using Win2000.

          Just to clarify, are you saying that it still doesn't work on 64bit Windows?

          Kohsuke Kawaguchi added a comment - Just to clarify, are you saying that it still doesn't work on 64bit Windows?

          fkonvick added a comment -

          I tried upgrading from 1.282 to 1.284 on Windows XP 64bit and the problem is
          fixed. Thanks for the fix!

          fkonvick added a comment - I tried upgrading from 1.282 to 1.284 on Windows XP 64bit and the problem is fixed. Thanks for the fix!

          Marked as fixed.

          Kohsuke Kawaguchi added a comment - Marked as fixed.

            kohsuke Kohsuke Kawaguchi
            fkonvick fkonvick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: