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

Fix various crashes, leaks, and cycles #468

Closed
wants to merge 6 commits into from
Closed

Conversation

@jdm
Copy link
Member

jdm commented May 22, 2013

By the power vested in me through the agency of gdb, massif, and valgrind, here are some changes that fix various crashes that occur when shutting down at arbitrary points, along with some honest-to-goodness shutdown leaks reported by valgrind, and the layout cycles that were causing 1gb/s memory explosions when running test_hammer_layout.html.

@jdm
Copy link
Member Author

jdm commented May 22, 2013

@metajack

This comment has been minimized.

Copy link

metajack commented on c8b10ec May 22, 2013

There's one other use of FcPatternCreate in font_list.rs. Should that get the same treatment?

This comment has been minimized.

Copy link
Owner Author

jdm replied May 22, 2013

That other use is in a place with no early returns, so I didn't bother.

@metajack

This comment has been minimized.

Copy link

metajack commented on src/test/test_hammer_layout.js in 982dd0c May 22, 2013

Was this comment intentional?

This comment has been minimized.

Copy link
Owner Author

jdm replied May 22, 2013

Yes.

@metajack
Copy link
Contributor

metajack commented May 22, 2013

Can you open a bug that the teardown stuff can be removed when we have real GC in Rust?

@jdm
Copy link
Member Author

jdm commented May 22, 2013

Opened #470.

@metajack

This comment has been minimized.

Copy link

metajack commented on 48fbce9 May 22, 2013

r+

@bors-servo

This comment has been minimized.

Copy link
Contributor

bors-servo commented on 48fbce9 May 22, 2013

saw approval from metajack
at jdm@48fbce9

This comment has been minimized.

Copy link
Contributor

bors-servo replied May 22, 2013

merging jdm/servo/investigate = 48fbce9 into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied May 22, 2013

jdm/servo/investigate = 48fbce9 merged ok, testing candidate = 943139b

This comment has been minimized.

This comment has been minimized.

Copy link
Contributor

bors-servo replied May 22, 2013

fast-forwarding master to auto = 943139b

bors-servo pushed a commit that referenced this pull request May 22, 2013
By the power vested in me through the agency of gdb, massif, and valgrind, here are some changes that fix various crashes that occur when shutting down at arbitrary points, along with some honest-to-goodness shutdown leaks reported by valgrind, and the layout cycles that were causing 1gb/s memory explosions when running test_hammer_layout.html.
@bors-servo bors-servo closed this May 22, 2013
@jdm jdm deleted the jdm:investigate branch Aug 4, 2015
glennw pushed a commit to glennw/servo that referenced this pull request Jan 16, 2017
Added shader base name to the source

Helps debugging when all you got is a shader source (`apitrace`).

<!-- 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/468)
<!-- Reviewable:end -->
@jdm jdm mentioned this pull request Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

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