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 upSegfault on exit related to local_data #570
Comments
|
Oh, we store a @ScriptTask in task-local storage, and the ScriptTask dtor calls local_data_pop to avoid a leak. That sounds... problematic... |
|
Pipelines currently never exit for this same reason. See main/constellation.rs |
|
I suggest moving the contents of |
|
I'll work on that. |
|
After deleting the
inside the call to Full traceback:
|
This does not port the existing src/test/html/ref tests to the new framework, as it appears to me that they aren't really reftests in the sense of Gecko's reftest. This new driver uses the Gecko methodology. Currently this will pop a window for each test due to not having a headless driver yet, and #570 means that servo segfaults when it shuts down so we can't check the exit status. There's plenty to improve in the future, but this should get us started.
|
The pipeline exit issue is fixed, but Servo still crashes on exit for reasons that seem to be related to this ticket. |
|
I think this is fixed now. |
Fix filename overrides from losing extension
`.with_extension(".glsl")` ends up nuking `.vs` and `.fs`. Whoops.
<!-- 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/570)
<!-- Reviewable:end -->
If you exit servo by closing the window chrome or by hitting
Esc, it segfaults. Here's a stack trace: