Closed
Bug 812648
Opened 13 years ago
Closed 12 years ago
[meta] Fix memory leaks for WebRTC crashtests/mochitests
Categories
(Core :: WebRTC, defect, P1)
Tracking
()
RESOLVED
FIXED
People
(Reporter: whimboo, Unassigned)
References
Details
(Keywords: memory-leak, meta, Whiteboard: [WebRTC][blocking-webrtc-] [qa-])
Attachments
(1 file)
50.57 KB,
text/plain
|
Details |
We have to fix all the memory leaks we can find in WebRTC code so that we can enable more testsuites and add real Mochitests.
This is a tracking bug so we know what has to be done. Without that fixed I'm not sure how many Mochitests we will be able to create and get checked-in.
For the existent crashtests I will try to get the leaks sorted out and analyzed as best as I can in the next days. I will file new bugs for each of them.
Reporter | ||
Comment 1•13 years ago
|
||
If I run the crashtests via the following command I get this massive bloatlog:
TEST_PATH=dom/media/tests/crashtests/crashtests.list make -C ../obj/nightly/ crashtest
It's only happening for WebRTC but not for other crashtests! Running crashtests for offline mode I don't get any leakage at all. So not sure what's going on here. I will investigate it and spun new bugs for whatever I find.
Reporter | ||
Comment 2•13 years ago
|
||
I just have to add that I got the above bloatlog from an empty crashtests.list file! There was actually not a single crashtest run. So it's most likely related to the framework?
Summary: [meta] Fix memory leaks in WebRTC code → [meta] Fix memory leaks for WebRTC crashtests
Updated•13 years ago
|
Priority: -- → P1
Whiteboard: [blocking-webrtc+] [blocking-gum+]
Reporter | ||
Updated•13 years ago
|
Summary: [meta] Fix memory leaks for WebRTC crashtests → [meta] Fix memory leaks for WebRTC crashtests/mochitests
Reporter | ||
Updated•13 years ago
|
Depends on: webrtc-big-lock
Comment 3•12 years ago
|
||
Removed [blocking-gum+]. Bug 823520 tracks memory leaks blocking gUM. We will likely unpref gUM before all of WebRTC.
Whiteboard: [blocking-webrtc+] [blocking-gum+] → [blocking-webrtc+]
Updated•12 years ago
|
Whiteboard: [blocking-webrtc+] → [WebRTC][blocking-webrtc+]
Comment 4•12 years ago
|
||
So all dependencies are officially fixed. What's left to do here to be able to run these tests with leak checking? Or are we good here?
Flags: needinfo?(hskupin)
Comment 5•12 years ago
|
||
This is not a blocker on its own; if any new leaks show up in mochitests, they'd be blockers
Whiteboard: [WebRTC][blocking-webrtc+] → [WebRTC][blocking-webrtc-]
Comment 6•12 years ago
|
||
Looks like we still have leaks in the peer connection tests per a try run in bug 814718. Bug coming shortly...
Flags: needinfo?(hskupin)
Reporter | ||
Comment 7•12 years ago
|
||
I pushed this to try with leak checking enabled for webrtc crashtests:
https://tbpl.mozilla.org/?tree=Try&rev=1bd6312b7f38
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Reporter | ||
Comment 8•12 years ago
|
||
Sorry, the last comment was intended for bug 814531.
Reporter | ||
Comment 9•12 years ago
|
||
As long as bug 822956 isn't fixed we can't turn on mochitests. As first step I will work on the crashtests so we can get those enabled on m-c.
Comment 10•12 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #9)
> As long as bug 822956 isn't fixed we can't turn on mochitests. As first step
> I will work on the crashtests so we can get those enabled on m-c.
That bug in particular just involves the fact that patches mid way being built ended up having leaks. If they land what they have, then yes, we'll have leaks. But I think they are going to fix it before it lands.
Are there any remaining leaks for the existing state of the world for peer connection?
If not, I think we can close this.
Reporter | ||
Comment 11•12 years ago
|
||
I will wait for bug 822956 just for safety. If everything turns green I'm happy to close this bug and also enable the formerly leaking mochitests.
Comment 12•12 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #11)
> I will wait for bug 822956 just for safety. If everything turns green I'm
> happy to close this bug and also enable the formerly leaking mochitests.
Okay. Note that the mochitests for peer connection still won't be able to be enabled on central by default - we're still hitting crashes on central that probably need to be fixed first before we turn them on in CI by default.
Comment 13•12 years ago
|
||
We've landed mochitests on central and crashtests now on central. We've got bugs filed for followups on potential outstanding issues that exist, which are being tracked in other means. I don't see a reason to keep this bug open anymore - let's just use mlk in the keywords with a reference to the crashtest/mochitest for any remaining leaks.
Closing this out then.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Updated•12 years ago
|
Assignee: hskupin → nobody
Updated•12 years ago
|
Resolution: WONTFIX → INVALID
Reporter | ||
Comment 14•12 years ago
|
||
Given that we fixed all of the referenced dependencies on this bug we also fixed the meta bug itself. For still open or newly filed issues we can use the mlk keyword for sure.
Resolution: INVALID → FIXED
Updated•12 years ago
|
Whiteboard: [WebRTC][blocking-webrtc-] → [WebRTC][blocking-webrtc-] [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•