Closed
Bug 795658
Opened 13 years ago
Closed 13 years ago
Assertion failure: _mOwningThread.GetThread() == PR_GetCurrentThread() (GonkGPSGeolocationProvider not thread-safe), at dom/system/gonk/GonkGPSGeolocationProvider.cpp:40
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
People
(Reporter: cjones, Assigned: kanru)
Details
Attachments
(1 file)
9.64 KB,
patch
|
dougt
:
review+
|
Details | Diff | Splinter Review |
STR
(1) Open the camera in a debug build
I'm not sure where this assertion is coming from.
Assignee | ||
Comment 1•13 years ago
|
||
hmm.. line 40 is
NS_IMPL_ISUPPORTS2(GonkGPSGeolocationProvider, nsIGeolocationProvider, nsIRILDataCallback)
If this class really is threadsafe, that should be
NS_IMPL_THREADSAFE_ISUPPORTS2(...)
or the threadsafe warning will trigger on every AddRef/Release.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → kchen
Assignee | ||
Comment 3•13 years ago
|
||
While most of the methods should run from main thread, we deliberately put Init and ShutdownGPS to the other thread to prevent blocking.
Attachment #667347 -
Flags: review?(doug.turner)
Updated•13 years ago
|
Attachment #667347 -
Flags: review?(doug.turner) → review+
Assignee | ||
Comment 4•13 years ago
|
||
Comment 5•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•