Closed Bug 927201 Opened 11 years ago Closed 11 years ago

Camera: Fix observer service during shutdown

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(blocking-b2g:koi+, firefox25 wontfix, firefox26 fixed, firefox27 fixed, b2g-v1.2 fixed)

RESOLVED FIXED
blocking-b2g koi+
Tracking Status
firefox25 --- wontfix
firefox26 --- fixed
firefox27 --- fixed
b2g-v1.2 --- fixed

People

(Reporter: gwagner, Assigned: gwagner)

Details

Attachments

(1 file)

30	    MOZ_CRASH();
(gdb) bt
#0  0xb6372882 in mozalloc_abort (msg=<optimized out>) at ../../../memory/mozalloc/mozalloc_abort.cpp:30
#1  0xb5af454e in Abort (aMsg=0xbe8769c4 "[Child 5428] ###!!! ABORT: You can't dereference a NULL nsCOMPtr with operator->().: 'mRawPtr != 0', file ../../dist/include/nsCOMPtr.h, line 819")
    at ../../../xpcom/base/nsDebugImpl.cpp:430
#2  NS_DebugBreak (aSeverity=<optimized out>, aStr=0xb6476a4b "You can't dereference a NULL nsCOMPtr with operator->().", aExpr=0xb6476a84 "mRawPtr != 0", aFile=0xb6476a2d "../../dist/include/nsCOMPtr.h", aLine=819)
    at ../../../xpcom/base/nsDebugImpl.cpp:417
#3  0xb4d5dba0 in nsCOMPtr<nsIObserverService>::operator-> (this=0xbe876de8) at ../../dist/include/nsCOMPtr.h:819
#4  0xb5533966 in nsDOMCameraManager::~nsDOMCameraManager (this=0xb2559850, __in_chrg=<optimized out>) at ../../../dom/camera/DOMCameraManager.cpp:69
#5  0xb55339f2 in nsDOMCameraManager::DeleteCycleCollectable (this=0xb2559850) at ../../../dom/camera/DOMCameraManager.cpp:29
#6  0xb5af3ca6 in SnowWhiteKiller::~SnowWhiteKiller (this=0xbe876e24, __in_chrg=<optimized out>) at ../../../xpcom/base/nsCycleCollector.cpp:1988
#7  0xb5af3d14 in nsCycleCollector::FreeSnowWhite (this=0xb3e82000, aUntilNoSWInPurpleBuffer=<optimized out>) at ../../../xpcom/base/nsCycleCollector.cpp:2097
Attached patch patchSplinter Review
Assignee: nobody → anygregor
Attachment #817517 - Flags: review?(mrbkap)
Attachment #817517 - Flags: review?(mrbkap) → review+
blocking-b2g: --- → koi+
Keywords: checkin-needed
https://hg.mozilla.org/integration/b2g-inbound/rev/061dae989042

In the future, please make sure your patches have the commit information included when requesting checkin :)
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/061dae989042
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: