Closed Bug 1121539 Opened 10 years ago Closed 10 years ago

OSX-only intermittent leak related to MediaStreamGraph in dom/media/tests/mochitest/ipc/test_ipc.html

Categories

(Core :: Audio/Video, defect)

32 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1116202

People

(Reporter: mccr8, Unassigned)

References

Details

(Whiteboard: [MemShrink])

Attachments

(1 file)

I'm going to fix the intermittent orange by increasing the leak threshold on OSX so it goes away, in bug 1121263, so I'm filing this to track the leak, which will still exist.
One thing that stands out is this assertion, which is in one leaking log I looked at, but not in one non-leaking log I looked at: 08:05:59 INFO - [Child 1355] ###!!! ASSERTION: Appshell already destroyed?: 'Error', file /builds/slave/m-in-osx64-d-00000000000000000/build/src/dom/media/MediaStreamGraph.cpp, line 1746 08:06:19 INFO - #01: mozilla::MediaStreamGraphImpl::AppendMessage(mozilla::ControlMessage*) [dom/media/MediaStreamGraph.cpp:1801] 08:06:19 INFO - #02: mozilla::MediaStream::Destroy() [dom/media/MediaStreamGraph.cpp:1986] 08:06:19 INFO - #03: mozilla::DOMMediaStream::cycleCollection::Unlink(void*) [dom/media/DOMMediaStream.cpp:165] 08:06:19 INFO - #04: nsCycleCollector::CollectWhite() [xpcom/base/nsCycleCollector.cpp:3309] 08:06:19 INFO - #05: nsCycleCollector::Collect(ccType, js::SliceBudget&, nsICycleCollectorListener*, bool) [xpcom/base/nsCycleCollector.cpp:3639] 08:06:19 INFO - #06: nsCycleCollector::Shutdown() [xpcom/base/nsCycleCollector.cpp:3568] 08:06:19 INFO - #07: nsCycleCollector_shutdown() [xpcom/base/nsRefPtr.h:44] 08:06:19 INFO - #08: mozilla::ShutdownXPCOM(nsIServiceManager*) [gfx/layers/ipc/AsyncTransactionTracker.h:130] 08:06:19 INFO - #09: XRE_TermEmbedding [toolkit/xre/nsEmbedFunctions.cpp:207] 08:06:19 INFO - #10: mozilla::ipc::ScopedXREEmbed::Stop() [ipc/glue/ScopedXREEmbed.cpp:116] 08:06:19 INFO - #11: XRE_InitChildProcess [toolkit/xre/nsEmbedFunctions.cpp:580] 08:06:19 INFO - #12: content_process_main(int, char**) [ipc/contentproc/plugin-container.cpp:211]
Ehsan, is this related to the MediaSteamGraph shutdown stuff you were looking at? Do you know who might be able to look into this? I looked at a few more leaking logs and they all had this assertion. This error happens in MediaStreamGraphImpl::EnsureRunInStableState().
Flags: needinfo?(ehsan)
This is the same underlying issue as bug 1116202.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(ehsan)
Resolution: --- → DUPLICATE
Maybe I can lower the leak threshold for OSX again, as the intermittent leaks in the dupe seem to have stopped.
Flags: needinfo?(continuation)
I'm lowering the threshold in bug 1157308.
Flags: needinfo?(continuation)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: