Skip to content

Comments

Print backtraces for panics, even if the constellation has closed.#12657

Merged
bors-servo merged 1 commit intoservo:masterfrom
asajeffrey:panic-backtrace-println
Aug 11, 2016
Merged

Print backtraces for panics, even if the constellation has closed.#12657
bors-servo merged 1 commit intoservo:masterfrom
asajeffrey:panic-backtrace-println

Conversation

@asajeffrey
Copy link
Contributor

@asajeffrey asajeffrey commented Jul 29, 2016

At the moment, threads rely on the constellation to print out the reason for a panic, so panics that happen after the constellation closes are dropped on the floor. cc @jdm


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix Uncatchable panic with no backtrace #12626
  • These changes do not require tests because they are fixing panic behaviour

This change is Reviewable

@asajeffrey asajeffrey added the I-panic Servo encounters a panic. label Jul 29, 2016
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jul 29, 2016
@bors-servo
Copy link
Contributor

☔ The latest upstream changes (presumably #12733) made this pull request unmergeable. Please resolve the merge conflicts.

@highfive highfive added the S-needs-rebase There are merge conflict errors. label Aug 4, 2016
@asajeffrey asajeffrey force-pushed the panic-backtrace-println branch from 15cea90 to 341b9de Compare August 11, 2016 00:40
@asajeffrey
Copy link
Contributor Author

Rebased.

@asajeffrey
Copy link
Contributor Author

@bors-servo
Copy link
Contributor

📌 Commit 341b9de has been approved by nox

@highfive highfive assigned nox and unassigned Ms2ger Aug 11, 2016
@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. S-needs-rebase There are merge conflict errors. labels Aug 11, 2016
@bors-servo
Copy link
Contributor

⌛ Testing commit 341b9de with merge 3c7de6b...

bors-servo pushed a commit that referenced this pull request Aug 11, 2016
Print backtraces for panics, even if the constellation has closed.

<!-- Please describe your changes on the following line: -->

At the moment, threads rely on the constellation to print out the reason for a panic, so panics that happen after the constellation closes are dropped on the floor. cc @jdm

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12626
- [X] These changes do not require tests because they are fixing panic behaviour

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12657)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows-dev

@bors-servo bors-servo merged commit 341b9de into servo:master Aug 11, 2016
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Aug 11, 2016
@dati91 dati91 mentioned this pull request Sep 1, 2016
5 tasks
bors-servo pushed a commit that referenced this pull request Oct 20, 2016
Fix missing `backtrace` build error on Android

<!-- Please describe your changes on the following line: -->
The missing `backtrace` causes compile errors when building for Android (introduced by #12657). This PR fixes the problem by enabling `backtrace` on Android too.

(This is a fix for #13154)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13855)
<!-- Reviewable:end -->
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Feb 4, 2017
…(from mmatyas:fix_android_backtrace); r=larsbergstrom

<!-- Please describe your changes on the following line: -->
The missing `backtrace` causes compile errors when building for Android (introduced by servo/servo#12657). This PR fixes the problem by enabling `backtrace` on Android too.

(This is a fix for servo/servo#13154)

Source-Repo: https://github.com/servo/servo
Source-Revision: 2c2d340fbcc38e6069a32ef4b19b5dd44f3ca403
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 1, 2019
…(from mmatyas:fix_android_backtrace); r=larsbergstrom

<!-- Please describe your changes on the following line: -->
The missing `backtrace` causes compile errors when building for Android (introduced by servo/servo#12657). This PR fixes the problem by enabling `backtrace` on Android too.

(This is a fix for servo/servo#13154)

Source-Repo: https://github.com/servo/servo
Source-Revision: 2c2d340fbcc38e6069a32ef4b19b5dd44f3ca403

UltraBlame original commit: 4e408d9347661981ee1d52ae0939e036deffae55
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 1, 2019
…(from mmatyas:fix_android_backtrace); r=larsbergstrom

<!-- Please describe your changes on the following line: -->
The missing `backtrace` causes compile errors when building for Android (introduced by servo/servo#12657). This PR fixes the problem by enabling `backtrace` on Android too.

(This is a fix for servo/servo#13154)

Source-Repo: https://github.com/servo/servo
Source-Revision: 2c2d340fbcc38e6069a32ef4b19b5dd44f3ca403

UltraBlame original commit: 4e408d9347661981ee1d52ae0939e036deffae55
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 1, 2019
…(from mmatyas:fix_android_backtrace); r=larsbergstrom

<!-- Please describe your changes on the following line: -->
The missing `backtrace` causes compile errors when building for Android (introduced by servo/servo#12657). This PR fixes the problem by enabling `backtrace` on Android too.

(This is a fix for servo/servo#13154)

Source-Repo: https://github.com/servo/servo
Source-Revision: 2c2d340fbcc38e6069a32ef4b19b5dd44f3ca403

UltraBlame original commit: 4e408d9347661981ee1d52ae0939e036deffae55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

I-panic Servo encounters a panic.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Uncatchable panic with no backtrace

5 participants