Closed Bug 827452 Opened 11 years ago Closed 11 years ago

Intermittent test_getUserMedia_basicVideo.html | application crashed [@ mozilla::MediaStreamGraphImpl::AppendMessage(mozilla::(anonymous namespace)::ControlMessage*)] after "ASSERTION: Stream already destroyed"

Categories

(Core :: WebRTC, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 827203

People

(Reporter: philor, Unassigned)

References

Details

(Keywords: assertion, crash, intermittent-failure)

https://tbpl.mozilla.org/php/getParsedLog.php?id=18551182&tree=Mozilla-Inbound
Rev5 MacOSX Mountain Lion 10.8 mozilla-inbound debug test mochitest-3 on 2013-01-07 07:56:22 PST for push 9944f44aff85
slave: talos-mtnlion-r5-021

17 INFO TEST-START | /tests/dom/media/tests/mochitest/test_getUserMedia_basicVideo.html
++DOMWINDOW == 18 (0x1216626b0) [serial = 18] [outer = 0x125825a70]
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004003: file ../../../../intl/uconv/src/nsCharsetConverterManager.cpp, line 301
--DOMWINDOW == 17 (0x1258408c0) [serial = 16] [outer = 0x125825a70] [url = about:blank]
--DOMWINDOW == 16 (0x11190d420) [serial = 10] [outer = 0x111565190] [url = about:blank]
--DOMWINDOW == 15 (0x119ac9110) [serial = 13] [outer = 0x111565190] [url = about:blank]
--DOMWINDOW == 14 (0x12163d5b0) [serial = 17] [outer = 0x125825a70] [url = http://mochi.test:8888/tests/dom/media/tests/mochitest/test_getUserMedia_basicAudio.html]
###!!! ASSERTION: Stream already destroyed: '!aMessage->GetStream() || !aMessage->GetStream()->IsDestroyed()', file ../../../content/media/MediaStreamGraph.cpp, line 1723
mozilla::MediaManager::RemoveFromWindowList(unsigned long long, mozilla::GetUserMediaCallbackMediaStreamListener*) [MediaManager.h:118]
mozilla::GetUserMediaListenerRemove::Run() [MediaManager.cpp:209]
nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:627]
NS_ProcessPendingEvents_P(nsIThread*, unsigned int) [nsThreadUtils.cpp:187]
nsBaseAppShell::NativeEventCallback() [nsBaseAppShell.cpp:98]
nsAppShell::ProcessGeckoEvents(void*) [nsAppShell.mm:388]
CoreFoundation + 0x12841
CoreFoundation + 0x12165
CoreFoundation + 0x354e5
CoreFoundation + 0x34dd2
HIToolbox + 0x5f774
HIToolbox + 0x5f512
HIToolbox + 0x5f3a3
AppKit + 0x156fa3
-AppKit + 0x156862
-[GeckoNSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] [nsAppShell.mm:164]
-AppKit + 0x14dc03
nsAppShell::Run() [nsAppShell.mm:741]
nsAppStartup::Run() [nsAppStartup.cpp:288]
XREMain::XRE_mainRun() [nsAppRunner.cpp:3823]
XREMain::XRE_main(int, char**, nsXREAppData const*) [nsAppRunner.cpp:3890]
XRE_main [nsAppRunner.cpp:4093]
main [nsBrowserApp.cpp:195]
TEST-UNEXPECTED-FAIL | /tests/dom/media/tests/mochitest/test_getUserMedia_basicVideo.html | Exited with code 1 during test run
INFO | automation.py | Application ran for: 0:00:26.158216
INFO | automation.py | Reading PID log: /var/folders/jd/xd6ldtt56nlfkbk3n8fl9sb400000w/T/tmp7OTw_Mpidlog
PROCESS-CRASH | /tests/dom/media/tests/mochitest/test_getUserMedia_basicVideo.html | application crashed [@ mozilla::MediaStreamGraphImpl::AppendMessage(mozilla::(anonymous namespace)::ControlMessage*)]
Crash dump filename: /var/folders/jd/xd6ldtt56nlfkbk3n8fl9sb400000w/T/tmpx_3TIt/minidumps/30A1EE0C-3B5E-4F45-8645-875C5B01E117.dmp
Operating system: Mac OS X
                  10.8.0 12A269
CPU: amd64
     family 6 model 42 stepping 7
     8 CPUs

Crash reason:  EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
Crash address: 0xb8

Thread 0 (crashed)
 0  XUL!mozilla::MediaStreamGraphImpl::AppendMessage(mozilla::(anonymous namespace)::ControlMessage*) [MediaStreamGraph.cpp : 1725 + 0x0]
    rbx = 0x0000000125f89680   r12 = 0x0000000125f873a0
    r13 = 0x00007fff5fbfd5d7   r14 = 0x0000000111557d20
    r15 = 0x0000000000000000   rip = 0x0000000101e9e523
    rsp = 0x00007fff5fbfd470   rbp = 0x00007fff5fbfd490
    Found by: given as instruction pointer in context
 1  XUL!mozilla::MediaManager::RemoveFromWindowList(unsigned long long, mozilla::GetUserMediaCallbackMediaStreamListener*) [MediaManager.h : 118 + 0x7]
    rbx = 0x0000000125f86c20   r12 = 0x0000000125f873a0
    r13 = 0x00007fff5fbfd5d7   r14 = 0x0000000000000011
    r15 = 0x0000000125f873a0   rip = 0x0000000101c3ec27
    rsp = 0x00007fff5fbfd4a0   rbp = 0x00007fff5fbfd4e0
    Found by: call frame info
 2  XUL!mozilla::GetUserMediaListenerRemove::Run() [MediaManager.cpp : 209 + 0x7]
    rbx = 0x0000000104f1e5b0   r12 = 0x0000000125f873a0
    r13 = 0x00007fff5fbfd5d7   r14 = 0x0000000121644600
    r15 = 0x0000000125f873b0   rip = 0x0000000101c40632
    rsp = 0x00007fff5fbfd4f0   rbp = 0x00007fff5fbfd510
    Found by: call frame info
 3  XUL!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp : 627 + 0x5]
    rbx = 0x0000000104f1e5b0   r12 = 0x0000000104f1e5b0
    r13 = 0x00007fff5fbfd5d7   r14 = 0x0000000104f1e5f0
    r15 = 0x0000000000000000   rip = 0x0000000102a5d02f
    rsp = 0x00007fff5fbfd520   rbp = 0x00007fff5fbfd5c0
    Found by: call frame info
 4  XUL!NS_ProcessPendingEvents_P(nsIThread*, unsigned int) [nsThreadUtils.cpp : 187 + 0xe]
    rbx = 0x0000000000000000   r12 = 0x0000000104f1e5b0
    r13 = 0x00007fff5fbfd5d7   r14 = 0x0000000000000014
    r15 = 0x0000000000025121   rip = 0x00000001029fdad8
    rsp = 0x00007fff5fbfd5d0   rbp = 0x00007fff5fbfd600
    Found by: call frame info
 5  XUL!nsBaseAppShell::NativeEventCallback() [nsBaseAppShell.cpp : 97 + 0xe]
    rbx = 0x0000000105123a80   r12 = 0x0000000000000000
    r13 = 0x0000000105100790   r14 = 0x0000000104f1e5b0
    r15 = 0x0000000105123a00   rip = 0x00000001025b02c7
    rsp = 0x00007fff5fbfd610   rbp = 0x00007fff5fbfd630
    Found by: call frame info
 6  XUL!nsAppShell::ProcessGeckoEvents(void*) [nsAppShell.mm : 387 + 0x7]
    rbx = 0x000000010512ae10   r12 = 0x0000000000000000
    r13 = 0x0000000105100790   r14 = 0x000000010512ae28
Dup with patch already approved, will land tonight
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.