Closed Bug 1312623 Opened 7 years ago Closed 6 years ago

Intermittent dom/media/tests/mochitest/test_peerConnection_setLocalAnswerInStable.html | application crashed [@ mozilla::CycleCollectedJSContext::ProcessMetastableStateQueue]

Categories

(Core :: Audio/Video: MediaStreamGraph, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox55 --- fixed
firefox56 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: padenot)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell fixed])

Attachments

(1 file)

Component: JavaScript: GC → XPCOM
Was this fixed by the fix for bug 1330212?
Depends on: 1330212
crashes with the [@ mozilla::CycleCollectedJSContext::ProcessMetastableStateQueue ] signature are certainly continuing in general after the fix for bug 1330212 has landed.
After a long dormant period, these crashes started again on June 16, around https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=b63a706320d97b7e3b8b6d58605597a8a23c913b&filter-searchStr=android+media. I'm trying to find the regressing changeset. All crashes are Android/opt and seem to be in test_peerConnection_close.html now.

https://treeherder.mozilla.org/logviewer.html#?repo=mozilla-inbound&job_id=109259642&lineNumber=2201

task 2017-06-22T15:44:16.625879Z] 15:44:16     INFO -  Thread 12 (crashed)
[task 2017-06-22T15:44:16.625978Z] 15:44:16     INFO -   0  libxul.so!mozilla::CycleCollectedJSContext::ProcessMetastableStateQueue [CycleCollectedJSContext.cpp:69052c8fa3eb : 317 + 0x2]
[task 2017-06-22T15:44:16.626043Z] 15:44:16     INFO -       r0 = 0x52d554a0    r1 = 0x00000002    r2 = 0x57a29e01    r3 = 0x00000000
[task 2017-06-22T15:44:16.626178Z] 15:44:16     INFO -       r4 = 0x00000001    r5 = 0x00000002    r6 = 0x52d554a0    r7 = 0x52bd8668
[task 2017-06-22T15:44:16.626244Z] 15:44:16     INFO -       r8 = 0x00000002    r9 = 0x52bd8658   r10 = 0x52bd862c   r12 = 0x00000016
[task 2017-06-22T15:44:16.626308Z] 15:44:16     INFO -       fp = 0x00000000    sp = 0x52bd85c0    lr = 0x55d8da7d    pc = 0x55d8d998
[task 2017-06-22T15:44:16.626357Z] 15:44:16     INFO -      Found by: given as instruction pointer in context
[task 2017-06-22T15:44:16.626458Z] 15:44:16     INFO -   1  libxul.so!mozilla::CycleCollectedJSContext::AfterProcessTask [CycleCollectedJSContext.cpp:69052c8fa3eb : 353 + 0x3]
[task 2017-06-22T15:44:16.626526Z] 15:44:16     INFO -       r4 = 0x52d554a0    r5 = 0x00000002    r6 = 0x00000000    r7 = 0x52bd8668
[task 2017-06-22T15:44:16.626590Z] 15:44:16     INFO -       r8 = 0x52bd8707    r9 = 0x52bd8658   r10 = 0x52bd862c    fp = 0x00000000
[task 2017-06-22T15:44:16.626676Z] 15:44:16     INFO -       sp = 0x52bd85f0    pc = 0x55d8da7d
[task 2017-06-22T15:44:16.626719Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.626776Z] 15:44:16     INFO -   2  libxul.so!XPCJSContext::AfterProcessTask [XPCJSContext.cpp:69052c8fa3eb : 1011 + 0x7]
[task 2017-06-22T15:44:16.626910Z] 15:44:16     INFO -       r4 = 0x52d554a0    r5 = 0x00000002    r6 = 0x00000000    r7 = 0x52bd8668
[task 2017-06-22T15:44:16.626977Z] 15:44:16     INFO -       r8 = 0x52bd8707    r9 = 0x52bd8658   r10 = 0x52bd862c    fp = 0x00000000
[task 2017-06-22T15:44:16.627024Z] 15:44:16     INFO -       sp = 0x52bd85f8    pc = 0x561757ad
[task 2017-06-22T15:44:16.627065Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.627127Z] 15:44:16     INFO -   3  libxul.so!nsThread::ProcessNextEvent [nsThread.cpp:69052c8fa3eb : 1437 + 0x7]
[task 2017-06-22T15:44:16.627191Z] 15:44:16     INFO -       r3 = 0x56175789    r4 = 0x52d4c110    r5 = 0x52bd86b0    r6 = 0x00000000
[task 2017-06-22T15:44:16.627289Z] 15:44:16     INFO -       r7 = 0x52bd8668    r8 = 0x52bd8707    r9 = 0x52bd8658   r10 = 0x52bd862c
[task 2017-06-22T15:44:16.627346Z] 15:44:16     INFO -       fp = 0x00000000    sp = 0x52bd8608    pc = 0x55dc1afb
[task 2017-06-22T15:44:16.627567Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.627864Z] 15:44:16     INFO -   4  libxul.so!NS_ProcessNextEvent [nsThreadUtils.cpp:69052c8fa3eb : 471 + 0xb]
[task 2017-06-22T15:44:16.628209Z] 15:44:16     INFO -       r4 = 0x00000001    r5 = 0x559b05e0    r6 = 0x52d4c110    r7 = 0x559b05e0
[task 2017-06-22T15:44:16.628545Z] 15:44:16     INFO -       r8 = 0x6644c818    r9 = 0x52bd8868   r10 = 0x52bd883c    fp = 0x00000000
[task 2017-06-22T15:44:16.628846Z] 15:44:16     INFO -       sp = 0x52bd8700    pc = 0x55dc0c1d
[task 2017-06-22T15:44:16.629138Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.629532Z] 15:44:16     INFO -   5  libxul.so!nsThread::Shutdown [nsThreadUtils.h:69052c8fa3eb : 323 + 0x7]
[task 2017-06-22T15:44:16.629880Z] 15:44:16     INFO -       r4 = 0x5548dee0    r5 = 0x559b05e0    r6 = 0x52d4c110    r7 = 0x559b05e0
[task 2017-06-22T15:44:16.630178Z] 15:44:16     INFO -       r8 = 0x6644c818    r9 = 0x52bd8868   r10 = 0x52bd883c    fp = 0x00000000
[task 2017-06-22T15:44:16.630431Z] 15:44:16     INFO -       sp = 0x52bd8710    pc = 0x55dc15ed
[task 2017-06-22T15:44:16.630643Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.630966Z] 15:44:16     INFO -   6  libxul.so!mozilla::ThreadedDriver::~ThreadedDriver [GraphDriver.cpp:69052c8fa3eb : 165 + 0x5]
[task 2017-06-22T15:44:16.631223Z] 15:44:16     INFO -       r4 = 0x66291f60    r5 = 0x00000000    r6 = 0x00000001    r7 = 0x559b05e0
[task 2017-06-22T15:44:16.631488Z] 15:44:16     INFO -       r8 = 0x6644c818    r9 = 0x52bd8868   r10 = 0x52bd883c    fp = 0x00000000
[task 2017-06-22T15:44:16.631789Z] 15:44:16     INFO -       sp = 0x52bd8720    pc = 0x567f7c13
[task 2017-06-22T15:44:16.632036Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.632373Z] 15:44:16     INFO -   7  libxul.so!mozilla::SystemClockDriver::~SystemClockDriver [GraphDriver.cpp:69052c8fa3eb : 282 + 0xb]
[task 2017-06-22T15:44:16.632664Z] 15:44:16     INFO -       r4 = 0x66291f60    r5 = 0x00000000    r6 = 0x6644c824    r7 = 0x00000000
[task 2017-06-22T15:44:16.633041Z] 15:44:16     INFO -       r8 = 0x6644c818    r9 = 0x52bd8868   r10 = 0x52bd883c    fp = 0x00000000
[task 2017-06-22T15:44:16.633225Z] 15:44:16     INFO -       sp = 0x52bd8740    pc = 0x567f7c8d
[task 2017-06-22T15:44:16.633532Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.633845Z] 15:44:16     INFO -   8  libxul.so!mozilla::SystemClockDriver::~SystemClockDriver [GraphDriver.cpp:69052c8fa3eb : 283 + 0x3]
[task 2017-06-22T15:44:16.634079Z] 15:44:16     INFO -       r4 = 0x66291f60    r5 = 0x00000000    r6 = 0x6644c824    r7 = 0x00000000
[task 2017-06-22T15:44:16.634340Z] 15:44:16     INFO -       r8 = 0x6644c818    r9 = 0x52bd8868   r10 = 0x52bd883c    fp = 0x00000000
[task 2017-06-22T15:44:16.634566Z] 15:44:16     INFO -       sp = 0x52bd8748    pc = 0x567f7c9d
[task 2017-06-22T15:44:16.634823Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.635116Z] 15:44:16     INFO -   9  libxul.so!mozilla::GraphDriver::Release [GraphDriver.h:69052c8fa3eb : 112 + 0x5]
[task 2017-06-22T15:44:16.635472Z] 15:44:16     INFO -       r4 = 0x66291f60    r5 = 0x00000000    r6 = 0x6644c824    r7 = 0x00000000
[task 2017-06-22T15:44:16.635677Z] 15:44:16     INFO -       r8 = 0x6644c818    r9 = 0x52bd8868   r10 = 0x52bd883c    fp = 0x00000000
[task 2017-06-22T15:44:16.635906Z] 15:44:16     INFO -       sp = 0x52bd8750    pc = 0x567f7135
[task 2017-06-22T15:44:16.636147Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.636432Z] 15:44:16     INFO -  10  libxul.so!RefPtr<mozilla::GraphDriver>::~RefPtr [RefPtr.h:69052c8fa3eb : 40 + 0x3]
[task 2017-06-22T15:44:16.636706Z] 15:44:16     INFO -       r3 = 0x00000000    r4 = 0x52bd87a0    r5 = 0x52bd87a0    r6 = 0x6644c824
[task 2017-06-22T15:44:16.636976Z] 15:44:16     INFO -       r7 = 0x00000000    r8 = 0x6644c818    r9 = 0x52bd8868   r10 = 0x52bd883c
[task 2017-06-22T15:44:16.637285Z] 15:44:16     INFO -       fp = 0x00000000    sp = 0x52bd8760    pc = 0x56835b95
[task 2017-06-22T15:44:16.637521Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.637765Z] 15:44:16     INFO -  11  libxul.so!mozilla::MediaStreamGraphImpl::RunInStableState [MediaStreamGraph.cpp:69052c8fa3eb : 1760 + 0x5]
[task 2017-06-22T15:44:16.638034Z] 15:44:16     INFO -       r4 = 0x6644c780    r5 = 0x52bd87a0    r6 = 0x6644c824    r7 = 0x00000000
[task 2017-06-22T15:44:16.638279Z] 15:44:16     INFO -       r8 = 0x6644c818    r9 = 0x52bd8868   r10 = 0x52bd883c    fp = 0x00000000
[task 2017-06-22T15:44:16.638503Z] 15:44:16     INFO -       sp = 0x52bd8768    pc = 0x5683b95d
[task 2017-06-22T15:44:16.638737Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.639011Z] 15:44:16     INFO -  12  libxul.so!MediaStreamGraphStableStateRunnable::Run [MediaStreamGraph.cpp:69052c8fa3eb : 1641 + 0x5]
[task 2017-06-22T15:44:16.639273Z] 15:44:16     INFO -       r4 = 0x00000001    r5 = 0x52d554a0    r6 = 0x00000000    r7 = 0x52bd87ec
[task 2017-06-22T15:44:16.639522Z] 15:44:16     INFO -       r8 = 0x52bd8917    r9 = 0x52bd8868   r10 = 0x52bd883c    fp = 0x00000000
[task 2017-06-22T15:44:16.639757Z] 15:44:16     INFO -       sp = 0x52bd87e0    pc = 0x5683bd07
[task 2017-06-22T15:44:16.639999Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.640293Z] 15:44:16     INFO -  13  libxul.so!mozilla::CycleCollectedJSContext::ProcessStableStateQueue [CycleCollectedJSContext.cpp:69052c8fa3eb : 306 + 0x3]
[task 2017-06-22T15:44:16.640526Z] 15:44:16     INFO -       r3 = 0x5683bcf9    r4 = 0x00000001    r5 = 0x52d554a0    r6 = 0x00000000
[task 2017-06-22T15:44:16.640806Z] 15:44:16     INFO -       r7 = 0x52bd87ec    r8 = 0x52bd8917    r9 = 0x52bd8868   r10 = 0x52bd883c
[task 2017-06-22T15:44:16.641053Z] 15:44:16     INFO -       fp = 0x00000000    sp = 0x52bd87e8    pc = 0x55d8d8e5
[task 2017-06-22T15:44:16.641272Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.641560Z] 15:44:16     INFO -  14  libxul.so!XPCJSContext::AfterProcessTask [XPCJSContext.cpp:69052c8fa3eb : 1011 + 0x7]
[task 2017-06-22T15:44:16.641790Z] 15:44:16     INFO -       r4 = 0x52d554a0    r5 = 0x00000001    r6 = 0x00000000    r7 = 0x52bd8878
[task 2017-06-22T15:44:16.642019Z] 15:44:16     INFO -       r8 = 0x52bd8917    r9 = 0x52bd8868   r10 = 0x52bd883c    fp = 0x00000000
[task 2017-06-22T15:44:16.642240Z] 15:44:16     INFO -       sp = 0x52bd8808    pc = 0x561757ad
[task 2017-06-22T15:44:16.642548Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.642794Z] 15:44:16     INFO -  15  libxul.so!nsThread::ProcessNextEvent [nsThread.cpp:69052c8fa3eb : 1437 + 0x7]
[task 2017-06-22T15:44:16.643020Z] 15:44:16     INFO -       r3 = 0x56175789    r4 = 0x52d4c110    r5 = 0x52bd88c0    r6 = 0x00000000
[task 2017-06-22T15:44:16.643247Z] 15:44:16     INFO -       r7 = 0x52bd8878    r8 = 0x52bd8917    r9 = 0x52bd8868   r10 = 0x52bd883c
[task 2017-06-22T15:44:16.643498Z] 15:44:16     INFO -       fp = 0x00000000    sp = 0x52bd8818    pc = 0x55dc1afb
[task 2017-06-22T15:44:16.643707Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.643949Z] 15:44:16     INFO -  16  libxul.so!NS_ProcessNextEvent [nsThreadUtils.cpp:69052c8fa3eb : 471 + 0xb]
[task 2017-06-22T15:44:16.644177Z] 15:44:16     INFO -       r4 = 0x00000000    r5 = 0x00000001    r6 = 0x52d4c060    r7 = 0x52d4c110
[task 2017-06-22T15:44:16.644407Z] 15:44:16     INFO -       r8 = 0x52d13350    r9 = 0x52bd89c0   r10 = 0x58c3528c    fp = 0x52bd8b9d
[task 2017-06-22T15:44:16.644617Z] 15:44:16     INFO -       sp = 0x52bd8910    pc = 0x55dc0c1d
[task 2017-06-22T15:44:16.644832Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.645092Z] 15:44:16     INFO -  17  libxul.so!mozilla::ipc::MessagePump::Run [MessagePump.cpp:69052c8fa3eb : 96 + 0x7]
[task 2017-06-22T15:44:16.645378Z] 15:44:16     INFO -       r4 = 0x52d13340    r5 = 0x00000001    r6 = 0x52d4c060    r7 = 0x52d4c110
[task 2017-06-22T15:44:16.645630Z] 15:44:16     INFO -       r8 = 0x52d13350    r9 = 0x52bd89c0   r10 = 0x58c3528c    fp = 0x52bd8b9d
[task 2017-06-22T15:44:16.645842Z] 15:44:16     INFO -       sp = 0x52bd8920    pc = 0x55fb2b01
[task 2017-06-22T15:44:16.646055Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.646295Z] 15:44:16     INFO -  18  libxul.so!MessageLoop::Run [message_loop.cc:69052c8fa3eb : 313 + 0x5]
[task 2017-06-22T15:44:16.646527Z] 15:44:16     INFO -       r4 = 0x52d4c060    r5 = 0x55604900    r6 = 0x52d4c110    r7 = 0x52bd89b8
[task 2017-06-22T15:44:16.646754Z] 15:44:16     INFO -       r8 = 0x52bd89a4    r9 = 0x52bd89c0   r10 = 0x58c3528c    fp = 0x52bd8b9d
[task 2017-06-22T15:44:16.646973Z] 15:44:16     INFO -       sp = 0x52bd8948    pc = 0x55f9e5e5
[task 2017-06-22T15:44:16.647185Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.647432Z] 15:44:16     INFO -  19  libxul.so!nsBaseAppShell::Run [nsBaseAppShell.cpp:69052c8fa3eb : 156 + 0x3]
[task 2017-06-22T15:44:16.647659Z] 15:44:16     INFO -       r4 = 0x00000000    r5 = 0x55604900    r6 = 0x52d4c110    r7 = 0x52bd89b8
[task 2017-06-22T15:44:16.647890Z] 15:44:16     INFO -       r8 = 0x52bd89a4    r9 = 0x52bd89c0   r10 = 0x58c3528c    fp = 0x52bd8b9d
[task 2017-06-22T15:44:16.648097Z] 15:44:16     INFO -       sp = 0x52bd8960    pc = 0x56aa608f
[task 2017-06-22T15:44:16.648312Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.648559Z] 15:44:16     INFO -  20  libxul.so!nsAppStartup::Run [nsAppStartup.cpp:69052c8fa3eb : 283 + 0x3]
[task 2017-06-22T15:44:16.648800Z] 15:44:16     INFO -       r4 = 0x556bad90    r5 = 0x52bd89cc    r6 = 0x52bd8ab0    r7 = 0x52bd89b8
[task 2017-06-22T15:44:16.649038Z] 15:44:16     INFO -       r8 = 0x52bd89a4    r9 = 0x52bd89c0   r10 = 0x58c3528c    fp = 0x52bd8b9d
[task 2017-06-22T15:44:16.649278Z] 15:44:16     INFO -       sp = 0x52bd8970    pc = 0x572058c7
[task 2017-06-22T15:44:16.649494Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.649733Z] 15:44:16     INFO -  21  libxul.so!XREMain::XRE_mainRun [nsAppRunner.cpp:69052c8fa3eb : 4590 + 0x3]
[task 2017-06-22T15:44:16.650003Z] 15:44:16     INFO -       r4 = 0x52bd89ec    r5 = 0x52bd89cc    r6 = 0x52bd8ab0    r7 = 0x52bd89b8
[task 2017-06-22T15:44:16.650232Z] 15:44:16     INFO -       r8 = 0x52bd89a4    r9 = 0x52bd89c0   r10 = 0x58c3528c    fp = 0x52bd8b9d
[task 2017-06-22T15:44:16.650442Z] 15:44:16     INFO -       sp = 0x52bd8978    pc = 0x57245629
[task 2017-06-22T15:44:16.650657Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.650897Z] 15:44:16     INFO -  22  libxul.so!XREMain::XRE_main [nsAppRunner.cpp:69052c8fa3eb : 4774 + 0x5]
[task 2017-06-22T15:44:16.651126Z] 15:44:16     INFO -       r4 = 0x52bd8ab0    r5 = 0x00000000    r6 = 0x00000000    r7 = 0x52bd8a70
[task 2017-06-22T15:44:16.651355Z] 15:44:16     INFO -       r8 = 0x52bd8bc8    r9 = 0x52bd8a78   r10 = 0x52d09470    fp = 0x55da3cc5
[task 2017-06-22T15:44:16.651564Z] 15:44:16     INFO -       sp = 0x52bd8a68    pc = 0x57245a29
[task 2017-06-22T15:44:16.651776Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.652016Z] 15:44:16     INFO -  23  libxul.so!XRE_main [nsAppRunner.cpp:69052c8fa3eb : 4869 + 0x3]
[task 2017-06-22T15:44:16.652269Z] 15:44:16     INFO -       r4 = 0x00000000    r5 = 0x52bd8acc    r6 = 0x52bd8ab0    r7 = 0x52bd8bc8
[task 2017-06-22T15:44:16.652496Z] 15:44:16     INFO -       r8 = 0x52bd8af4    r9 = 0x52bd8b48   r10 = 0x52d01f00    fp = 0x00000006
[task 2017-06-22T15:44:16.652704Z] 15:44:16     INFO -       sp = 0x52bd8ab0    pc = 0x57245beb
[task 2017-06-22T15:44:16.652918Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.653155Z] 15:44:16     INFO -  24  libxul.so!GeckoStart [nsAndroidStartup.cpp:69052c8fa3eb : 50 + 0x3]
[task 2017-06-22T15:44:16.653409Z] 15:44:16     INFO -       r4 = 0x527c6e74    r5 = 0x52d01f00    r6 = 0x00000006    r7 = 0x527c3ad8
[task 2017-06-22T15:44:16.653647Z] 15:44:16     INFO -       r8 = 0x52d01f00    r9 = 0xffffffff   r10 = 0x23600005    fp = 0x1fc00009
[task 2017-06-22T15:44:16.653857Z] 15:44:16     INFO -       sp = 0x52bd8bc8    pc = 0x57247075
[task 2017-06-22T15:44:16.654069Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.654333Z] 15:44:16     INFO -  25  libmozglue.so!Java_org_mozilla_gecko_mozglue_GeckoLoader_nativeRun [APKOpen.cpp:69052c8fa3eb : 435 + 0xb]
[task 2017-06-22T15:44:16.654559Z] 15:44:16     INFO -       r4 = 0x52d01f00    r5 = 0x2a1e7698    r6 = 0x00000006    r7 = 0x527c61a0
[task 2017-06-22T15:44:16.654787Z] 15:44:16     INFO -       r8 = 0x52d01f00    r9 = 0xffffffff   r10 = 0x23600005    fp = 0x1fc00009
[task 2017-06-22T15:44:16.654996Z] 15:44:16     INFO -       sp = 0x52bd8be8    pc = 0x5273976b
[task 2017-06-22T15:44:16.655215Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.655429Z] 15:44:16     INFO -  26  libdvm.so + 0x1dc4e
[task 2017-06-22T15:44:16.655669Z] 15:44:16     INFO -       r4 = 0x4c783e10    r5 = 0x2a1e7a20    r6 = 0x00000000    r7 = 0x52ad8fbc
[task 2017-06-22T15:44:16.655895Z] 15:44:16     INFO -       r8 = 0x52bd8c24    r9 = 0x52ad8fb0   r10 = 0x2a1e7a30    fp = 0x52bd8c3c
[task 2017-06-22T15:44:16.656105Z] 15:44:16     INFO -       sp = 0x52bd8c20    pc = 0x4085bc50
[task 2017-06-22T15:44:16.656319Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.656531Z] 15:44:16     INFO -  27  libdvm.so + 0x48dc3
[task 2017-06-22T15:44:16.656761Z] 15:44:16     INFO -       sp = 0x52bd8c28    pc = 0x40886dc5
[task 2017-06-22T15:44:16.656974Z] 15:44:16     INFO -      Found by: stack scanning
[task 2017-06-22T15:44:16.657223Z] 15:44:16     INFO -  28  data@app@org.mozilla.fennec_aurora-1.apk@classes.dex + 0x5cb1ac
[task 2017-06-22T15:44:16.657444Z] 15:44:16     INFO -       sp = 0x52bd8c34    pc = 0x524bc1ae
[task 2017-06-22T15:44:16.657659Z] 15:44:16     INFO -      Found by: stack scanning
[task 2017-06-22T15:44:16.657900Z] 15:44:16     INFO -  29  dalvik-heap (deleted) + 0x296416
[task 2017-06-22T15:44:16.658119Z] 15:44:16     INFO -       sp = 0x52bd8c38    pc = 0x4174b418
[task 2017-06-22T15:44:16.658330Z] 15:44:16     INFO -      Found by: stack scanning
[task 2017-06-22T15:44:16.658546Z] 15:44:16     INFO -  30  dalvik-heap (deleted) + 0x2dbb2e
[task 2017-06-22T15:44:16.658766Z] 15:44:16     INFO -       sp = 0x52bd8c3c    pc = 0x41790b30
[task 2017-06-22T15:44:16.658982Z] 15:44:16     INFO -      Found by: stack scanning
[task 2017-06-22T15:44:16.659193Z] 15:44:16     INFO -  31  libdvm.so + 0x4dcad
[task 2017-06-22T15:44:16.659415Z] 15:44:16     INFO -       sp = 0x52bd8c40    pc = 0x4088bcaf
[task 2017-06-22T15:44:16.659629Z] 15:44:16     INFO -      Found by: stack scanning
[task 2017-06-22T15:44:16.659866Z] 15:44:16     INFO -  32  data@app@org.mozilla.fennec_aurora-1.apk@classes.dex + 0x5cb1a8
[task 2017-06-22T15:44:16.660079Z] 15:44:16     INFO -       sp = 0x52bd8c48    pc = 0x524bc1aa
[task 2017-06-22T15:44:16.660293Z] 15:44:16     INFO -      Found by: stack scanning
[task 2017-06-22T15:44:16.660561Z] 15:44:16     INFO -  33  libmozglue.so!Java_org_mozilla_gecko_mozglue_GeckoLoader_loadNSSLibsNative [APKOpen.cpp:69052c8fa3eb : 380 + 0x1d]
[task 2017-06-22T15:44:16.660766Z] 15:44:16     INFO -       sp = 0x52bd8c4c    pc = 0x527396a5
[task 2017-06-22T15:44:16.660980Z] 15:44:16     INFO -      Found by: stack scanning
[task 2017-06-22T15:44:16.661213Z] 15:44:16     INFO -  34  0x25afffff
[task 2017-06-22T15:44:16.661458Z] 15:44:16     INFO -       r4 = 0x2a1e7a30    r5 = 0x2a1c5e50    r6 = 0x2a1c5e58    sp = 0x52bd8c5c
[task 2017-06-22T15:44:16.661659Z] 15:44:16     INFO -       pc = 0x25b00001
[task 2017-06-22T15:44:16.661879Z] 15:44:16     INFO -      Found by: call frame info
[task 2017-06-22T15:44:16.662149Z] 15:44:16     INFO -  35  libmozglue.so!Java_org_mozilla_gecko_mozglue_GeckoLoader_loadNSSLibsNative [APKOpen.cpp:69052c8fa3eb : 380 + 0x1d]
[task 2017-06-22T15:44:16.662351Z] 15:44:16     INFO -       sp = 0x52bd8c8c    pc = 0x527396a5
[task 2017-06-22T15:44:16.662634Z] 15:44:16     INFO -      Found by: stack scanning
Flags: needinfo?(gbrown)
Whiteboard: [stockwell needswork]
This is again some media code spinning event loop at random time (in this case during CycleCollectedJSContext::ProcessStableStateQueue). Not good.

http://searchfox.org/mozilla-central/rev/1b7b1ec949497e9fc2a9b9dfaccbe894ee2ad5ef/dom/media/GraphDriver.cpp#165
Component: XPCOM → Audio/Video: MediaStreamGraph
Flags: needinfo?(rjesup)
Flags: needinfo?(padenot)
Flags: needinfo?(bugs)
Thanks for the heads up, taking.
Flags: needinfo?(rjesup)
Flags: needinfo?(padenot)
Assignee: nobody → padenot
Rank: 35
Priority: -- → P3
Comment on attachment 8883210 [details]
Bug 1312623 - Don't attempt to shutdown a thread in the dtor of a GraphDriver, since it might be called by CC.

https://reviewboard.mozilla.org/r/154148/#review159274

::: commit-message-d9a14:1
(Diff revision 1)
> +Bug 1312623 - Don't attempt to shutdown a thread in the dtor of a GraphDriver, since it might be called by CC. r?smaug

The bug had nothing to do with CC.
The issue is that media code spins event loop during stable state, and that isn't allowed.
So, please fix the commit message.
Attachment #8883210 - Flags: review?(bugs) → review+
failures are only on beta- either we uplift or accept this as fixed.  I am not sure which commit fixed this.
Whiteboard: [stockwell needswork] → [stockwell unknown]
Pushed by paul@paul.cx:
https://hg.mozilla.org/integration/mozilla-inbound/rev/bc861f344831
Don't attempt to shutdown a thread in the dtor of a GraphDriver, since it might be called during stable state. r=smaug
https://hg.mozilla.org/mozilla-central/rev/bc861f344831
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
This is basically permafailing on Beta. Please request uplift on this when you get a chance.
Flags: needinfo?(padenot)
Comment on attachment 8883210 [details]
Bug 1312623 - Don't attempt to shutdown a thread in the dtor of a GraphDriver, since it might be called by CC.

Approval Request Comment
[Feature/Bug causing the regression]: very old problem, since the MSG refactoring maybe ?
[User impact if declined]: possible rare crash, sheriff pain on beta
[Is this code covered by automated tests?]: the problem and the fix are obvious
[Has the fix been verified in Nightly?]: yes, and we've seen that this intermittent does not happen anymore.
[Needs manual test from QE? If yes, steps to reproduce]:  no, this happens randomly on treeherder
[List of other uplifts needed for the feature/fix]: none
[Is the change risky?]: I don't think so
[Why is the change risky/not risky?]: The issue and the fix are obvious, we've done the same fix multiple times over the years.
[String changes made/needed]: none
Flags: needinfo?(padenot)
Attachment #8883210 - Flags: approval-mozilla-beta?
Comment on attachment 8883210 [details]
Bug 1312623 - Don't attempt to shutdown a thread in the dtor of a GraphDriver, since it might be called by CC.

crash fix, beta55+
Attachment #8883210 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
https://hg.mozilla.org/releases/mozilla-beta/rev/84b80aceba4c
Whiteboard: [stockwell unknown] → [stockwell fixed]
Crash Signature: [@ mozilla::CycleCollectedJSContext::ProcessMetastableStateQueue]
High crash volume for a bug that is supposedly fixed.

