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

runtime/execstack/TestCheckJDK.java fails with zipped debug symbols

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b21
    • OS:
      linux

      Backports

        Description

        Reproduce:
         1. configure --with-native-debug-symbols=zipped ...
         2. run runtime/execstack/TestCheckJDK.java


        ```
        STDOUT:
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jdb.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jshell.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/rmiregistry.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jhsdb.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jar.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jarsigner.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/javadoc.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jdeprscan.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jmap.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jconsole.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/javap.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jdeps.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/javac.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jfr.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jstack.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/keytool.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jcmd.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jstat.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/java.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jinfo.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jstatd.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/serialver.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jrunscript.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jmod.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jimage.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jlink.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jpackage.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jwebserver.diz
        Library does not have the noexecstack bit set: /home/jdk/build/linux-x86_64-server-release/images/jdk/bin/jps.diz
        STDERR:
        java.lang.RuntimeException: The tested VM contains libs that don't have the noexecstack bit set. They must be linked with -z,noexecstack.: expected true, was false
                at jdk.test.lib.Asserts.fail(Asserts.java:594)
                at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
                at TestCheckJDK.main(TestCheckJDK.java:64)
                at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
                at java.base/java.lang.reflect.Method.invoke(Method.java:578)
                at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
                at java.base/java.lang.Thread.run(Thread.java:828)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: The tested VM contains libs that don't have the noexecstack bit set. They must be linked with -z,noexecstack.: expected true, was false
        JavaTest Message: shutting down test
        ```

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jiefu Jie Fu
                Reporter:
                jiefu Jie Fu
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: