unity8-dash should be excluded from app lifecycle management
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtmir (Ubuntu) |
Fix Released
|
Critical
|
Michał Sawicz | ||
qtmir (Ubuntu RTM) |
Fix Released
|
Critical
|
Michał Sawicz | ||
unity8 (Ubuntu) |
Invalid
|
Critical
|
Unassigned |
Bug Description
STEPS:
1. Install the BBC NEWS app from the store
2. Go back to the apps scope
3. Open the bbc app browse about a bit
4. Click on a video link
5. let it play for a while
6. Cycle back to the scopes
Scopes then restarts
having a lot of apps open my unity8-dash gets contantly killed along the apps if a certain OOM threshold is reached ... this appears like a system crash of the UI (even though it is desired killing) from a user perspective ...
checking the oom_score_adj values of all running apps i see that the dash has the same high value as all other open foreground apps:
...
11 7960 oxide-renderer
11 7963 oxide-renderer
11 7988 oxide-renderer
300 6170 oxide-renderer
802 12514 unity8-dash
802 6088 webbrowser-app
802 6873 webapp-containe
802 7425 webapp-containe
802 7910 webapp-containe
(the full log can be found at http://
Related branches
- Gerry Boland (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 145 lines (+83/-1)5 files modifiedsrc/modules/Unity/Application/processcontroller.cpp (+37/-0)
src/modules/Unity/Application/processcontroller.h (+1/-0)
src/modules/Unity/Application/taskcontroller.cpp (+8/-1)
tests/modules/ApplicationManager/application_manager_test.cpp (+36/-0)
tests/modules/common/mock_oom_controller.h (+1/-0)
- Michał Sawicz: Approve
-
Diff: 145 lines (+83/-1)5 files modifiedsrc/modules/Unity/Application/processcontroller.cpp (+37/-0)
src/modules/Unity/Application/processcontroller.h (+1/-0)
src/modules/Unity/Application/taskcontroller.cpp (+8/-1)
tests/modules/ApplicationManager/application_manager_test.cpp (+36/-0)
tests/modules/common/mock_oom_controller.h (+1/-0)
tags: | added: lt-category-visible lt-date-20141009 lt-prio-high |
tags: | added: lt-blocker |
description: | updated |
Changed in unity8 (Ubuntu): | |
importance: | High → Critical |
Changed in qtmir (Ubuntu): | |
importance: | Undecided → Critical |
Changed in qtmir (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Michał Sawicz (saviq) |
Changed in unity8 (Ubuntu): | |
status: | Triaged → Opinion |
tags: | added: rtm14 |
Changed in unity8 (Ubuntu): | |
status: | Opinion → Invalid |
Changed in qtmir (Ubuntu RTM): | |
importance: | Undecided → Critical |
assignee: | nobody → Michał Sawicz (saviq) |
I think we need to put the dash between the background apps and the foreground app, so that your foreground app doesn't die before the (backgrounded) dash.
The problem is also that the unity8-dash job is respawning, as it's not a "normal" app, so it won't wait until you focus it again to restart... Although that might not be desirable in itself...
And then we need to reduce the mem usage in unity8-dash when people have large music collections (like ogra!).