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

8279077: JFR crashes on Linux ppc due to missing crash protector in signal handler #729

Closed
wants to merge 1 commit into from
Closed

8279077: JFR crashes on Linux ppc due to missing crash protector in signal handler #729

wants to merge 1 commit into from

Conversation

zhengyu123
Copy link
Contributor

@zhengyu123 zhengyu123 commented Dec 21, 2021

This is a linux_ppc specific bug, probably a day-one bug till relevant code was refactored by JDK-8255711 in 16.

Linux ppc signal handler does not install crash protector as other Linux based platforms do, e.g. linux_x86, that can result a crash while jfr tries to fill stack trace for other thread.


Progress

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

Issue

  • JDK-8279077: JFR crashes on Linux ppc due to missing crash protector in signal handler

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk11u-dev pull/729/head:pull/729
$ git checkout pull/729

Update a local copy of the PR:
$ git checkout pull/729
$ git pull https://git.openjdk.java.net/jdk11u-dev pull/729/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 729

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.java.net/jdk11u-dev/pull/729.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Dec 21, 2021

👋 Welcome back zgu! 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.

@openjdk openjdk bot added the rfr Pull request is ready for review label Dec 21, 2021
@mlbridge
Copy link

mlbridge bot commented Dec 21, 2021

Webrevs

@phohensee
Copy link
Member

Perhaps this should be fixed in JDK 15, then backported? Otherwise the JBS issue history will be a bit confused.

@zhengyu123
Copy link
Contributor Author

Perhaps this should be fixed in JDK 15, then backported? Otherwise the JBS issue history will be a bit confused.

I am not sure about which version it should go to first. I chose JDK 11, since it is the closet TLS. Do we have any guideline on this?

@phohensee
Copy link
Member

The standard process is to fix a problem in the latest release in which it appears, then backport it. So, I'd start with 15.

@zhengyu123
Copy link
Contributor Author

Moved PR to JDK15u.

openjdk/jdk15u-dev#155

@zhengyu123 zhengyu123 closed this Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rfr Pull request is ready for review
Development

Successfully merging this pull request may close these issues.

2 participants