Closed Bug 812648 Opened 13 years ago Closed 12 years ago

[meta] Fix memory leaks for WebRTC crashtests/mochitests

Categories

(Core :: WebRTC, defect, P1)

19 Branch
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: whimboo, Unassigned)

References

Details

(Keywords: memory-leak, meta, Whiteboard: [WebRTC][blocking-webrtc-] [qa-])

Attachments

(1 file)

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.
Depends on: 798323
Keywords: meta
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.
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
Depends on: 813339
Priority: -- → P1
Whiteboard: [blocking-webrtc+] [blocking-gum+]
Blocks: 814531
Depends on: 814721
Summary: [meta] Fix memory leaks for WebRTC crashtests → [meta] Fix memory leaks for WebRTC crashtests/mochitests
Depends on: webrtc-big-lock
Blocks: 801682
Blocks: 816489
Blocks: 814807
Blocks: 817709
Depends on: 821439
Depends on: 823520
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+]
No longer depends on: 814721
Whiteboard: [blocking-webrtc+] → [WebRTC][blocking-webrtc+]
No longer blocks: 814807
No longer depends on: 813339
Depends on: 802538
No longer depends on: 823520
Depends on: 813339
No longer depends on: 813339
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)
Blocks: 825510
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-]
Looks like we still have leaks in the peer connection tests per a try run in bug 814718. Bug coming shortly...
Flags: needinfo?(hskupin)
Depends on: 825747
No longer depends on: 825747
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
Depends on: 822956
Sorry, the last comment was intended for bug 814531.
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.
No longer depends on: 822956
(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.
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.
(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.
Depends on: 826044
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
Assignee: hskupin → nobody
Resolution: WONTFIX → INVALID
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
Whiteboard: [WebRTC][blocking-webrtc-] → [WebRTC][blocking-webrtc-] [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: