Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8273135: java/awt/color/ICC_ColorSpace/ crashes in liblcms.dylib with NULLSeek+0x7 #5436

wants to merge 1 commit into from


Copy link

@mrserb mrserb commented Sep 9, 2021

This bug was found by the test added by the #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

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).


  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed


  • JDK-8273135: java/awt/color/ICC_ColorSpace/ crashes in liblcms.dylib with NULLSeek+0x7



Using git

Checkout this PR locally:
$ git fetch pull/5436/head:pull/5436
$ git checkout pull/5436

Update a local copy of the PR:
$ git checkout pull/5436
$ git pull pull/5436/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 5436

View PR using the GUI difftool:
$ git pr show -t 5436

Using diff file

Download this PR as a diff file:

Copy link

@bridgekeeper bridgekeeper bot commented Sep 9, 2021

👋 Welcome back serb! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

Copy link

@openjdk openjdk bot commented Sep 9, 2021

@mrserb The following labels will be automatically applied to this pull request:

  • 2d
  • awt

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added 2d awt labels Sep 9, 2021
Copy link
Member Author

@mrserb mrserb commented Sep 9, 2021

/label remove awt

@openjdk openjdk bot removed the awt label Sep 9, 2021
Copy link

@openjdk openjdk bot commented Sep 9, 2021

The awt label was successfully removed.

@mrserb mrserb marked this pull request as ready for review Sep 9, 2021
@openjdk openjdk bot added the rfr label Sep 9, 2021
Copy link

@mlbridge mlbridge bot commented Sep 9, 2021


Copy link

@openjdk openjdk bot commented Sep 13, 2021

@mrserb This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file for details.

After integration, the commit message for the final commit will be:

8273135: java/awt/color/ICC_ColorSpace/ crashes in liblcms.dylib with NULLSeek+0x7

Reviewed-by: aivanov, azvegint

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 50 new commits pushed to the master branch:

  • 7c26ddb: 8195809: [TESTBUG] jps and jcmd -l support for containers is not tested
  • 4cfa230: 8273259: Character.getName doesn't follow Unicode spec for ideographs
  • f9b2507: 8271834: TestStringDeduplicationAgeThreshold intermittent failures on Shenandoah
  • 261cb44: 8273629: compiler/uncommontrap/ fails with release VMs
  • b0d0497: 8273584: TypeElement.getSuperclass crashes for a record TypeElement when j.l.Record is not available
  • 4efcd20: 8273478: [macos11] JTabbedPane selected and pressed tab is not legible
  • a73c06d: 8273021: C2: Improve Add and Xor ideal optimizations
  • 9f86082: 8273610: LogTestFixture::restore_config() should not restore options
  • 2ee1f96: 8273484: Cleanup unnecessary null comparison before instanceof check in java.naming
  • f189dff: 8273595: tools/jpackage tests do not work on apt-based Linux distros like Debian
  • ... and 40 more:

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added the ready label Sep 13, 2021
Copy link
Member Author

@mrserb mrserb commented Sep 15, 2021


Copy link

@openjdk openjdk bot commented Sep 15, 2021

Going to push as commit 1017a2c.
Since your change was applied there have been 75 commits pushed to the master branch:

  • 6cf70f5: 8273638: javax/swing/JTable/4235420/ fails in GTK L&F
  • e66bf47: 8273414: ResourceObj::operator delete should handle nullptr in debug builds
  • 16c3ad1: 8272574: C2: assert(false) failed: Bad graph detected in build_loop_late
  • e7ab372: 8273641: (bf) Buffer subclasses documentation contains template strings
  • 22a7191: 8273040: Turning off JpAllowDowngrades (or Upgrades)
  • 394ebc8: 8270553: Tests should not use (real, in-use, routable) as dummy IP value
  • 0f31d0f: 8273373: Zero: Cannot invoke JVM in primordial threads on Zero
  • fe89dd3: 8271254: javac generates unreachable code when using empty semicolon statement
  • 8974b95: 8273730: WorkGangBarrierSync constructor unused
  • 1d3eb14: 8273635: Attempting to acquire lock StackWatermark_lock/9 out of order with lock tty_lock/3
  • ... and 65 more:

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot closed this Sep 15, 2021
@openjdk openjdk bot added integrated and removed ready rfr labels Sep 15, 2021
Copy link

@openjdk openjdk bot commented Sep 15, 2021

@mrserb Pushed as commit 1017a2c.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2d integrated
3 participants