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

Try to avoid panicking during I/O in the signal and panic handlers. #25662

Merged
merged 1 commit into from Jan 31, 2020

Conversation

@jdm
Copy link
Member

jdm commented Jan 31, 2020

A bunch of mac WPT processes are sitting in zombie states where a thread has hit a double panic while printing the backtrace. These changes attempt to prevent this issue by ignoring any I/O failures that occur while printing, instead of panicking.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #25513
  • These changes do not require tests because they address an intermittent edge case
@jdm
Copy link
Member Author

jdm commented Jan 31, 2020

@highfive highfive assigned SimonSapin and unassigned nox Jan 31, 2020
@SimonSapin
Copy link
Member

SimonSapin commented Jan 31, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Jan 31, 2020

📌 Commit 8fdec5b has been approved by SimonSapin

@bors-servo
Copy link
Contributor

bors-servo commented Jan 31, 2020

Testing commit 8fdec5b with merge 05b3af0...

bors-servo added a commit that referenced this pull request Jan 31, 2020
Try to avoid panicking during I/O in the signal and panic handlers.

A bunch of mac WPT processes are sitting in zombie states where a thread has hit a double panic while printing the backtrace. These changes attempt to prevent this issue by ignoring any I/O failures that occur while printing, instead of panicking.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #25513
- [x] These changes do not require tests because they address an intermittent edge case

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Jan 31, 2020

💔 Test failed - status-taskcluster

@CYBAI
Copy link
Collaborator

CYBAI commented Jan 31, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Jan 31, 2020

Testing commit 8fdec5b with merge 4a61980...

bors-servo added a commit that referenced this pull request Jan 31, 2020
Try to avoid panicking during I/O in the signal and panic handlers.

A bunch of mac WPT processes are sitting in zombie states where a thread has hit a double panic while printing the backtrace. These changes attempt to prevent this issue by ignoring any I/O failures that occur while printing, instead of panicking.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #25513
- [x] These changes do not require tests because they address an intermittent edge case

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Jan 31, 2020

☀️ Test successful - status-taskcluster
Approved by: SimonSapin
Pushing 4a61980 to master...

@bors-servo bors-servo merged commit 8fdec5b into servo:master Jan 31, 2020
2 checks passed
2 checks passed
Community-TC (pull_request) TaskGroup: success
Details
homu Test successful
Details
@CYBAI
Copy link
Collaborator

CYBAI commented Jan 31, 2020

oh... sorry... I didn't notice this is meant to fix #25513 and retry it with #25513 ... 😞

@jdm
Copy link
Member Author

jdm commented Jan 31, 2020

No problem; the changes should be an improvement regardless. I think there are multiple problems affecting the mac test results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

6 participants
You can’t perform that action at this time.