Closed Bug 1056120 Opened 10 years ago Closed 8 years ago

Media conduit unit tests broken after GMP landing

Categories

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

33 Branch
x86
macOS
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: ekr, Unassigned)

Details

If you run the tests without MOZ_GMP_PATH you get:
[ RUN      ] TransportConduitTest.TestVideoConduitExternalCodec
[9892] WARNING: 'NS_FAILED(mMPS->GetGMPVideoEncoder(&tags, NS_LITERAL_STRING(""), &mHost, &mGMP))', file /Users/ekr/dev/gecko/gecko-dev/media/webrtc/signaling/src/media-conduit/WebrtcGmpVideoCodec.cpp, line 177
/Users/ekr/dev/gecko/gecko-dev/media/webrtc/signaling/test/mediaconduit_unittests.cpp:643: Failure
Value of: err
  Actual: 10116
Expected: mozilla::kMediaConduitNoError
Which is: 0


Run the mediaconduit tests with MOZ_GMP_PATH set to point to a plugin:

 1 FAILED TEST
[9438] ###!!! ABORT: file /Users/ekr/dev/gecko/gecko-dev/ipc/chromium/src/base/lock_impl_posix.cc, line 42
mozilla::Logger::~Logger()+0x0000014F [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x0074E0CF]
mozilla::Logger::~Logger()+0x00000015 [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x0074DF75]
mozilla::LogWrapper::~LogWrapper()+0x00000015 [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x000B1955]
mozilla::LogWrapper::~LogWrapper()+0x00000015 [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x000B1935]
[9438] WARNING: '!compMgr', file /Users/ekr/dev/gecko/gecko-dev/xpcom/glue/nsComponentManagerUtils.cpp, line 63
LockImpl::Lock()+0x00000048 [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x00726188]
Lock::Acquire()+0x00000015 [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x00732545]
AutoLock::AutoLock(Lock&)+0x00000023 [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x00735773]
AutoLock::AutoLock(Lock&)+0x0000001D [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x0073247D]
MessageLoop::PostTask_Helper(tracked_objects::Location const&, Task*, int, bool)+0x00000137 [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x0074F507]
MessageLoop::PostTask(tracked_objects::Location const&, Task*)+0x00000030 [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x0074F3C0]
mozilla::ipc::MessageChannel::OnMessageReceivedFromLink(IPC::Message const&)+0x00000641 [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x007C73B1]
mozilla::ipc::ProcessLink::OnMessageReceived(IPC::Message const&)+0x00000093 [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x007CC243]
non-virtual thunk to mozilla::ipc::ProcessLink::OnMessageReceived(IPC::Message const&)+0x0000002F [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x007CC28F]
IPC::Channel::ChannelImpl::ProcessIncomingMessages()+0x00000E77 [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x0073B467]
IPC::Channel::ChannelImpl::OnFileCanReadWithoutBlocking(int)+0x0000011A [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x0073BCEA]
base::MessagePumpLibevent::OnLibeventNotification(int, short, void*)+0x0000006E [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x00726D9E]
event_persist_closure+0x00000321 [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x007044D1]
event_process_active_single_queue+0x00000170 [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x00703CF0]
event_process_active+0x0000008C [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x006FF92C]
event_base_loop+0x0000033E [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x006FE9DE]
base::MessagePumpLibevent::Run(base::MessagePump::Delegate*)+0x0000018C [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x0072740C]
MessageLoop::RunInternal()+0x00000076 [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x0074F176]
MessageLoop::RunHandler()+0x00000015 [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x0074F085]
MessageLoop::Run()+0x0000002D [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x0074F02D]
base::Thread::ThreadMain()+0x00000110 [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x0076F8D0]
ThreadFunc(void*)+0x0000002C [/Users/ekr/dev/gecko/gecko-dev/obj-x86_64-apple-darwin12.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x007285CC]
_pthread_start+0x00000147 [/usr/lib/system/libsystem_c.dylib +0x00014772]
[9438] ###!!! ABORT: file /Users/ekr/dev/gecko/gecko-dev/ipc/chromium/src/base/lock_impl_posix.cc, line 42
Hit MOZ_CRASH() at /Users/ekr/dev/gecko/gecko-dev/memory/mozalloc/mozalloc_abort.cpp:30
backlog: --- → webRTC+
Rank: 25
Flags: needinfo?(rjesup)
Priority: -- → P2
dealt with long ago
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(rjesup)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.