Signature report for mozilla::CycleCollectedJSContext::ProcessMetastableStateQueue
Showing results from 7 days ago

Windows 10 	957 	30.9%
Windows 7 	951 	30.7%
Windows Vista 	630 	20.4%
Windows XP 	497 	16.1%
Windows 8.1 	39 	1.3%
Windows Serv03 	10 	0.3%
Linux 		4 	0.1%
OS X 10.13 	2 	0.1%
Windows 8 	2 	0.1%
Android 	1 	0.0%

Firefox 	52.7.3esr 	2212 	71.4% 	1960
Firefox 	52.6.0esr 	385 	12.4% 	284
Firefox 	52.7.2esr 	144 	4.6% 	116
Firefox 	52.3.0esr 	49 	1.6% 	17
Firefox 	52.7.0esr 	37 	1.2% 	37
Firefox 	52.5.0esr 	29 	0.9% 	22
Firefox 	52.4.0esr 	20 	0.6% 	13
Firefox 	52.5.3esr 	19 	0.6% 	19
Firefox 	52.0.2esr 	15 	0.5% 	6
Firefox 	52.1.2esr 	15 	0.5% 	13
Firefox 	52.2.0esr 	15 	0.5% 	13

Firefox 	59.0.2 	3 	0.1% 	3
Firefox 	56.0.2 	3 	0.1% 	3
Firefox 	56.0.1 	1 	0.0% 	1
Firefox 	56.0 	1 	0.0% 	1
Firefox 	55.0.3 	1 	0.0% 	1
Firefox 	54.0b6 	1 	0.0% 	1
Firefox 	54.0.1 	4 	0.1% 	3
Firefox 	54.0 	1 	0.0% 	1
Firefox 	53.0b8 	3 	0.1% 	1
Firefox 	53.0b2 	1 	0.0% 	1

FennecAndroid 58.0.1 	1 	0.0% 	1

Uptime
> 1 hour 	2351 	76.0%
15-60 min 	480 	15.5%
5-15 min 	168 	5.4%
1-5 min 	61 	2.0%
< 1 min 	33 	1.1%

Architecture
x86 	3077 	99.5%
amd64 	15 	0.5%
arm 	1 	0.0%
Trevor, this and all the other intermittent-failure bugs you've been touching recently track test failures within our automated test infrastruture. While those certainly may correlate with in-product issues as well, adding information to resolved bugs from the middle of last year is very unlikely to be of any help for getting the problems fixed. Please file a new bug if this signature is still lurking around in the wild.
Crash Signature: [@ mozilla::CycleCollectedJSContext::ProcessMetastableStateQueue]
Flags: needinfo?(skywalker333)
Blocks: 1452416
I've filed a new bug then.(In reply to Ryan VanderMeulen [:RyanVM] from comment #26)
> Trevor, this and all the other intermittent-failure bugs you've been
> touching recently track test failures within our automated test
> infrastruture. While those certainly may correlate with in-product issues as
> well, adding information to resolved bugs from the middle of last year is
> very unlikely to be of any help for getting the problems fixed. Please file
> a new bug if this signature is still lurking around in the wild.

I've filed a new bug then.
No longer blocks: 1452416
Flags: needinfo?(skywalker333)
See Also: → 1452416
You need to log in before you can comment on or make changes to this bug.