Closed Bug 820160 Opened 13 years ago Closed 13 years ago

b2g desktop builds sometimes show black screen

Categories

(Firefox OS Graveyard :: GonkIntegration, defect)

defect
Not set
normal

Tracking

(blocking-basecamp:+, firefox19 fixed, firefox20 fixed, b2g18 fixed)

RESOLVED FIXED
B2G C3 (12dec-1jan)
blocking-basecamp +
Tracking Status
firefox19 --- fixed
firefox20 --- fixed
b2g18 --- fixed

People

(Reporter: bhearsum, Assigned: fabrice)

References

Details

Attachments

(1 file)

I've hit this on Linux before and fixed it by removing ~/.mozilla/b2g. Axel is hitting it all the time on OS X, and he says he's heard reports of other people hitting it too. Not sure how to debug it, happy to help however I can.
This might be a dupe of bug 817170, which we thought was fixed already.
I'm seeing an error about not being able to load the twitter notifier manifest, which seems to originate from http://mxr.mozilla.org/mozilla-central/source/dom/apps/src/Webapps.jsm#557, and the source blames http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/shared/FileUtils.jsm#63 which indicates something with the directory service. I don't see that error in the js console in the build from the 8th, and the file it complains about is there, too. Not sure if related.
Blocks: 812836, 812831, 812833
OK, I got a b2g debug build, and I can start my own gaia multilocale profile. FTU isn't localized, but there. The upstream gaia profile doesn't work on the same b2g debug binary. Investigating further.
coreAppsDir is the thing the app can't load, here's what debugger in FileUtils says: Hit JavaScript "debugger" keyword. JS call stack... 0 FileUtils_getDir(key = "coreAppsDir", pathArray = webapps,maps, shouldCreate = true, followLinks = true, dir = undefined, i = undefined, arguments = [object Arguments]) ["resource://gre/modules/FileUtils.jsm":66] key = "coreAppsDir" pathArray = webapps,maps shouldCreate = true followLinks = true dir = undefined i = undefined arguments = [object Arguments] this = [object Object] 1 FileUtils_getFile() ["resource://gre/modules/FileUtils.jsm":42] this = [object Object] 2 anonymous() ["resource://gre/modules/Webapps.jsm":1299] this = [object Object] 3 anonymous() ["resource://gre/modules/Webapps.jsm":1312] this = [object Object] 4 anonymous() ["resource://gre/modules/Webapps.jsm":498] <failed to get 'this' value> 5 anonymous() ["resource://gre/modules/NetUtil.jsm":140] this = [object Object] I'm using the very same b2g-bin against my own multi-locale profile, and it doesn't show that error. Jonas, can you give hints on why that would fail?
Flags: needinfo?(jonas)
coreAppsDir should never be in the codepath for desktop builds. Looking into it.
Attached patch patchSplinter Review
I get b2g desktop starting with that patch, but I'm stuck in the ftu app on a full white screen, which is a different issue.
Assignee: nobody → fabrice
Attachment #691008 - Flags: review?(anygregor)
Attachment #691008 - Flags: review?(anygregor) → review+
Fabrice, which platforms are working for you with this patch?
(In reply to Jonas Sicking (:sicking) from comment #9) > Fabrice, which platforms are working for you with this patch? Linux. I could resurrect an OSX dev environment if needed.
I've also took another look, and found two things: a) apps that have removable=false are breaking desktop. b) all the apps in the desktop build from releng where removable=false, not sure if bug 812198 has had something to do with that. Maybe our build was just in the middle of that? Also, it seems that this patch may be making a fix to a) ?
having removable=false should never happen on desktop, and I don't see that locally on a single locale build. How can I do a multi-locale build to double check?
My own multi-locale build doesn't reproduce, which is how I got to say this might be it. Docs on how to build multi would be Gaia ==== 1. determine which Gaia languages file to use We're currently using GAIA/shared/resources/languages-dev.json [1] and GAIA/shared/resources/languages-all.json [2] as our Gaia languages files. 2. clone the appropriate locales from http://hg.mozilla.org/gaia-l10n into a directory; we use gaia-l10n/ . You'll need to clone a repo for each locale listed in the languages file. 3. in your environment, set LOCALE_BASEDIR to the absolute path of the directory in step 2. set LOCALES_FILE to the absolute path of the file in step 1. [1] http://hg.mozilla.org/integration/gaia-nightly/file/e2eed5263e77/shared/resources/languages-dev.json [2] http://hg.mozilla.org/integration/gaia-nightly/file/e2eed5263e77/shared/resources/languages-all.json
PS: my webapps.json in the build from ftp looks like the following. I can't really say why myself, just to state what I'm seeing. Also asked to get a new build triggered in the desktop automation bug. { "bluetooth.gaiamobile.org": { "origin": "app://bluetooth.gaiamobile.org", "installOrigin": "app://bluetooth.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://bluetooth.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 1 }, "browser.gaiamobile.org": { "origin": "app://browser.gaiamobile.org", "installOrigin": "app://browser.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://browser.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 2 }, "calculator.gaiamobile.org": { "origin": "app://calculator.gaiamobile.org", "installOrigin": "app://calculator.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://calculator.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 3 }, "calendar.gaiamobile.org": { "origin": "app://calendar.gaiamobile.org", "installOrigin": "app://calendar.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://calendar.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 4 }, "camera.gaiamobile.org": { "origin": "app://camera.gaiamobile.org", "installOrigin": "app://camera.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://camera.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 5 }, "clock.gaiamobile.org": { "origin": "app://clock.gaiamobile.org", "installOrigin": "app://clock.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://clock.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 6 }, "communications.gaiamobile.org": { "origin": "app://communications.gaiamobile.org", "installOrigin": "app://communications.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://communications.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 7 }, "costcontrol.gaiamobile.org": { "origin": "app://costcontrol.gaiamobile.org", "installOrigin": "app://costcontrol.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://costcontrol.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 8 }, "email.gaiamobile.org": { "origin": "app://email.gaiamobile.org", "installOrigin": "app://email.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://email.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 9 }, "feedback.gaiamobile.org": { "origin": "app://feedback.gaiamobile.org", "installOrigin": "app://feedback.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://feedback.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 10 }, "fm.gaiamobile.org": { "origin": "app://fm.gaiamobile.org", "installOrigin": "app://fm.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://fm.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 11 }, "gallery.gaiamobile.org": { "origin": "app://gallery.gaiamobile.org", "installOrigin": "app://gallery.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://gallery.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 12 }, "homescreen.gaiamobile.org": { "origin": "app://homescreen.gaiamobile.org", "installOrigin": "app://homescreen.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://homescreen.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 13 }, "keyboard.gaiamobile.org": { "origin": "app://keyboard.gaiamobile.org", "installOrigin": "app://keyboard.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://keyboard.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 14 }, "music.gaiamobile.org": { "origin": "app://music.gaiamobile.org", "installOrigin": "app://music.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://music.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 15 }, "pdfjs.gaiamobile.org": { "origin": "app://pdfjs.gaiamobile.org", "installOrigin": "app://pdfjs.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://pdfjs.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 16 }, "settings.gaiamobile.org": { "origin": "app://settings.gaiamobile.org", "installOrigin": "app://settings.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://settings.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 17 }, "sms.gaiamobile.org": { "origin": "app://sms.gaiamobile.org", "installOrigin": "app://sms.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://sms.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 18 }, "system.gaiamobile.org": { "origin": "app://system.gaiamobile.org", "installOrigin": "app://system.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://system.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 19 }, "video.gaiamobile.org": { "origin": "app://video.gaiamobile.org", "installOrigin": "app://video.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://video.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 20 }, "wallpaper.gaiamobile.org": { "origin": "app://wallpaper.gaiamobile.org", "installOrigin": "app://wallpaper.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://wallpaper.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 21 }, "geoloc.gaiamobile.org": { "origin": "app://geoloc.gaiamobile.org", "installOrigin": "app://geoloc.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://geoloc.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 22 }, "image-uploader.gaiamobile.org": { "origin": "app://image-uploader.gaiamobile.org", "installOrigin": "app://image-uploader.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://image-uploader.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 23 }, "membuster.gaiamobile.org": { "origin": "app://membuster.gaiamobile.org", "installOrigin": "app://membuster.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://membuster.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 24 }, "share-receiver.gaiamobile.org": { "origin": "app://share-receiver.gaiamobile.org", "installOrigin": "app://share-receiver.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://share-receiver.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 25 }, "template.gaiamobile.org": { "origin": "app://template.gaiamobile.org", "installOrigin": "app://template.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://template.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 26 }, "test-agent.gaiamobile.org": { "origin": "app://test-agent.gaiamobile.org", "installOrigin": "app://test-agent.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://test-agent.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 27 }, "test-container.gaiamobile.org": { "origin": "app://test-container.gaiamobile.org", "installOrigin": "app://test-container.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://test-container.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 28 }, "test-receiver-1.gaiamobile.org": { "origin": "app://test-receiver-1.gaiamobile.org", "installOrigin": "app://test-receiver-1.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://test-receiver-1.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 29 }, "test-receiver-2.gaiamobile.org": { "origin": "app://test-receiver-2.gaiamobile.org", "installOrigin": "app://test-receiver-2.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://test-receiver-2.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 30 }, "test-receiver-inline.gaiamobile.org": { "origin": "app://test-receiver-inline.gaiamobile.org", "installOrigin": "app://test-receiver-inline.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://test-receiver-inline.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 31 }, "test-sensors.gaiamobile.org": { "origin": "app://test-sensors.gaiamobile.org", "installOrigin": "app://test-sensors.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://test-sensors.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 32 }, "uitest.gaiamobile.org": { "origin": "app://uitest.gaiamobile.org", "installOrigin": "app://uitest.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://uitest.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 33 }, "crystalskull.gaiamobile.org": { "origin": "app://crystalskull.gaiamobile.org", "installOrigin": "app://crystalskull.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://crystalskull.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 34 }, "cubevid.gaiamobile.org": { "origin": "app://cubevid.gaiamobile.org", "installOrigin": "app://cubevid.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://cubevid.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 35 }, "penguinpop.gaiamobile.org": { "origin": "app://penguinpop.gaiamobile.org", "installOrigin": "app://penguinpop.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://penguinpop.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 36 }, "tasks.gaiamobile.org": { "origin": "app://tasks.gaiamobile.org", "installOrigin": "app://tasks.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://tasks.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 37 }, "towerjelly.gaiamobile.org": { "origin": "app://towerjelly.gaiamobile.org", "installOrigin": "app://towerjelly.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://towerjelly.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 38 }, "twittershare.gaiamobile.org": { "origin": "app://twittershare.gaiamobile.org", "installOrigin": "app://twittershare.gaiamobile.org", "receipt": null, "installTime": 132333986000, "manifestURL": "app://twittershare.gaiamobile.org/manifest.webapp", "appStatus": 3, "localId": 39 }, "maps": { "origin": "http://m.here.net/", "installOrigin": "http://m.here.net/", "receipt": null, "installTime": 132333986000, "manifestURL": "http://m.here.net/manifest.webapp", "removable": false, "localId": 40 }, "marketplace": { "origin": "https://marketplace.firefox.com/telefonica/", "installOrigin": "https://marketplace.firefox.com/telefonica/", "receipt": null, "installTime": 132333986000, "manifestURL": "https://marketplace.firefox.com/telefonica/manifest.webapp", "removable": false, "localId": 41 }, "marketplace-dev": { "origin": "https://marketplace-dev.allizom.org/telefonica/", "installOrigin": "https://marketplace-dev.allizom.org/telefonica/", "receipt": null, "installTime": 132333986000, "manifestURL": "https://marketplace-dev.allizom.org/telefonica/manifest.webapp", "removable": false, "localId": 42 }, "marketplace-staging": { "origin": "https://marketplace.allizom.org/telefonica/", "installOrigin": "https://marketplace.allizom.org/telefonica/", "receipt": null, "installTime": 132333986000, "manifestURL": "https://marketplace.allizom.org/telefonica/manifest.webapp", "removable": false, "localId": 43 } }
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
blocking-basecamp: ? → +
We want this uplifted all the way to 18, right?
At this point B2G has branched from the beta branch. So we need this on the mozilla-aurora and the mozilla‑b2g18 branch.
Fabrice, can you do the uplift of this?
Target Milestone: --- → B2G C3 (12dec-1jan)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: