App scope is blank

Bug #1578283 reported by Alan Pope 🍺🐧🐱 🦄
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
Alejandro J. Cura
unity-scope-click (Ubuntu)
Fix Released
Critical
Marcus Tomlinson

Bug Description

Running latest rc-proposed on a bq 4.5. For some time now I frequently get a blank app scope.
(see screenshot)
I have only one scope enabled - the app scope.
I have tried refreshing and it never comes back.
Sometimes a reboot helps.

Tags: lt-blocker

Related branches

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

This should be fixed with next unity8 landing in silo 71 https://requests.ci-train.ubuntu.com/#/ticket/1078

Changed in canonical-devices-system-image:
status: New → In Progress
milestone: none → 11
assignee: nobody → Michał Sawicz (saviq)
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-scope-click (Ubuntu):
status: New → Confirmed
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Revision history for this message
Paweł Stołowski (stolowski) wrote :

Hmm, I'm not aware of any branch in silo 71 that was supposed to fix this problem... Are you sure it was silo 71? Do we know what was the root cause and are we sure it's fixed?

NB, I'm not able to reproduce.

Revision history for this message
Paweł Stołowski (stolowski) wrote :

After talking to Saviq on IRC we think this issue got confused with https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1545866 (which indeed had a fix in silo 71).
So, to my understanding the issue of Apps scope going blank is unfortunately not fixed, re-opening.

Changed in canonical-devices-system-image:
status: Fix Committed → New
tags: added: lt-blocker
Changed in canonical-devices-system-image:
status: New → Confirmed
importance: High → Critical
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

fwiw I also saw the store scope and app previews blank the first time I visited each

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

Hey Alan, do you by any chance have a whole bunch of clicks stored away somewhere that you install on your phone, say, each time you re-flash?

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

No. This phone doesn't get re-flashed, and I don't install lots of clicks on it. I have OTA'd and re-flashed a bit, but mostly not "--wiped" at all for many months.

Revision history for this message
Andrea Bernabei (faenil) wrote :

I get blank apps scope basically after every rc-proposed OS upgrade (i.e. the device reboots to install the upgrade, and when unity8 starts, apps scope is empty), and sometimes after installing apps from the store.

The problem started about 2 weeks ago, iirc.

Refreshing the scope fixes the problem, in my case.

Revision history for this message
Paweł Stołowski (stolowski) wrote :

It would be helpful to run the Apps scope manually with debug enabled, reproduce the issue and grab the output, i.e.
1) Make sure the scope is not running already (ps aux|grep clickscope)
2) Log in via adb and run it as phablet user:
U1_DEBUG=1 /usr/lib/arm-linux-gnueabihf/unity-scopes/scoperunner "" /usr/lib/arm-linux-gnueabihf/unity-scopes/clickapps/clickscope.ini > output.log 2>&1
3) Reproduce the problem & stop the scope (CTRL+C), attach output.log.

Alternatively, add "env U1_DEBUG=1" below "author" line in /usr/share/upstart/sessions/scope-registry.conf to enable debug permanently, then reboot the phone - if the problem is reproduced, the debug output should be appended to /home/phablet/.cache/upstart/scope-registry.log.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

scope-registry.log with U1_DEBUG=1 in /usr/share/upstart/sessions/scope-registry.conf and reproducing the issue after a reboot on arale rc-proposed 317

Revision history for this message
Andrea Bernabei (faenil) wrote :

there you go
http://pastebin.ubuntu.com/16317195/

at 12:34 the phone had just rebooted, at 12:38 I unlocked the screen

krillin, rc-proposed, r325

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

unity8-dash.log from the same boot.

Michał Sawicz (saviq)
Changed in canonical-devices-system-image:
assignee: Michał Sawicz (saviq) → Alejandro J. Cura (alecu)
Changed in unity-scope-click (Ubuntu):
assignee: nobody → Pawel Stolowski (stolowski)
importance: Undecided → Critical
Revision history for this message
dobey (dobey) wrote :

Does everyone who can recreate this issue have a very large number of apps installed?

@popey I know you do, could you attach a tarball of ~/.local/share/applications/ that we could dump on a phone to verify if # of installed apps is related, or if perhaps some app in particular might be causing the issue?

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

131 applications in the tarball attached.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

245 listed in .local/share/applications.

231 according to click list | wc -l

Revision history for this message
Andrea Bernabei (faenil) wrote :

88 listed in .local/share/applications.

Changed in unity-scope-click (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Buzea Bogdan (bogdanke8) wrote :
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

@bogdanke8, hmm, that situation actually looks more sever. With this bug at least you see the scope. It's just empty: https://launchpadlibrarian.net/257870964/device-2016-05-04-165411.png

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

With the packages from silo 54 I cannot reproduce it on MX4

While testing I created bug #1579859 which seems unrelated

Revision history for this message
Alejandro J. Cura (alecu) wrote :

It doesn't seem that the number of apps matters: I just installed 350 click packages at once, and still can't reproduce this bug. Krillin, rc-proposed, r327.

Changed in canonical-devices-system-image:
status: Confirmed → In Progress
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

@alecu, Yeah I am yet to reproduce the myself :/

However, the revert I did in silo 54 does seem to fix it somehow. Since applying the silo, Alan, Andrea, and Pat can no longer reproduce the issue. Just waiting for a thumbs up from Jean-Baptiste.

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

Alright, we have a thumbs up from Jean-Baptiste. Let's continue with reverting the sign-all-requests changes and I will continue to look into WHY this fixes it.

Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

I still haven't been able to reproduce this bug. At least, not unless I try to load the app store while the network is down, which is probably expected behavior. Is there any reliable recipe for triggering it?

Changed in unity-scope-click (Ubuntu):
assignee: Pawel Stolowski (stolowski) → Marcus Tomlinson (marcustomlinson)
Revision history for this message
Paweł Stołowski (stolowski) wrote :

@Selene no, there isn't... Only some people were able to reproduce. It was basically a race / timing issue - Marcus and I were not hitting it after spending a day trying.

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

@Selene, yeah, but I was able to reproduce the issue programatically by simulating some slow startup logic with a sleep(). This allowed me to produce what I believe is now the proper fix to the bug (MP attached).

Thanks to faenil, jibel, pmcgowan, and poppy, we've confirmed that the change does in fact fix the problem.

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

^ poppy -> popey. Autocorrect fail :P

Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Changed in unity-scope-click (Ubuntu):
status: In Progress → Fix Committed
dobey (dobey)
Changed in unity-scope-click (Ubuntu):
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.