Closed Bug 1035263 Opened 10 years ago Closed 10 years ago

OSX Debug build hits Assert when using Gecko Media Plugin

Categories

(Core :: WebRTC: Audio/Video, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1035653

People

(Reporter: ehugg, Unassigned)

References

(Blocks 1 open bug)

Details

This is similar to 1033522 but has a different stack.  It is a main thread check and appeared recently:


    frame #0: 0x0000000101d3fe90 XUL`IToplevelProtocol(this=0x0000000129bce818, aProtoId=PGMPMsgStart) + 160 at ProtocolUtils.h:191
   188 	        : mProtocolId(aProtoId)
   189 	        , mTrans(nullptr)
   190 	    {
-> 191 	      MOZ_ASSERT(NS_IsMainThread());
   192 	    }
   193 	
   194 	    ~IToplevelProtocol();


  * frame #0: 0x0000000101d3fe90 XUL`IToplevelProtocol(this=0x0000000129bce818, aProtoId=PGMPMsgStart) + 160 at ProtocolUtils.h:191
    frame #1: 0x0000000101ef2db8 XUL`PGMPParent(this=0x0000000129bce800) + 72 at PGMPParent.cpp:55
    frame #2: 0x000000010353f72f XUL`GMPParent(this=0x0000000129bce800) + 31 at GMPParent.cpp:23
    frame #3: 0x000000010353f705 XUL`GMPParent(this=0x0000000129bce800) + 21 at GMPParent.cpp:24
    frame #4: 0x00000001035455da XUL`mozilla::gmp::GeckoMediaPluginService::ProcessPossiblePlugin(this=0x0000000129730520, aDir=0x00000001325eaa00) + 714 at GMPService.cpp:477
    frame #5: 0x0000000103545299 XUL`mozilla::gmp::GeckoMediaPluginService::SearchDirectory(this=0x0000000129730520, aSearchDir=0x00000001325ea880) + 793 at GMPService.cpp:447
    frame #6: 0x0000000103544aa0 XUL`mozilla::gmp::GeckoMediaPluginService::RefreshPluginList(this=0x0000000129730520) + 432 at GMPService.cpp:504
    frame #7: 0x0000000103544369 XUL`mozilla::gmp::GeckoMediaPluginService::SelectPluginForAPI(this=0x0000000129730520, aOrigin=0x0000000132680988, aAPI=0x00000001326807c8, aTags=0x00000001326809b0) + 201 at GMPService.cpp:287
    frame #8: 0x00000001035445d9 XUL`mozilla::gmp::GeckoMediaPluginService::GetGMPVideoEncoder(this=0x0000000129730520, aTags=0x00000001326809b0, aOrigin=0x0000000132680988, aOutVideoHost=0x00000001326809c0, aGMPVE=0x00000001326809b8) + 553 at GMPService.cpp:242
    frame #9: 0x000000010237b3cf XUL`mozilla::WebrtcGmpVideoEncoder::InitEncode_g(this=0x000000012a23b340, aCodecSettings=0x00007fff5fbfc6d0, aNumberOfCores=8, aMaxPayloadSize=1160) + 255 at WebrtcGmpVideoCodec.cpp:128
    frame #10: 0x00000001023801f0 XUL`mozilla::runnable_args_m_3_ret<mozilla::WebrtcGmpVideoEncoder*, int (this=0x0000000134dc0470)(webrtc::VideoCodec const*, int, unsigned int), webrtc::VideoCodec const*, int, unsigned int, int>::Run() + 144 at runnable_utils_generated.h:303
    frame #11: 0x00000001016bd212 XUL`nsThreadSyncDispatch::Run(this=0x0000000123951fd0) + 98 at nsThread.cpp:991
    frame #12: 0x00000001016bc3a2 XUL`nsThread::ProcessNextEvent(this=0x000000012c84a7c0, aMayWait=false, aResult=0x0000000132680c4e) + 1570 at nsThread.cpp:766
    frame #13: 0x00000001015a4587 XUL`NS_ProcessNextEvent(aThread=0x000000012c84a7c0, aMayWait=false) + 151 at nsThreadUtils.cpp:256
    frame #14: 0x0000000101ce8a03 XUL`mozilla::ipc::MessagePumpForNonMainThreads::Run(this=0x000000012a1f7840, aDelegate=0x000000012ad6b350) + 675 at MessagePump.cpp:307
    frame #15: 0x0000000101c6adc6 XUL`MessageLoop::RunInternal(this=0x000000012ad6b350) + 118 at message_loop.cc:229
    frame #16: 0x0000000101c6acd5 XUL`MessageLoop::RunHandler(this=0x000000012ad6b350) + 21 at message_loop.cc:222
    frame #17: 0x0000000101c6ac7d XUL`MessageLoop::Run(this=0x000000012ad6b350) + 45 at message_loop.cc:196
    frame #18: 0x00000001016baa26 XUL`nsThread::ThreadFunc(aArg=0x000000012c84a7c0) + 358 at nsThread.cpp:346
    frame #19: 0x000000010123a5ef libnss3.dylib`_pt_root(arg=0x000000012a6bdf60) + 463 at ptthread.c:212
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.