RFR: 8273135: java/awt/color/ICC_ColorSpace/MTTransformReplacedProfile.java crashes in liblcms.dylib with NULLSeek+0x7
Sergey Bylokhov
serb at openjdk.java.net
Thu Sep 9 09:23:19 UTC 2021
This bug was found by the test added by the https://github.com/openjdk/jdk/pull/5042. The crash is rarely reproduced, and in the default testrun, I was not able to crash it even once. But I have found that if the 1000 tests are executed in parallel a few crashes(less than 10) usually happen.
After the code inspection, I have found and report the problem to the [LCMS upstream](https://bugs.openjdk.java.net/browse/JDK-8273135?focusedCommentId=14445750&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14445750)
In this PR, I would like to cherry-pick the fix from the upstream and apply it to the JDK. So we prevent the crash and will have an opportunity to find some other issues if any (two crashes were found by this test already).
-------------
Commit messages:
- fix for JDK-8273135
Changes: https://git.openjdk.java.net/jdk/pull/5436/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5436&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8273135
Stats: 3 lines in 2 files changed: 1 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/5436.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5436/head:pull/5436
PR: https://git.openjdk.java.net/jdk/pull/5436
More information about the client-libs-dev
mailing list