-
Bug
-
Resolution: Fixed
-
P4
-
11, 17, 19
-
b21
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8286902 | 18u-cpu | Jie Fu | P4 | Resolved | Fixed | master |
JDK-8286793 | 18.0.2 | Jie Fu | P4 | Resolved | Fixed | b07 |
JDK-8286403 | 17.0.4 | Jie Fu | P4 | Resolved | Fixed | b02 |
JDK-8286649 | 11.0.16 | Jie Fu | P4 | Resolved | Fixed | b03 |
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
```
- backported by
-
JDK-8286403 runtime/execstack/TestCheckJDK.java fails with zipped debug symbols
- Resolved
-
JDK-8286649 runtime/execstack/TestCheckJDK.java fails with zipped debug symbols
- Resolved
-
JDK-8286793 runtime/execstack/TestCheckJDK.java fails with zipped debug symbols
- Resolved
-
JDK-8286902 runtime/execstack/TestCheckJDK.java fails with zipped debug symbols
- Resolved
- relates to
-
JDK-8187045 [linux] Not all libraries in the VM are linked with -z noexecstack
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/fa379356
-
Commit openjdk/jdk17u-dev/523a4c41
-
Commit openjdk/jdk18u/9d0d8ea1
-
Commit openjdk/jdk/c4f7a850
-
Review openjdk/jdk11u-dev/1080
-
Review openjdk/jdk17u-dev/388
-
Review openjdk/jdk18u/127
-
Review openjdk/jdk/8451