Closed Bug 758096 Opened 9 years ago Closed 9 years ago
###!!! ASSERTION: Switch
Sensor not thread-safe
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
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.
Deprecate previous version, which Eclipse filled in wrong user.
Target Milestone: --- → mozilla15
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.