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

8325567: jspawnhelper without args fails with segfault #2339

Closed
wants to merge 3 commits into from

Conversation

elifaslan1
Copy link
Contributor

@elifaslan1 elifaslan1 commented Mar 27, 2024

Clean backport to address the segmentation fault issue that occurs when jspawnhelper is called without arguments


Progress

  • Change must not contain extraneous whitespace
  • JDK-8325567 needs maintainer approval
  • Commit message must refer to an issue

Issue

  • JDK-8325567: jspawnhelper without args fails with segfault (Bug - P4 - Approved)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/2339/head:pull/2339
$ git checkout pull/2339

Update a local copy of the PR:
$ git checkout pull/2339
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/2339/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 2339

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/2339.diff

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Mar 27, 2024

👋 Welcome back elifaslan1! 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
Copy link

openjdk bot commented Mar 27, 2024

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

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

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

8325567: jspawnhelper without args fails with segfault

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 7 new commits pushed to the master branch:

  • a86a221: 8329995: Restricted access to /proc can cause JFR initialization to crash
  • 28aa19e: 8316328: Test jdk/jfr/event/oldobject/TestSanityDefault.java times out for some heap sizes
  • 9aa7b2f: 8279337: The MToolkit is still referenced in a few places
  • 2db1501: 8323801: tag doesn't strikethrough the text
  • 5377458: 8005885: enhance PrintCodeCache to print more data
  • d23f4d6: 8282526: Default icon is not painted properly
  • d117806: 8279068: IGV: Update to work with JDK 16 and 17

Please see this link for an up-to-date comparison between the source branch of this pull request and the master branch.
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.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot changed the title Backport 262747094670b00ac63463a059074afa9b81d8a4 8325567: jspawnhelper without args fails with segfault Mar 27, 2024
@openjdk
Copy link

openjdk bot commented Mar 27, 2024

This backport pull request has now been updated with issue from the original commit.

@openjdk
Copy link

openjdk bot commented Mar 27, 2024

⚠️ @elifaslan1 This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@openjdk openjdk bot added the rfr Pull request is ready for review label Mar 27, 2024
@mlbridge
Copy link

mlbridge bot commented Mar 27, 2024

Webrevs

@bridgekeeper
Copy link

bridgekeeper bot commented Apr 24, 2024

@elifaslan1 This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@elifaslan1
Copy link
Contributor Author

The test does not work reliably, because JDK-8233725 bugfix is missing. I'll look into backporting that one first.

@elifaslan1
Copy link
Contributor Author

Here is the backport PR: #2456

@elifaslan1
Copy link
Contributor Author

Regarding backport has been pushed and testing completed

@elifaslan1
Copy link
Contributor Author

/approval request Clean backport to address the segmentation fault issue that occurs when jspawnhelper is called without arguments. There is a new test added to verify the behavior in such cases.New regression test fails without the fix, and passes with the change.

@openjdk
Copy link

openjdk bot commented Jun 6, 2024

@elifaslan1
8325567: The approval request has been created successfully.

@openjdk openjdk bot added the approval label Jun 6, 2024
@openjdk
Copy link

openjdk bot commented Jun 6, 2024

⚠️ @elifaslan1 the full name on your profile does not match the author name in this pull requests' HEAD commit. If this pull request gets integrated then the author name from this pull requests' HEAD commit will be used for the resulting commit. If you wish to push a new commit with a different author name, then please run the following commands in a local repository of your personal fork:

$ git checkout JDK-8325567
$ git commit --author='Preferred Full Name <you@example.com>' --allow-empty -m 'Update full name'
$ git push

@openjdk openjdk bot added ready Pull request is ready to be integrated and removed approval labels Jun 6, 2024
@elifaslan1
Copy link
Contributor Author

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Jun 6, 2024
@openjdk
Copy link

openjdk bot commented Jun 6, 2024

@elifaslan1
Your change (at version beaac6f) is now ready to be sponsored by a Committer.

@shipilev
Copy link
Member

shipilev commented Jun 6, 2024

/sponsor

@openjdk
Copy link

openjdk bot commented Jun 6, 2024

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

  • a86a221: 8329995: Restricted access to /proc can cause JFR initialization to crash
  • 28aa19e: 8316328: Test jdk/jfr/event/oldobject/TestSanityDefault.java times out for some heap sizes
  • 9aa7b2f: 8279337: The MToolkit is still referenced in a few places
  • 2db1501: 8323801: tag doesn't strikethrough the text
  • 5377458: 8005885: enhance PrintCodeCache to print more data
  • d23f4d6: 8282526: Default icon is not painted properly
  • d117806: 8279068: IGV: Update to work with JDK 16 and 17

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Jun 6, 2024
@openjdk openjdk bot closed this Jun 6, 2024
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review sponsor Pull request is ready to be sponsored labels Jun 6, 2024
@openjdk
Copy link

openjdk bot commented Jun 6, 2024

@shipilev @elifaslan1 Pushed as commit af699ff.

💡 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
Labels
backport clean integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

2 participants