Closed Bug 1023127 Opened 10 years ago Closed 10 years ago

Race condition during packaged app install on verticalhome boot may throw exceptions

Categories

(Firefox OS Graveyard :: Gaia::Homescreen, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jlal, Unassigned)

References

Details

Caught on travis https://travis-ci.org/mozilla-b2g/gaia/jobs/27178828#L3426

50% sure the problem is app.manifest is not available (or fully filled out) until the package is fully downloaded. Right now if the race is hit it will more or less break the verticalhome screen as it is displaying apps.

Needs more investigation...
QA Whiteboard: [VH-FC-blocking-]
Running this a lot to see if it's really an issue. Maybe it's been fixed, or it was due to a lightning strike.

https://travis-ci.org/KevinGrandon/gaia/builds/27373242
50 green runs, no restarts... I'm going to say we're ok here, but let's investigate if we see this again.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
https://tbpl.mozilla.org/php/getParsedLog.php?id=41638009&tree=Gaia-Try

Still a problem...
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
This also effects the search app...


E/GeckoConsole( 7675): [JavaScript Error: "TypeError: this.descriptor is undefined" {file: "app://search.gaiamobile.org/shared/elements/gaia_grid/js/items/mozapp.js" line: 46}]
E/GeckoConsole( 7675): [JavaScript Error: "TypeError: this.descriptor is undefined" {file: "app://search.gaiamobile.org/shared/elements/gaia_grid/js/items/mozapp.js" line: 46}]
E/GeckoConsole( 7675): [JavaScript Error: "TypeError: manifest is undefined" {file: "app://search.gaiamobile.org/shared/elements/gaia_grid/js/items/mozapp.js" line: 112}]
E/GeckoConsole( 7675): [JavaScript Error: "TypeError: manifest is undefined" {file: "app://search.gaiamobile.org/shared/elements/gaia_grid/js/items/mozapp.js" line: 112}]
E/GeckoConsole( 7675): [JavaScript Error: "TypeError: manifest is undefined" {file: "app://search.gaiamobile.org/shared/elements/gaia_grid/js/items/mozapp.js" line: 112}]
E/GeckoConsole( 7675): [JavaScript Error: "TypeError: manifest is undefined" {file: "app://search.gaiamobile.org/shared/elements/gaia_grid/js/items/mozapp.js" line: 112}]
E/GeckoConsole( 7675): [JavaScript Error: "TypeError: manifest is undefined" {file: "app://search.gaiamobile.org/shared/elements/gaia_grid/js/items/mozapp.js" line: 112}]
E/GeckoConsole( 7675): [JavaScript Error: "TypeError: manifest is undefined" {file: "app://search.gaiamobile.org/shared/elements/gaia_grid/js/items/mozapp.js" line: 112}]


Effectively breaks search (I see no results) worth some debugging time.
This was on my branch I'm assuming? I had rebase errors there =/

I think we can close this, but just wanted to check with you...
Flags: needinfo?(jlal)
I am pretty sure this was my bad on that pull request - I had a rebase error and was passing in an invalid object, causing it to fail 100% of the time. Let me know if you still think it's a problem.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Flags: needinfo?(jlal)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.