Skip to content

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

Merged
bors-servo merged 1 commit intoservo:masterfrom
jdm:panic-at-the-signal
Jan 31, 2020
Merged

Try to avoid panicking during I/O in the signal and panic handlers.#25662
bors-servo merged 1 commit intoservo:masterfrom
jdm:panic-at-the-signal

Conversation

@jdm
Copy link
Copy Markdown
Member

@jdm 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.


@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jan 31, 2020
@jdm
Copy link
Copy Markdown
Member Author

jdm commented Jan 31, 2020

r? @SimonSapin

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

@bors-servo r+

@bors-servo
Copy link
Copy Markdown
Contributor

📌 Commit 8fdec5b has been approved by SimonSapin

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jan 31, 2020
@bors-servo
Copy link
Copy Markdown
Contributor

⌛ Testing commit 8fdec5b with merge 05b3af0...

bors-servo pushed 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
Copy Markdown
Contributor

💔 Test failed - status-taskcluster

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Jan 31, 2020
@CYBAI
Copy link
Copy Markdown
Member

CYBAI commented Jan 31, 2020

@bors-servo
Copy link
Copy Markdown
Contributor

⌛ Testing commit 8fdec5b with merge 4a61980...

bors-servo pushed 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. -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Jan 31, 2020
@bors-servo
Copy link
Copy Markdown
Contributor

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

@bors-servo bors-servo merged commit 8fdec5b into servo:master Jan 31, 2020
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jan 31, 2020
@CYBAI
Copy link
Copy Markdown
Member

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
Copy Markdown
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Frequent intermittent timeouts in macOS WPT tests

6 participants