Closed Bug 975529 Opened 11 years ago Closed 11 years ago

Crash in camera error handling path after bug 909542

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

All
Gonk (Firefox OS)
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 975472

People

(Reporter: mwu, Unassigned)

References

Details

(Keywords: crash, regression, Whiteboard: [b2g-crash])

Crash. Program received signal SIGSEGV, Segmentation fault. js::UncheckedUnwrap (wrapped= 0xb5dff0ad <mozilla::nsDOMCameraControl::~nsDOMCameraControl()>, stopAtOuter=stopAtOuter@entry=true, flagsp=flagsp@entry=0x0) at ../../../gecko/js/src/jswrapper.cpp:86 86 if (!wrapped->is<WrapperObject>() || (gdb) bt #0 js::UncheckedUnwrap ( wrapped=0xb5dff0ad <mozilla::nsDOMCameraControl::~nsDOMCameraControl()>, stopAtOuter=stopAtOuter@entry=true, flagsp=flagsp@entry=0x0) at ../../../gecko/js/src/jswrapper.cpp:86 #1 0xb5c65dde in mozilla::dom::CallbackObject::CallSetup::CallSetup ( this=0xbe85bd60, aCallback=0xb6cb8d28 <vtable for mozilla::nsDOMCameraControl+8>, aRv=..., aExceptionHandling=<optimized out>, aCompartment=0x0, aIsJSImplementedWebIDL=false) at ../../../gecko/dom/bindings/CallbackObject.cpp:78 #2 0xb5dfdc42 in mozilla::dom::CameraErrorCallback::Call ( this=0xb6cb8d28 <vtable for mozilla::nsDOMCameraControl+8>, error=..., aRv=..., aExceptionHandling=aExceptionHandling@entry=mozilla::dom::CallbackObject::eReportExceptions) at ../../dist/include/mozilla/dom/CameraManagerBinding.h:189 #3 0xb5dfe0fe in mozilla::nsDOMCameraControl::OnError ( this=this@entry=0xb355c530, aContext=<optimized out>, aError=...) at ../../../gecko/dom/camera/DOMCameraControl.cpp:1231 #4 0xb5dff618 in mozilla::DOMCameraControlListener::Callback::RunCallback ( this=0xb35fec80, aDOMCameraControl=0xb355c530) at ../../../gecko/dom/camera/DOMCameraControlListener.cpp:340 #5 0xb5dff5ac in mozilla::DOMCameraControlListener::DOMCallback::Run ( this=0xb35fec80) at ../../../gecko/dom/camera/DOMCameraControlListener.cpp:53 #6 0xb5767992 in ProcessNextEvent (result=0xbe85bec7, mayWait=<optimized out>, this=0xb48024e0) at ../../../gecko/xpcom/threads/nsThread.cpp:643 #7 nsThread::ProcessNextEvent (this=0xb48024e0, mayWait=<optimized out>, result=0xbe85bec7) at ../../../gecko/xpcom/threads/nsThread.cpp:567 #8 0xb573aaa6 in NS_ProcessNextEvent (thread=<optimized out>, mayWait=mayWait@entry=false) at ../../../gecko/xpcom/glue/nsThreadUtils.cpp:263 #9 0xb5894748 in mozilla::ipc::MessagePump::Run (this=0xb4801af0, aDelegate=0xbe85bfc8) at ../../../gecko/ipc/glue/MessagePump.cpp:95 #10 0xb588adae in MessageLoop::RunInternal (this=this@entry=0xbe85bfc8) at ../../../gecko/ipc/chromium/src/base/message_loop.cc:226 #11 0xb588ae60 in RunHandler (this=0xbe85bfc8) at ../../../gecko/ipc/chromium/src/base/message_loop.cc:219 #12 MessageLoop::Run (this=0xbe85bfc8) at ../../../gecko/ipc/chromium/src/base/message_loop.cc:193 #13 0xb5cac7ee in nsBaseAppShell::Run (this=0xb3d89a00) at ../../../gecko/widget/xpwidgets/nsBaseAppShell.cpp:164 #14 0xb6274072 in XRE_RunAppShell () at ../../../gecko/toolkit/xre/nsEmbedFunctions.cpp:679 #15 0xb588adae in MessageLoop::RunInternal (this=this@entry=0xbe85bfc8) at ../../../gecko/ipc/chromium/src/base/message_loop.cc:226 #16 0xb588ae60 in RunHandler (this=0xbe85bfc8) at ../../../gecko/ipc/chromium/src/base/message_loop.cc:219 #17 MessageLoop::Run (this=this@entry=0xbe85bfc8) at ../../../gecko/ipc/chromium/src/base/message_loop.cc:193 #18 0xb6274406 in XRE_InitChildProcess (aArgc=6, aArgv=<optimized out>, aProcess=<optimized out>) at ../../../gecko/toolkit/xre/nsEmbedFunctions.cpp:516 #19 0x000086ee in main (argc=8, argv=0xbe85c954) at ../../../gecko/ipc/app/MozillaRuntimeMain.cpp:149
Is there any end-user STR or a reduced test case we can use to reproduce this crash?
Severity: normal → critical
Whiteboard: [b2g-crash]
(In reply to Jason Smith [:jsmith] from comment #1) > > Is there any end-user STR or a reduced test case we can use to reproduce > this crash? Working on an automated test case for bug 975472 now.
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.