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
called Result::unwrap()
on an Err
value: RecvError
#17072
Comments
I couldn't reproduce in a debug build, but a release build in a debugger got me this:
|
I strongly suspect this code. |
Confirmed:
|
cc @mrobinson |
Same error as #17176. |
Sorry for the delay. I'll try to take a look at this in the next couple days. |
Sometimes inline have block children which are not in inline blocks or inline absolutes. It's unclear to me how this situation happens, but we can handle it anyway. Fixes servo#17072.
Okay. It took me longer to get to this than I expected. I was able to make a fix, but not to reduced test case. I'm still entirely sure why blocks are children of inline elements (without being inline blocks or inline absolutes). |
Perhaps one of you would be willing to confirm that the change fixes the issue for you? I believe that it does for me, but I'm also seeing a strange deadlock on reddit. |
@mrobinson - checking |
@mrobinson - still repros for me using your branch |
Assign stacking context and clip ids to all block children of inlines Sometimes inline have block children which are not in inline blocks or inline absolutes. It's unclear to me how this situation happens, but we can handle it anyway. Fixes #17072. <!-- Please describe your changes on the following line: --> --- <!-- 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 #17072 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because I have not been able to reduce the failure. <!-- 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/17622) <!-- Reviewable:end -->
@jonathandturner I'm wondering if this is two different bugs then. I'm not able to reproduce the issue with |
@mrobinson - this is what I see with your patch (on macOS), following the repro steps for polygon.com:
|
Before we did not properly descend intro truncated fragments when collecting stacking contexts. This change makes sure that we descend properly Fixes servo#18254. Fixes servo#17072.
Before we did not properly descend intro truncated fragments when collecting stacking contexts. This change makes sure that we descend properly Fixes servo#18254. Fixes servo#17072.
…collection, r=emilio Properly handle stacking context collection for truncated fragments Before we did not properly descend intro truncated fragments when collecting stacking contexts. This change makes sure that we descend properly Fixes #18254. Fixes #17072. <!-- Please describe your changes on the following line: --> --- <!-- 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 #18254, #17072 (github issue number if applicable). <!-- Either: --> - [x] 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/18510) <!-- Reviewable:end -->
Before we did not properly descend intro truncated fragments when collecting stacking contexts. This change makes sure that we descend properly Fixes servo#18254. Fixes servo#17072.
…collection, r=emilio Properly handle stacking context collection for truncated fragments Before we did not properly descend intro truncated fragments when collecting stacking contexts. This change makes sure that we descend properly Fixes #18254. Fixes #17072. <!-- Please describe your changes on the following line: --> --- <!-- 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 #18254, #17072 (github issue number if applicable). <!-- Either: --> - [x] 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/18510) <!-- Reviewable:end -->
…collection, r=emilio Properly handle stacking context collection for truncated fragments Before we did not properly descend intro truncated fragments when collecting stacking contexts. This change makes sure that we descend properly Fixes #18254. Fixes #17072. <!-- Please describe your changes on the following line: --> --- <!-- 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 #18254, #17072 (github issue number if applicable). <!-- Either: --> - [x] 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/18510) <!-- Reviewable:end -->
Before we did not properly descend intro truncated fragments when collecting stacking contexts. This change makes sure that we descend properly Fixes servo#18254. Fixes servo#17072.
This occurred when opening reddit.com, resizing the right hand side, and then moving my mouse to click on a link.
called
Result::unwrap()
on anErr
value: RecvErrorURL:
about:failure
Servo Version:
Servo 0.0.1-4ec2e8b-dirty
Backtrace:
This report was generated by the browser.html issue reporter.
The text was updated successfully, but these errors were encountered: