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

Killing processes on Mac OS X/64bit VM does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • core
    • None
    • Platform: Mac OS X; JDK: 64bit VM

      Aborting jobs does not kill an process on slaves running the 64bit VM on Mac OS X. Both JDK 1.5.0 and JDK 1.6.0 versions are affected.

      The reason is that the sysctl implementation in class Darwin and class DarwinProcess does not deal with the offset and structure size differences in a 64bit VM. Additionally the sysctl function seems to fail (at least when called through the LIBC wrapper on 64bit VMs?) if not called in pairs (1. determine the required size, and 2. use that size).

      The attached patch (against revision 35709 in subversion or 532dd1603ca9f67b324a435ad6766ffd41abd253 in git) fixes these problems.

            Unassigned Unassigned
            gck gck
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: