Web Application fail to load properly every other time is launched
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Oxide |
Critical
|
Chris Coulson | ||
| 1.2 |
Critical
|
Chris Coulson | ||
| The Webapps-core project |
Critical
|
Alexandre Abreu | ||
| webbrowser-app |
Invalid
|
Critical
|
Alexandre Abreu | |
| webbrowser-app (Ubuntu) |
Critical
|
Alexandre Abreu |
Bug Description
I am testing a game called ninjaflips. Works fine the first time you launch it , but the second time wont load correctly. If you close it and try again it will launch fine and so on..
Attached logs for working and not working plus click package
Victor Tuson Palau (vtuson) wrote : | #1 |
Victor Tuson Palau (vtuson) wrote : | #2 |
Changed in webbrowser-app: | |
assignee: | nobody → Alexandre Abreu (abreu-alexandre) |
tags: | added: rtm14 touch-2014-09-11 |
Changed in webbrowser-app: | |
importance: | Undecided → High |
status: | New → In Progress |
no longer affects: | libunity-webapps |
Launchpad Janitor (janitor) wrote : | #4 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in webbrowser-app (Ubuntu): | |
status: | New → Confirmed |
tags: |
added: touch-2014-09-25 removed: touch-2014-09-11 |
Changed in webbrowser-app (Ubuntu): | |
importance: | Undecided → High |
status: | Confirmed → In Progress |
assignee: | nobody → Alexandre Abreu (abreu-alexandre) |
Changed in webbrowser-app: | |
importance: | High → Critical |
Changed in webbrowser-app (Ubuntu): | |
importance: | High → Critical |
Olivier Tilloy (osomon) wrote : | #5 |
Those two lines, from the failed log, seem to be relevant:
[0828/
[0828/
Changed in oxide: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
Olivier Tilloy (osomon) wrote : | #6 |
Following up discussion on IRC with Alex and Bill, there was a suspicion that this problem might be linked to the use of the SessionStorage object in the webapp container. I discarded this hypothesis by commenting out all SessionStorage-
Bill Filler (bfiller) wrote : | #7 |
Note the MR linked in this bug should no longer be linked as it doesn't address this issue.
Changed in webbrowser-app: | |
status: | In Progress → Invalid |
Changed in webbrowser-app (Ubuntu): | |
status: | In Progress → Invalid |
Changed in webapps-core: | |
importance: | Undecided → Critical |
tags: | removed: touch-2014-09-25 |
Bill Filler (bfiller) wrote : | #8 |
The MR should be linked to this bug:
https:/
tags: | added: touch-2014-09-25 |
Changed in webapps-core: | |
assignee: | nobody → Alexandre Abreu (abreu-alexandre) |
status: | New → Triaged |
Changed in webapps-core: | |
status: | Triaged → In Progress |
Changed in oxide: | |
status: | Confirmed → Incomplete |
Changed in oxide: | |
status: | Incomplete → Confirmed |
Changed in webapps-core: | |
status: | In Progress → Invalid |
Chris Coulson (chrisccoulson) wrote : | #9 |
This breaks because disk_cache:
How are applications stopped when you swipe them away in the app switcher?
Chris Coulson (chrisccoulson) wrote : | #10 |
Changed in oxide: | |
status: | Confirmed → Fix Released |
assignee: | nobody → Chris Coulson (chrisccoulson) |
milestone: | none → branch-1.3 |
Olivier Tilloy (osomon) wrote : | #11 |
> How are applications stopped when you swipe them away
> in the app switcher?
QtMir calls ubuntu_
Chris Coulson (chrisccoulson) wrote : | #12 |
Thanks, although I'm still not entirely clear. I should rephrase my question :)
Is the application given a chance to shut down cleanly (ie, the destructors for things like the QCoreApplication and any QQmlEngines run), or is it just killed? This bug would suggest either the latter, or resources not being cleaned up properly (which would sync the application cache to disk and would have prevented this problem)
Olivier Tilloy (osomon) wrote : | #13 |
I’m not sure how exactly upstart’s Stop() method is implemented, but from my observations swiping an application away from the app switcher doesn’t give it a chance to shut down cleanly, i.e. it is killed. Which explains the issue.
app log when failing to load