Repository navigation
Replace watcher threads with panic handlers - #10572
Conversation
10e2d69 to
1d8072c
Compare
|
This change looks fine, but we probably want a more comprehensive story about error handling at some point. Reviewed 1 of 1 files at r1. components/util/thread.rs, line 64 [r1] (raw file): Comments from Reviewable |
|
Review status: all files reviewed at latest revision, 1 unresolved discussion. components/util/thread.rs, line 64 [r1] (raw file): Comments from Reviewable |
|
Review status: all files reviewed at latest revision, 1 unresolved discussion. components/util/thread.rs, line 64 [r1] (raw file): Comments from Reviewable |
1d8072c to
cbb265e
Compare
|
Review status: 0 of 1 files reviewed at latest revision, 2 unresolved discussions. components/util/thread.rs, line 92 [r2] (raw file): Comments from Reviewable |
|
Reviewed 1 of 1 files at r2. Comments from Reviewable |
cbb265e to
594a67f
Compare
|
@bors-servo r+ |
|
📌 Commit 594a67f has been approved by |
…effrey Replace watcher threads with panic handlers <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10572) <!-- Reviewable:end -->
|
💔 Test failed - mac-rel-wpt |
|
|
@bors-servo retry
|
|
⚡ Previous build results for android, arm32, arm64, linux-dev, mac-dev-unit, mac-rel-css are reusable. Rebuilding only linux-rel, mac-rel-wpt... |
b306581 to
da2f044
Compare
|
Moved to panicking.rs. r? |
|
Reviewed 5 of 5 files at r6. components/servo/main.rs, line 55 [r6] (raw file): components/util/panicking.rs, line 27 [r6] (raw file): components/util/thread.rs, line 85 [r6] (raw file): ports/gonk/src/main.rs, line 65 [r6] (raw file): Comments from Reviewable |
|
Review status: all files reviewed at latest revision, 5 unresolved discussions, some commit checks failed. components/servo/main.rs, line 55 [r6] (raw file): components/util/panicking.rs, line 27 [r6] (raw file): components/util/thread.rs, line 85 [r6] (raw file): Comments from Reviewable |
|
Review status: all files reviewed at latest revision, 5 unresolved discussions, some commit checks failed. components/servo/main.rs, line 55 [r6] (raw file): components/util/thread.rs, line 85 [r6] (raw file): Comments from Reviewable |
|
☔ The latest upstream changes (presumably #10589) made this pull request unmergeable. Please resolve the merge conflicts. |
da2f044 to
f02fd63
Compare
|
OK, we're agreed (in IRC) that in the long term, the call to initialize the panic hook will be replaced by having the constellation panic handler printing the backtrace. So this can go through as-is. |
|
@bors-servo r+ |
|
📌 Commit f02fd63 has been approved by |
…effrey Replace watcher threads with panic handlers <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10572) <!-- Reviewable:end -->
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt |
Dedicated panic channel Added a dedicated panic channel, and removed the panic messages for the script and layout threads. This is needed so that other threads can report panics, which is part of #10334. Note that this PR includes the commit from #10572, so should land after it lands. r? @Manishearth <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10641) <!-- Reviewable:end -->
Dedicated panic channel Added a dedicated panic channel, and removed the panic messages for the script and layout threads. This is needed so that other threads can report panics, which is part of #10334. Note that this PR includes the commit from #10572, so should land after it lands. r? @Manishearth <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10641) <!-- Reviewable:end -->
This change is