Closed
Bug 1160980
Opened 10 years ago
Closed 10 years ago
Service.request('getDeviceMemory') resolves to 0 upon boot.
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(blocking-b2g:2.5+, b2g-master fixed)
| Tracking | Status | |
|---|---|---|
| b2g-master | --- | fixed |
People
(Reporter: timdream, Assigned: timdream)
References
Details
(Keywords: regression)
Attachments
(1 file)
Saw following message in the newly flashed Flame from m-c. qawanted for v2.2.
"InputWindowManager: totalMemory is 0" "
at iwm_makeInputWindow (app://system.gaiamobile.org/gaia_build_defer_index.js:928:339)"
Alternative way to verify: do |adb shell b2g-info| and see if there is a keyboard process.
| Assignee | ||
Comment 1•10 years ago
|
||
The cause of the bug is bug 1150423 and is not in the 2.2 build.
Blocks: 1150423
blocking-b2g: 2.2? → 3.0+
Comment 2•10 years ago
|
||
| Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8600817 [details] [review]
[gaia] timdream:system-feature-mem > mozilla-b2g:master
There are two way to fix this, but the second one will be blocked by bug 1094759.
1) This fix.
2) Return the promise of _getDeviceMemory() in _start() so bootstrap can only continue until it resolves.
I don't know if that fix this actually and I don't know if we should block boot for that one call, so I ended up not to try (2).
I don't know if any other methods wrapped in Services.request calls is affect by bug like this. We should really be careful and not to create start-up data race like the exact bug here in FeatureDetector.
Thanks!
Attachment #8600817 -
Flags: review?(alive)
Attachment #8600817 -
Flags: feedback?(chens)
| Assignee | ||
Updated•10 years ago
|
Keywords: regression
Comment 4•10 years ago
|
||
Comment on attachment 8600817 [details] [review]
[gaia] timdream:system-feature-mem > mozilla-b2g:master
\O/
Attachment #8600817 -
Flags: review?(alive) → review+
| Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Attachment #8600817 -
Flags: feedback?(chens) → feedback+
Comment 6•10 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/0b5274f6b5e83db4ab173efeaeb23625af2379c0
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
status-b2g-master:
--- → fixed
Target Milestone: --- → 2.2 S12 (15may)
Updated•10 years ago
|
status-b2g-v2.5:
--- → fixed
Updated•10 years ago
|
status-b2g-v2.5:
fixed → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•