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 upHang monitor stack trace doesn't make sense #22604
Comments
|
cc @gterzian |
|
On the other hand, that may actually be the result of the signal handler that tries to show backtraces of segfaults and other surprising failures: servo/ports/servo/non_android_main.rs Line 53 in f1dd31f |
|
Yep, this is a crash:
|
I'm getting a few permanent hangs(which occur when window is waiting for the result from reflow, I think) servo/components/script/dom/window.rs Line 1432 in 3ebd42c and the sampling doesn't seem to crash in all cases. This is with a build from @jdm do you get this crash each time you visit the page? What options did you pass to |
|
Mmm, I wasn't using a build with the frame pointer enabled. I wonder if that's causing the crash? |
|
I tried a I still can't seem to reproduce the same crash, although I am getting a different one on one occasion:
|
Ok, I reproduced the crash, it happened with a build without the |
Fix frame-pointer stackwalking <!-- Please describe your changes on the following line: --> This seems to fix the problem, it's a check that is also done at https://dxr.mozilla.org/mozilla-central/rev/c2593a3058afdfeaac5c990e18794ee8257afe99/mozglue/misc/StackWalk.cpp#904 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #22604 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- 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. --> <!-- 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/22637) <!-- Reviewable:end -->
Fix frame-pointer stackwalking <!-- Please describe your changes on the following line: --> This seems to fix the problem, it's a check that is also done at https://dxr.mozilla.org/mozilla-central/rev/c2593a3058afdfeaac5c990e18794ee8257afe99/mozglue/misc/StackWalk.cpp#904 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #22604 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- 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. --> <!-- 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/22637) <!-- Reviewable:end -->
I received these backtraces while loading https://newyorktimes.com:
They seem to show backtraces from the hang monitor thread, rather than the hanging thread.