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

Debug WR builds panic on shutdown due to Renderer::drop #915

Closed
staktrace opened this issue Feb 22, 2017 · 2 comments
Closed

Debug WR builds panic on shutdown due to Renderer::drop #915

staktrace opened this issue Feb 22, 2017 · 2 comments
Assignees

Comments

@staktrace
Copy link
Contributor

@staktrace staktrace commented Feb 22, 2017

See e.g. https://treeherder.mozilla.org/logviewer.html#?job_id=79439278&repo=try&lineNumber=1723

The drop implementation added to Renderer in #913 tries to call deinit_texture, but that function has a debug assertion that self.inside_frame is true. Which it isn't, when drop() is called.

This blocks updating WR in the graphics branch as all the debug test jobs will crash.

@glennw
Copy link
Member

@glennw glennw commented Feb 22, 2017

cc @kvark

@kvark
Copy link
Member

@kvark kvark commented Feb 22, 2017

oops, that was a last-minute change. Looking now

@kvark kvark self-assigned this Feb 22, 2017
bors-servo added a commit that referenced this issue Feb 22, 2017
Renderer::deinit

Fixes #915

r? @glennw

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/916)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Feb 23, 2017
Refactored input handling in sample & wrench

After missing #915 due to being unable to escape the sample with "Esc", I figured this could be improved ;)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/917)
<!-- Reviewable:end -->
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.

None yet
3 participants
You can’t perform that action at this time.