Closed Bug 859593 Opened 11 years ago Closed 6 years ago

[Camera] ###!!! ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr', file ../../../dist/include/nsCOMPtr.h, line 505

Categories

(Core :: DOM: Device Interfaces, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE
blocking-b2g -
Tracking Status
b2g18 + ---

People

(Reporter: dchanm+bugzilla, Unassigned)

References

Details

Attachments

(1 file)

I get the following assertion when testing navigator.mozCameras on a linux x64 build. The test adds the camera permission then accesses the mozCameras object

Rest of the call stack

77 ^G###!!! ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr',file ../../../dist/include/nsCOMPtr.h, line 505
 78 nsObserverService::RemoveObserver(nsIObserver*, char const*) (/home/dchan/mozilla-central/xpcom/ds/nsObserverService.cpp:132)
 79 ~nsDOMCameraManager (/home/dchan/mozilla-central/dom/camera/DOMCameraManager.cpp:71)
 80 operator delete (/home/dchan/mozilla-central/obj-x86_64-unknown-linux-gnu/dom/camera/../../dist/include/mozilla/mozalloc.h:225)
 81 DoDeferredRelease<nsISupports*> (/home/dchan/mozilla-central/js/xpconnect/src/XPCJSRuntime.cpp:613)
 82 ~AutoPhase (/home/dchan/mozilla-central/js/src/gc/Statistics.h:206)
 83 nsXREDirProvider::DoShutdown() (/home/dchan/mozilla-central/toolkit/xre/nsXREDirProvider.cpp:869)
 84 ~ScopedXPCOMStartup (/home/dchan/mozilla-central/toolkit/xre/nsAppRunner.cpp:1118)
 85 operator delete (/home/dchan/mozilla-central/obj-x86_64-unknown-linux-gnu/to    olkit/xre/../../dist/include/mozilla/mozalloc.h:225)
 86 XRE_main (/home/dchan/mozilla-central/toolkit/xre/nsAppRunner.cpp:4152)
 87 do_main (/home/dchan/mozilla-central/browser/app/nsBrowserApp.cpp:273)
 88 main (/home/dchan/mozilla-central/browser/app/nsBrowserApp.cpp:585)
 89 __libc_start_main+0x000000ED  (/lib/x86_64-linux-gnu/libc.so.6)
 90 _start (/home/dchan/mozilla-central/obj-x86_64-unknown-linux-gnu/dist/bin/firefox-bin)
The mochitest will pass, but generate an assertion after completion / closing the test window
blocking-b2g: --- → leo?
Blocks: 815105
Tracking since this impacts the desktop build, but this is not a blocker for phones.
blocking-b2g: leo? → -
tracking-b2g18: --- → +
I'm not sure this doesn't also impact phones (not enough info) but jsmith tells me that since Camera's not generally available to applications we likely wouldn't block on this anyway.
FxOS/Gonk has been removed from the codebase. Mass-invalidating FxOS related Device Interface bugs to clean up the component. 

If I incorrectly invalidated something, please let me know.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Bulk correction of resolution of B2G bugs to INCOMPLETE.
Resolution: INVALID → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: