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

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

Merged
merged 1 commit into from Aug 11, 2016

Conversation

@asajeffrey
Copy link
Member

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 #12626
  • These changes do not require tests because they are fixing panic behaviour

This change is Reviewable

@bors-servo
Copy link
Contributor

bors-servo commented Aug 4, 2016

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

@asajeffrey asajeffrey force-pushed the asajeffrey:panic-backtrace-println branch from 15cea90 to 341b9de Aug 11, 2016
@asajeffrey
Copy link
Member Author

asajeffrey commented Aug 11, 2016

Rebased.

@bors-servo
Copy link
Contributor

bors-servo commented Aug 11, 2016

📌 Commit 341b9de has been approved by nox

@bors-servo
Copy link
Contributor

bors-servo commented Aug 11, 2016

Testing commit 341b9de with merge 3c7de6b...

bors-servo added 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

bors-servo commented Aug 11, 2016

@bors-servo bors-servo merged commit 341b9de into servo:master Aug 11, 2016
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@dati91 dati91 mentioned this pull request Sep 1, 2016
5 of 5 tasks complete
bors-servo added 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
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

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