Closed Bug 1265962 Opened 9 years ago Closed 9 years ago

Camera app crash on Aries

Categories

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

38 Branch
Unspecified
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1265427

People

(Reporter: sotaro, Unassigned)

References

Details

When Camera app is started, it just crashed.
stack of crash. (gdb) info stack #0 0xb51cd116 in mozilla::dom::MediaStreamTrack::AddListener (this=0xb6ab0100, aListener=0xb082b8c0) at /home/sotaro/b2g_master_aries/B2G/gecko/dom/media/MediaStreamTrack.cpp:365 #1 0xb51d7c2c in mozilla::dom::MediaStreamTrack::MediaStreamTrack (this=0xb6ab0100, aStream=<optimized out>, aTrackID=2, aInputTrackID=<optimized out>, aSource=0xb00bc370) at /home/sotaro/b2g_master_aries/B2G/gecko/dom/media/MediaStreamTrack.cpp:118 #2 0xb539b72c in VideoStreamTrack (aSource=0xb00bc370, aInputTrackID=2, aTrackID=2, aStream=0xb0061780, this=0xb6ab0100) at ../../dist/include/mozilla/dom/VideoStreamTrack.h:20 #3 mozilla::nsDOMCameraControl::TrackCreated (this=0xb0061780, aTrackID=2) at /home/sotaro/b2g_master_aries/B2G/gecko/dom/camera/DOMCameraControl.cpp:534 #4 0xb538d8d0 in applyImpl<mozilla::TrackCreatedListener, void (mozilla::TrackCreatedListener::*)(int), StoreCopyPassByValue<int>, 0u> (args=..., m=<optimized out>, o=<optimized out>) at ../../dist/include/nsThreadUtils.h:671 #5 apply<mozilla::TrackCreatedListener, void (mozilla::TrackCreatedListener::*)(int)> (m=<optimized out>, o=<optimized out>, this=<optimized out>) at ../../dist/include/nsThreadUtils.h:678 #6 nsRunnableMethodImpl<void (mozilla::TrackCreatedListener::*)(int), true, int>::Run (this=<optimized out>) at ../../dist/include/nsThreadUtils.h:705 #7 0xb46c37a0 in nsThread::ProcessNextEvent (this=0xb6a02630, aMayWait=<optimized out>, aResult=0xbeea7cb7) at /home/sotaro/b2g_master_aries/B2G/gecko/xpcom/threads/nsThread.cpp:994 #8 0xb46d4928 in NS_ProcessNextEvent (aThread=<optimized out>, aThread@entry=0xb6a02630, aMayWait=aMayWait@entry=false) at /home/sotaro/b2g_master_aries/B2G/gecko/xpcom/glue/nsThreadUtils.cpp:290 #9 0xb48bbd24 in mozilla::ipc::MessagePump::Run (this=0xb6a01be0, aDelegate=0xbeea7db8) at /home/sotaro/b2g_master_aries/B2G/gecko/ipc/glue/MessagePump.cpp:98 #10 0xb48ab57e in RunHandler (this=0xbeea7db8) at /home/sotaro/b2g_master_aries/B2G/gecko/ipc/chromium/src/base/message_loop.cc:223 #11 MessageLoop::Run (this=0xbeea7db8) at /home/sotaro/b2g_master_aries/B2G/gecko/ipc/chromium/src/base/message_loop.cc:203 #12 0xb54329fe in nsBaseAppShell::Run (this=0xb29ca8e0) at /home/sotaro/b2g_master_aries/B2G/gecko/widget/nsBaseAppShell.cpp:156
Blocks: 1208371
Blocks: 1252143
nsDOMCameraControl was applied as mOwningStream in MediaStreamTrack(VideoStreamTrack), but nsDOMCameraControl does not have OwnedStream. MediaStreamTrack requests that mOwningStream should have OwnedStream.
:pehrsons, can you comment to the bug? It seemed to be caused by Bug 1208371.
Flags: needinfo?(pehrsons)
Alexandre has a fix for this on m-i.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(pehrsons)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.