Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8057030

Some JDK/JRE binaries are missing secure runtime flags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 8u25
    • tools
    • None
    • x86
    • windows_7

      1. Install JDK8u25
      2. Run dumpbin.exe command to get all the exe and dll files under JDK install folder.
      such as:
      dumpbin.exe /HEADERS "C:/Program FIles/jdk1.8.0_25/bin/jvisualvm.exe" | grep NX
      dumpbin.exe /HEADERS "C:/Program FIles/jdk1.8.0_25/bin/jvisualvm.exe" | grep Dynamic
      dumpbin.exe /loadconfig "C:/Program FIles/jdk1.8.0_25/bin/jvisualvm.exe" | grep "Safe Exception Handler"

      Expected:
      The output should contain above strings
      Actual:
      Some files do not contain all the strings

      Test Results:
      http://sc11152645.us.oracle.com:8080/results/Evergreen/autodev/20140902/Standalone_install_install_2014_09_01_18_29_30/Administrator.Windows_7.x86/JDK006-005/JDK006-005.log

      From the test results, the following files do not contain all expected strings.
      [2014-09-01T18:10:36.37] JDK_PATH:C:/Program Files (x86)/Java/jdk1.8.0_25
      [2014-09-01T18:10:38.57] Checking secure flags of exe files.
      [2014-09-01T18:10:51.62] Safe Exception Handler verification failed for ./jdk1.8.0_25/bin/jvisualvm.exe.
      [2014-09-01T18:11:08.02] NXCompat verification failed for ./jdk1.8.0_25/lib/visualvm/platform/lib/nbexec.exe.
      [2014-09-01T18:11:08.12] Dynamic base verification failed for ./jdk1.8.0_25/lib/visualvm/platform/lib/nbexec.exe.
      [2014-09-01T18:11:08.27] Safe Exception Handler verification failed for ./jdk1.8.0_25/lib/visualvm/platform/lib/nbexec.exe.
      [2014-09-01T18:11:08.37] NXCompat verification failed for ./jdk1.8.0_25/lib/visualvm/platform/lib/nbexec64.exe.
      [2014-09-01T18:11:08.46] Dynamic base verification failed for ./jdk1.8.0_25/lib/visualvm/platform/lib/nbexec64.exe.
      [2014-09-01T18:11:16.45] Checking secure flags of dll files.
      [2014-09-01T18:11:36.24] Safe Exception Handler verification failed for ./jdk1.8.0_25/jre/bin/sawindbg.dll.
      [2014-09-01T18:11:43.74] Safe Exception Handler verification failed for ./jdk1.8.0_25/lib/visualvm/platform/lib/nbexec.dll.
      [2014-09-01T18:11:43.91] NXCompat verification failed for ./jdk1.8.0_25/lib/visualvm/platform/lib/nbexec64.dll.
      [2014-09-01T18:11:44.01] Dynamic base verification failed for ./jdk1.8.0_25/lib/visualvm/platform/lib/nbexec64.dll.
      [2014-09-01T18:11:44.29] NXCompat verification failed for ./jdk1.8.0_25/lib/visualvm/profiler/lib/deployed/jdk15/windows/profilerinterface.dll.
      [2014-09-01T18:11:44.38] Dynamic base verification failed for ./jdk1.8.0_25/lib/visualvm/profiler/lib/deployed/jdk15/windows/profilerinterface.dll.
      [2014-09-01T18:11:44.55] Safe Exception Handler verification failed for ./jdk1.8.0_25/lib/visualvm/profiler/lib/deployed/jdk15/windows/profilerinterface.dll.

            thurka Tomáš Hůrka
            michaelw Michael Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: