Closed Bug 864399 Opened 7 years ago Closed 7 years ago
.jsm: _next Local Id sometimes gives a duplicated loca ID
_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).
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)
Attachment #740447 - Flags: review?(fabrice) → review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in before you can comment on or make changes to this bug.