Phone hangs by repeatedly taking screenshots
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
High
|
Michał Sawicz | ||
| | media-hub (Ubuntu) |
Undecided
|
Unassigned | ||
| | unity8 (Ubuntu) |
High
|
Lukáš Tinkl | ||
Bug Description
current build number: 145
device name: arale
channel: ubuntu-
last update: 2015-10-22 07:33:52
Test Case:
1. Take a screenshot by pressing vol-up and vol-down
2. Repeat steps 1 until the UI hangs
Actual Results
Shell hangs and only the power button is responsive
Expected results
I can take screenshots forever
Related branches
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2015-11-24
- Michał Sawicz: Needs Fixing on 2015-11-24
- Michael Zanetti (community): Approve on 2015-11-19
-
Diff: 106 lines (+25/-9)4 files modifiedplugins/ScreenGrabber/screengrabber.cpp (+18/-8)
plugins/ScreenGrabber/screengrabber.h (+5/-0)
tests/plugins/ScreenGrabber/CMakeLists.txt (+1/-1)
tests/plugins/ScreenGrabber/ScreenGrabberTest.cpp (+1/-0)
| Jean-Baptiste Lallement (jibel) wrote : | #1 |
| dinamic (dinamic6661) wrote : | #2 |
| Launchpad Janitor (janitor) wrote : | #3 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in unity8 (Ubuntu): | |
| status: | New → Confirmed |
| Jean-Baptiste Lallement (jibel) wrote : | #4 |
When you reach the state where the phone hangs, it eventually resumes after several minutes but then another screenshot will make it hang again.
This lines appear in unity8.log
virtual void AalMediaPlayerC
Failed to stop playback: Problem stopping playback on remote object
virtual QMediaPlayer:
virtual QMediaPlayer:
virtual void AalMediaPlayerC
virtual QMediaPlayer:
virtual QMediaPlayer:
void AalMediaPlayerS
Failed to check if source is video: org.freedesktop
| Changed in canonical-devices-system-image: | |
| assignee: | nobody → Michał Sawicz (saviq) |
| status: | New → Confirmed |
| Changed in canonical-devices-system-image: | |
| importance: | Undecided → High |
| no longer affects: | media-hub (Ubuntu) |
| Michael Zanetti (mzanetti) wrote : | #5 |
This has been fixed by:
https:/
| Changed in unity8 (Ubuntu): | |
| status: | Confirmed → Fix Released |
| Changed in canonical-devices-system-image: | |
| status: | Confirmed → Fix Released |
| Changed in canonical-devices-system-image: | |
| milestone: | none → ww02-2016 |
| status: | Fix Released → Fix Committed |
| Pat McGowan (pat-mcgowan) wrote : | #6 |
I just reproduced this on v195 by taking 3 screenshots, the shell is frozen on the greeter indefinitely, log contains same as comment #4
| Changed in canonical-devices-system-image: | |
| status: | Fix Committed → Confirmed |
| Changed in unity8 (Ubuntu): | |
| assignee: | nobody → Lukáš Tinkl (lukas-kde) |
| importance: | Undecided → High |
| status: | Fix Released → Confirmed |
| Michael Zanetti (mzanetti) wrote : | #7 |
Ok. Comment 4 says that media stuff is blocking on a D-Bus call. I have tried it on krillin, mako and arale and could not observe this behavior. We did have a screenshot related bug recently that would block for some 2 seconds when making a screenshot, however that one has been fixed and for me it doesn't block/hang any more at all now.
If that still happens for you, and it always prints the log from comment 4, it probably implies something (I assume media-hub) being crashed before and then playing the screenshot sound hangs, waiting on a sync dbus reply from media hub.
@Pat, Jean-Baptiste: Can you try to find out more? Does this happen all the time for you? Or only after some other steps? When in this state, can you try invoking other actions that make a sound and see if those hang? Perhaps creating a notification that plays the notification sound.
Adding back media-hub as comment 4 really points towards that.
| Launchpad Janitor (janitor) wrote : | #8 |
Status changed to 'Confirmed' because the bug affects multiple users.
| affects: | media-hub → media-hub (Ubuntu) |
| Changed in media-hub (Ubuntu): | |
| status: | New → Confirmed |
| Pat McGowan (pat-mcgowan) wrote : | #9 |
I did not get a media-hub crash, this was on arale.
I reproduced it this time on the 9th consecutive screen shot
Unity8 is alive and reporting this every 30 secs
Failed to get current playback position: org.freedesktop
It then acts briefly and partially on a pending gesture
| Pat McGowan (pat-mcgowan) wrote : | #10 |
unity8 log http://
media-hub log http://
| Jim Hodapp (jhodapp) wrote : | #11 |
From comment #10 in the media-hub log, looks like media-hub is trying to do something on an internal GStreamer pipeline thread which is very bad.
| Launchpad Janitor (janitor) wrote : | #12 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in media-hub (Ubuntu): | |
| status: | New → Confirmed |
| summary: |
- Phone hangs by repeatedly refreshing the apps scope and taking - screenshots + Phone hangs by repeatedly taking screenshots |
| description: | updated |
| Changed in canonical-devices-system-image: | |
| milestone: | ww02-2016 → ww08-2016 |
| description: | updated |
| Pat McGowan (pat-mcgowan) wrote : | #13 |
seems fixed to me
| Changed in canonical-devices-system-image: | |
| status: | Confirmed → Fix Committed |
| Changed in media-hub (Ubuntu): | |
| status: | Confirmed → Fix Released |
| Changed in unity8 (Ubuntu): | |
| status: | Confirmed → Fix Released |
| Changed in canonical-devices-system-image: | |
| status: | Fix Committed → Fix Released |

when i take a screenshot of the apps scope on arale, it freezes the UI for 4-5 seconds https:/ /bugs.launchpad .net/canonical- devices- system- image/+ bug/1494480