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

Intermittent crash in /_mozilla/mozilla/transitionend_safety.html #26498

Closed
jdm opened this issue May 12, 2020 · 1 comment
Closed

Intermittent crash in /_mozilla/mozilla/transitionend_safety.html #26498

jdm opened this issue May 12, 2020 · 1 comment

Comments

@jdm
Copy link
Member

@jdm jdm commented May 12, 2020

  ▶ CRASH [expected OK] /_mozilla/mozilla/transitionend_safety.html
  │ 
  │ error: XDG_RUNTIME_DIR not set in the environment.
  │ libEGL warning: No hardware driver found, falling back to software rendering
  └ Stack trace for thread "ScriptThread PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(1) }"

cc @mrobinson

This is a bit scary, since it implies that the safety being tested is no longer actually safe.

mrobinson added a commit to mrobinson/servo that referenced this issue May 13, 2020
Make sure nodes removed from map of rooted animating nodes are rooted on
the stack before triggering event handlers. We also make sure not to
call `from_untrusted_node_address` on nodes that aren't guaranteed to be
rooted.

Fixes servo#26498.
@mrobinson
Copy link
Member

@mrobinson mrobinson commented May 13, 2020

It looks like #26464 may have exposed this. ☹️

mrobinson added a commit to mrobinson/servo that referenced this issue May 13, 2020
Make sure nodes removed from map of rooted animating nodes are rooted on
the stack before triggering event handlers. We also make sure not to
call `from_untrusted_node_address` on nodes that aren't guaranteed to be
rooted.

Fixes servo#26498.
bors-servo added a commit that referenced this issue May 13, 2020
Fix an issue with the rooting of animating nodes

Make sure nodes removed from map of rooted animating nodes are rooted on
the stack before triggering event handlers. We also make sure not to
call `from_untrusted_node_address` on nodes that aren't guaranteed to be
rooted.

Fixes #26498.

---
<!-- 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 #26498.
- [x] There are tests for these changes

<!-- 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. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

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