Closed
Bug 758096
Opened 12 years ago
Closed 12 years ago
###!!! ASSERTION: SwitchSensor not thread-safe
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: gwagner, Assigned: cyu)
Details
Attachments
(1 file, 1 obsolete file)
972 bytes,
patch
|
mwu
:
review+
|
Details | Diff | Splinter Review |
Gecko compiled in debug mode during startup on device: I/Gecko ( 2204): ###!!! ASSERTION: SwitchSensor not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()', file /Volumes/mac/moz/b2ggecko/hal/gonk/GonkSensor.cpp, line 204
Assignee | ||
Comment 1•12 years ago
|
||
This is not really that bad as it looks. The use of NS_INLINE_DECL_REFCOUNTING() macro asserts it's in the same thread as when the object is created when refcounting. For objects to be passed as to another thread for execution using NS_NewRunnableMethod() this assertion will be triggered, though there actually is no underlying threading problems.
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #626736 -
Flags: review?(mwu)
Assignee | ||
Comment 3•12 years ago
|
||
Deprecate previous version, which Eclipse filled in wrong user.
Assignee: nobody → cyu
Attachment #626736 -
Attachment is obsolete: true
Attachment #626736 -
Flags: review?(mwu)
Attachment #626741 -
Flags: review?(mwu)
Updated•12 years ago
|
Attachment #626741 -
Flags: review?(mwu) → review+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 4•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/3697e932626d
Keywords: checkin-needed
Target Milestone: --- → mozilla15
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3697e932626d
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•