Closed
Bug 1129069
Opened 10 years ago
Closed 9 years ago
Cannot open Calendar app after installing reference workload
Categories
(Firefox OS Graveyard :: Gaia::PerformanceTest, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Eli, Unassigned)
References
Details
(Keywords: perf, regression)
While working on getting Raptor up and running in automation, I have found that I cannot test the Calendar application because it does not fully launch. I suspect that the cause of this issue is the same one plaguing bug 1067625.
After trying a couple different base images, I have been able to reproduce this issue locally by installing a reference workload and then opening the Calendar app, e.g. `make reference-workload-light`.
Here is the logcat from attempting to launch the Calendar app:
=================
I/Homescreen( 2697): Content JS LOG: Performance Entry: mark|appLaunch@Calendar|11231.45937|0|1422991012636
I/Homescreen( 2697): at logEntry/< (app://verticalhome.gaiamobile.org/shared/js/usertiming.js:38:8)
I/(Preallocated app)( 2955): Failed to load native module at path '/system/b2g/components/libxpcomsample.so': (80004005) dlopen failed: library "/system/b2g/components/libxpcomsample.so" not found
E/HWComposer( 2450): Non-uniform vsync interval: 100069739
I/Gecko ( 2955): ###################################### forms.js loaded
I/Gecko ( 2955): ############################### browserElementPanning.js loaded
I/Gecko ( 2955): ######################## BrowserElementChildPreload.js loaded
V/WLAN_PSA( 212): NL MSG, len[048], NL type[0x11] WNI type[0x5050] len[028]
E/HWComposer( 2450): Non-uniform vsync interval: 817471511
I/Calendar( 2955): Content JS LOG: app [calendar] "Will initialize calendar app..."
I/Calendar( 2955): at module.exports/< (app://calendar.gaiamobile.org/js/bundle.js:3742:4)
I/Calendar( 2955): Content JS LOG: app [calendar] "Configure calendar with db and router."
I/Calendar( 2955): at module.exports/< (app://calendar.gaiamobile.org/js/bundle.js:3742:4)
I/Calendar( 2955): Content JS LOG: message_handler [calendar] "Will listen for alarm messages..."
I/Calendar( 2955): at module.exports/< (app://calendar.gaiamobile.org/js/bundle.js:3742:4)
I/Calendar( 2955): Content JS LOG: message_handler [calendar] "Will listen for notification messages..."
I/Calendar( 2955): at module.exports/< (app://calendar.gaiamobile.org/js/bundle.js:3742:4)
I/Calendar( 2955): Content JS LOG: db [calendar] "Will load b2g-calendar db."
I/Calendar( 2955): at module.exports/< (app://calendar.gaiamobile.org/js/bundle.js:3742:4)
E/HWComposer( 2450): Non-uniform vsync interval: 583331666
E/HWComposer( 2450): Non-uniform vsync interval: 424167
W/Calendar( 2955): [JavaScript Error: "downloadable font: OS/2: bad linegap: -32 (font-family: "gaia-icons" style:normal weight:normal stretch:normal src index:0) source: data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggi/aoAAAC8AAAAYGNtYXAaVc1LAAABHAAAAExnYXNwAAAAEAAAAWgAAAAIZ2x5ZnYZ6DIAAAFwAADXQGhlYWQEQOEjAADYsAAAADZoaGVhBtH/6wAA2OgAAAAkaG10eOsAVAsAANkMAAAD5GxvY2EPIEZIAADc8AAAAfRtYXhwAQwBmAAA3uQAAAAgbmFtZVcZpu4AAN8EAAABRXBvc3QAAwAAAADgTAAAACAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADm9AHg/+D/4AHgACAAAAABAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEADgAAAAKAAgAAgACAAEAIOb0//3//wAAAAAAIOYA//3//wAB/+MaBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAgCTAFABbQFgAA0ARAAAJSImJy4BNTMUBgcOASM3IyImPwE+ATc+ATUxNTM+ATc+ATc0JjE0Njc+ATMyFhceAR0BHgEXHgEXMxUUFhceAR8BFgYjAQAHDAQFBkQGBQQMB2DADAUEAwYJAwQEAQEHBgYQCQEGBAUNBwcNBAUFCRAGBgcBAQQEAwkGAwQFDVAFBAULBwcLBQQFMBwEBAQKBQYMBzUJDwcHCgQBAggMBQUFBQUFDAgEAwsHBh
W/GeckoConsole( 2450): [JavaScript Error: "IndexedDB UnknownErr: ActorsParent.cpp:412"]
W/Calendar( 2955): [JavaScript Error: "UnknownError" {file: "app://calendar.gaiamobile.org/js/bundle.js" line: 7588}]
I/Calendar( 2955): Content JS LOG: controllers/service [calendar] "Will load and initialize worker..."
I/Calendar( 2955): at module.exports/< (app://calendar.gaiamobile.org/js/bundle.js:3742:4)
I/Calendar( 2955): Content JS LOG: worker/manager [calendar] "Will add" "caldav" "worker at" "/js/caldav_worker.js"
I/Calendar( 2955): at module.exports/< (app://calendar.gaiamobile.org/js/bundle.js:3742:4)
I/Calendar( 2955): Content JS LOG: controllers/notifications [calendar] "Will start notifications controller..."
I/Calendar( 2955): at module.exports/< (app://calendar.gaiamobile.org/js/bundle.js:3742:4)
I/Calendar( 2955): Content JS LOG: controllers/periodic_sync [calendar] "Will start periodic sync controller..."
I/Calendar( 2955): at module.exports/< (app://calendar.gaiamobile.org/js/bundle.js:3742:4)
=================
> W/GeckoConsole( 2450): [JavaScript Error: "IndexedDB UnknownErr: ActorsParent.cpp:412"]
So it appears that something with the reference workload install script borks something with indexedDB.
Comment 1•10 years ago
|
||
Typically this is caused by a bug in the database upgrade code - I would look there first...
Reporter | ||
Comment 2•10 years ago
|
||
Jon, could you point me in the right direction, where would that be?
Comment 3•10 years ago
|
||
I believe this is currently handled here: https://github.com/mozilla-b2g/gaia/blob/master/apps/calendar/js/db.js#L156
Comment 4•10 years ago
|
||
Judging from bug 1067625, this must have stopped working sometime in Dec. Since that calendar db file hasn't been touched since October, there might be deeper issues here. In any caes, let's get a regression window.
Full STR is:
1.) Install reference workload light
2.) Open Calendar app
Expected result:
Calendar app launches and functions.
Actual result:
Calendar app shows a blank screen, and we see the above errors in logcat.
Keywords: regression,
regressionwindow-wanted
Updated•10 years ago
|
QA Contact: jmercado
Comment 5•10 years ago
|
||
Bug 1089764 seems to be the cause of this issue.
Mozilla-inbound Regression Window
Last Working
Environmental Variables:
Device: Flame 2.2
BuildID: 20141104114945
Gaia: 3c50520982560ccba301474d1ac43706138fc851
Gecko: 0b298d91fbdd
Version: 36.0a1 (2.2)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0
First Broken
Environmental Variables:
Device: Flame 2.2
BuildID: 20141104124546
Gaia: 3c50520982560ccba301474d1ac43706138fc851
Gecko: 2266676732ef
Version: 36.0a1 (2.2)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0
Last Working gaia / First Broken gecko - Issue DOES occur
Gaia: 3c50520982560ccba301474d1ac43706138fc851
Gecko: 2266676732ef
First Broken gaia / Last Working gecko - Issue does NOT occur
Gaia: 3c50520982560ccba301474d1ac43706138fc851
Gecko: 0b298d91fbdd
Gaia Pushlog: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=0b298d91fbdd&tochange=2266676732ef
Comment 6•10 years ago
|
||
Jan, can you take a look at this please? Looks like the work done on 1089764 might have caused this issue to occur.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker) → needinfo?(Jan.Varga)
Comment 7•10 years ago
|
||
Also adding a needinfo on Ben/Jon in case you guys might be aware of how the storage changes in bug 1089764 could affect reference workloads.
Flags: needinfo?(jhylands)
Flags: needinfo?(bent.mozilla)
Comment 8•10 years ago
|
||
We should wait for input from Jan Varga, since he wrote that patch. The thing that typically affects reference workloads are changes to the database path.
We normally use one of:
/data/local/storage/permanent
/data/local/storage/default
/data/local/storage/persistent
/data/local/indexedDB
So if this patch changed the base directory for calendars to be somewhere else, that could be the problem...
Flags: needinfo?(jhylands)
Comment 10•10 years ago
|
||
Flags: needinfo?(Jan.Varga)
Updated•10 years ago
|
Flags: needinfo?(bent.mozilla)
Reporter | ||
Comment 11•9 years ago
|
||
This was resolved by backing out bug 867320.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•