Deadlock using Windows native calls

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: core
    • Environment:
      Jenkins 1.480.1 LTS
      Slave running Windows 7x64 & Sun JDK 1.6.0_23
      Master on Windows 2008R2.

      My build locked up whilst calling hudson.Util.deleteContentsRecursive

      deleteContentsRecursive calls hudson.util.jna.Kernel32Utils.isJunctionOrSymlink
      isJunctionOrSymlink uses hudson.util.jna.Kernel32
      Kernel32 uses com.sun.jna.Native
      Native deadlocked at Native.java:122 in Native.<clinit> calling initIDs (Native method).

      In another thread, hudson.node_monitors.SwapSpaceMonitor$MonitorTask.call was calling org.jvnet.hudson.Windows.monitor which then used com.sun.jna.Structure
      Structure deadlocked at Structure.java:134 in Structure.<clinit>

            Assignee:
            Unassigned
            Reporter:
            pjdarton
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: