Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upIntermittent crash in /css-transforms-1_dev/html/svg-rotate-angle-90-014.htm and /css21_dev/html4/border-right-018.htm and /css-transforms-1_dev/html/transofrmed-rotateY-1.htm #12553
Labels
Comments
Merged
|
|
|
Oh good. Double panic. |
|
IRC chat with @jdm: http://logs.glob.uno/?c=mozilla%23servo&s=27+Jul+2016&e=27+Jul+2016#c489397 TL;DR: mutex.lock() can panic https://doc.rust-lang.org/std/sync/struct.Mutex.html#method.lock, which may be the source of the double panic. Removing the unnecessary mutex should fix the double panic. |
This was referenced Jul 27, 2016
bors-servo
added a commit
that referenced
this issue
Jul 28, 2016
…-mutex, r=<try> Replaced mutex in constellation logging by a reentrant mutex. <!-- Please describe your changes on the following line: --> The double-panic in #12553 may be caused by using a non-reentrant lock, which panics on reetry. This PR adds a reentrant lock type (slightly annoyingly, the implementation in std isn't exported) and uses it for logging. 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 #12619. - [X] These changes do not require tests because they are designed to remove a class of intermittents. <!-- 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/12637) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
Jul 28, 2016
…-mutex, r=<try> Replaced mutex in constellation logging by a reentrant mutex. <!-- Please describe your changes on the following line: --> The double-panic in #12553 may be caused by using a non-reentrant lock, which panics on reetry. This PR adds a reentrant lock type (slightly annoyingly, the implementation in std isn't exported) and uses it for logging. 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 #12619. - [X] These changes do not require tests because they are designed to remove a class of intermittents. <!-- 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/12637) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
Jul 29, 2016
…-mutex, r=emilio Replaced mutex in constellation logging by a reentrant mutex. <!-- Please describe your changes on the following line: --> The double-panic in #12553 may be caused by using a non-reentrant lock, which panics on reetry. This PR adds a reentrant lock type (slightly annoyingly, the implementation in std isn't exported) and uses it for logging. 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 #12619. - [X] These changes do not require tests because they are designed to remove a class of intermittents. <!-- 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/12637) <!-- Reviewable:end -->
|
These tests no longer panic, and this issue doesn't match any tests that we run. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cc @asajeffrey looks like things are out of order during shutdown?