Substituting wallpaper under mir produces blackout

Bug #1234733 reported by Allan LeSage
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-system-settings
Invalid
High
Unassigned
ubuntu-system-settings (Ubuntu)
Invalid
High
Unassigned

Bug Description

Seeing that when when we change wallpaper (even 'Cancel') under mir, I'm led to a blackout; davmor2 reporting 100% CPU for system settings.

Changed in ubuntu-system-settings:
status: New → Confirmed
Revision history for this message
Dave Morley (davmor2) wrote :

So for me I go to change the walllpaper under mir while monitoring adb shells top

I got apport at 98.8% initially and then the following

 1657 phablet 20 0 279m 120m 51m S 99.2 17.3 5:04.69 system-settings

The screen is blank and the system unresponsive. This is on maguro.

On Surface Flinger the Background just changed.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, what the settings are doing is basically writting a gsettings config key, that unity is picking...
Could you

- give us the bug number from apport, that's likely a segfault (we need a good stacktrace on it, could you get one manually if the retracing doesn't work)?

- check on other devices? (I think somebody said, the other day on IRC, that the issue was specific to maguro)

- check what happens if you change the gsettings key by hand?
e.g
$ adb shell
$ su - phablet
$ gsettings set org.gnome.desktop.background picture-uri 'file:///directory/to/an/image.jpg'

Changed in ubuntu-system-settings:
importance: Undecided → High
status: Confirmed → Incomplete
Revision history for this message
Allan LeSage (allanlesage) wrote :

seb128 to your points above:

- Two crashes coincide with this settings hang: gallery-app reported as lp:1234767 , unity8 reported as lp:1234737 .
- Hang occurs on both mako (mine) and maguro (davmor2's).
- Setting manually as you describe has the effect of changing the wallpaper successfully, no hang.

tags: added: qa-touch rls-s-incoming
Revision history for this message
Sebastien Bacher (seb128) wrote :

if unity8 is segfaulting, it could explain why the change doesn't get applied then, since unity is the process drawing the background...

Revision history for this message
Ken VanDine (ken-vandine) wrote :

When changing it from system-settings, there is a crossfade from the toolkit. Maybe that is triggering a crash?

Revision history for this message
Allan LeSage (allanlesage) wrote :

More to test here? To whom would we address the crossfade question? Asking b/c I don't know.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the crossfade is a toolkit feature, so the sdk team most likely

Revision history for this message
Ken VanDine (ken-vandine) wrote :

You can test to see if crossfade is triggering it with qmlscene using this QML file. Just replace test1.png and test2.png to images that exist on the device.

Revision history for this message
Allan LeSage (allanlesage) wrote :

Ken's test behaves as expected; also having installed upstart-app-launch-tools at his direction, `upstart-app-launch gallery-app` does nothing, just get a warning: http://paste.ubuntu.com/6193234/ .

Revision history for this message
Allan LeSage (allanlesage) wrote :

Correction, with a fully-qualified login as phablet, gallery-app launch works properly.

Revision history for this message
Allan LeSage (allanlesage) wrote :
Revision history for this message
Allan LeSage (allanlesage) wrote :

Per ted's request here are bustle logs from seb128's gsettings tweak above.

Iain Lane (laney)
Changed in ubuntu-system-settings (Ubuntu):
importance: Undecided → High
status: New → Incomplete
Revision history for this message
Allan LeSage (allanlesage) wrote :

This may be related to lp:1235195 , or at least someone's making the inference that unity8 is implicated over there?

Laney, kenvandine, seb128, what further can I test to 'complete' this bug for us?

Revision history for this message
Allan LeSage (allanlesage) wrote :

Persists in image 83 FWIW.

Revision history for this message
Ken VanDine (ken-vandine) wrote :
Revision history for this message
Ken VanDine (ken-vandine) wrote :
Revision history for this message
Ken VanDine (ken-vandine) wrote :

I attached 2 click packages that provide an importer and exporter for an image using content-hub. To test this, install both click packages and set the default source for pictures to the exporter example with gsettings.

sudo click install --force-missing-framework --user=$USER com.ubuntu.developer.ken-vandine.hub-importer_0.1_all.click
sudo click install --force-missing-framework --user=$USER com.ubuntu.developer.ken-vandine.hub-exporter_0.1_all.click
gsettings set com.ubuntu.content.hub.default pictures com.ubuntu.developer.ken-vandine.hub-exporter_hub-exporter_0.1

Search for "hub" in the applications scope, and launch "Hub Importer". Click on the "Import from default" button. You should see Hub Exporter launch and take focus. Click the "Export" button. The application won't close, so swipe to switch back to the Hub Importer app. You should see the ubuntuone-music icon displayed.

Revision history for this message
Allan LeSage (allanlesage) wrote :

Ken all as you describe in the script, the ubuntuone-music icon is displayed, even. I'm going to wait for a resolution to lp:1234609 (proposed cause of related lp:1235195 ) and test again.

Revision history for this message
Iain Lane (laney) wrote :

I don't think this is a problem any more, is it?

Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue was not in system settings but in Mir not liking the gallery-app exiting iirc

Changed in ubuntu-system-settings (Ubuntu):
status: Incomplete → Invalid
Changed in ubuntu-system-settings:
status: Incomplete → Invalid
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.