Closed
Bug 864399
Opened 12 years ago
Closed 12 years ago
Webapps.jsm: _nextLocalId sometimes gives a duplicated locaID
Categories
(Core Graveyard :: DOM: Apps, defect)
Core Graveyard
DOM: Apps
Tracking
(blocking-b2g:tef+, firefox21 wontfix, firefox22 wontfix, firefox23 fixed, b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 fixed)
People
(Reporter: amac, Assigned: amac)
Details
(Whiteboard: [fixed-in-birch][qa-])
Attachments
(1 file)
811 bytes,
patch
|
fabrice
:
review+
|
Details | Diff | Splinter Review |
_nextLocalId on Webapps.jsm isn't MT safe. We've seeing that sometimes a newly installed app is getting a localID that belongs to an already installed app, and the preference used to save the maxLocalId assigned gets assigned a lower number than some installed apps. This causes the newly installed apps to not work at all.
Requesting tef+ since this affects core functionality (the ability to install and run third party apps).
Updated•12 years ago
|
Blocks: b2g-apps-v1-next
Updated•12 years ago
|
No longer blocks: b2g-apps-v1-next
Updated•12 years ago
|
Blocks: b2g-apps-v1-next
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → amac
Assignee | ||
Comment 1•12 years ago
|
||
After talking with Fabrice on IRC and making some tests, I think the problem happens when the phone is shutdown on a non-standard way (say, removing the battery) after installing some apps. Or just after the first use on a user build (which copies webapps.json from /system to /data).
Attachment #740447 -
Flags: review?(fabrice)
Updated•12 years ago
|
Attachment #740447 -
Flags: review?(fabrice) → review+
Updated•12 years ago
|
blocking-b2g: tef? → tef+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 2•12 years ago
|
||
Keywords: checkin-needed
Whiteboard: [fixed-in-birch]
Comment 3•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Assignee | ||
Updated•12 years ago
|
status-b2g18:
--- → affected
status-b2g18-v1.0.1:
--- → affected
Comment 4•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18/rev/2a2e2f812bf0
https://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/24f873727389
status-b2g18-v1.0.0:
--- → wontfix
status-firefox21:
--- → wontfix
status-firefox22:
--- → wontfix
status-firefox23:
--- → fixed
Updated•12 years ago
|
Whiteboard: [fixed-in-birch] → [fixed-in-birch][qa-]
Updated•11 years ago
|
No longer blocks: b2g-apps-v1-next
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•