Videos fail to play from gallery app
Bug #1365509 reported by
Jean-Baptiste Lallement
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Media Hub |
Fix Released
|
Critical
|
Jani Monoses | ||
gallery-app |
Invalid
|
Undecided
|
Unassigned | ||
apparmor-easyprof-ubuntu (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
com.ubuntu.gallery 2.9.1.1049
Videos launched from the gallery app do not play in mediaplayer even if the video plays perfectly when launched from other apps (scope, filemanager or directly)
TEST CASE:
1. Download http://
2. Copy it to /home/phablet/
3. Open the gallery-app
4. Locate the video in the gallery
5. Tap the video thumbnail to play it in the media player
ACTUAL RESULT
The video plays but is black or green and with audio only, or doesn't play at all. Often there is a media-hub-server crash and sometimes a mediaplayer crash (bug 1364476)
tags: | added: application-confinement |
To post a comment you must log in.
Note, this only happens on krillin. It works fine on mako.
I'm testing with build 16 on krillin. Looks like some policy things may have to be added. There are a ton of apparmor denials in /var/log/syslog when trying to play a video in gallery:
Sep 4 23:03:06 ubuntu-phablet kernel: [ 7089.770923] (0)[24512: CodecLooper] type=1400 audit(140988618 6.514:88) : apparmor="DENIED" operation="open" profile= "com.ubuntu. gallery_ gallery_ 2.9.1.1049" name="/ android/ system/ etc/mtk_ omx_core. cfg" pid=24512 comm="CodecLooper" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0 MtkOmxVdecDecod ]type=1400 audit(140988618 7.564:89) : apparmor="DENIED" operation="open" profile= "/usr/bin/ media-hub- server" name="/dev/MTK_SMI" pid=24524 comm="MtkOmxVde cDecod" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0 CodecLooper] type=1400 audit(140988618 8.404:90) : apparmor="DENIED" operation="open" profile= "com.ubuntu. gallery_ gallery_ 2.9.1.1049" name="/ android/ system/ etc/mtk_ omx_core. cfg" pid=24561 comm="CodecLooper" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0 CodecLooper] type=1400 audit(140988619 0.254:91) : apparmor="DENIED" operation="open" profile= "com.ubuntu. gallery_ gallery_ 2.9.1.1049" name="/ android/ system/ etc/mtk_ omx_core. cfg" pid=24589 comm="CodecLooper" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0 QSGRenderThread ]type=1400 audit(140988619 9.144:92) : apparmor="DENIED" operation="open" profile= "com.ubuntu. gallery_ gallery_ 2.9.1.1049" name="/ proc/M4U_ device" pid=24191 comm="QSGRender Thread" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0 QSGRenderThread ]type=1400 audit(140988619 9.144:93) : apparmor="DENIED" operation="open" profile= "com.ubuntu. gallery_ gallery_ 2.9.1.1049" name="/ proc/M4U_ device" pid=24191 comm="QSGRender Thread" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0 QSGRenderThread ]type=1400 audit(140988620 0.384:94) : apparmor="DENIED" operation="open" profile= "com.ubuntu. gallery_ gallery_ 2.9.1.1049" name="/ proc/M4U_ device" pid=24191 comm="QSGRender Thread" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
Sep 4 23:03:07 ubuntu-phablet kernel: [ 7090.821936] (0)[24524:
Sep 4 23:03:08 ubuntu-phablet kernel: [ 7091.662986] (0)[24561:
Sep 4 23:03:10 ubuntu-phablet kernel: [ 7093.517505] (1)[24589:
Sep 4 23:03:19 ubuntu-phablet kernel: [ 7102.409151] (1)[24191:
Sep 4 23:03:19 ubuntu-phablet kernel: [ 7102.409411] (1)[24191:
Sep 4 23:03:20 ubuntu-phablet kernel: [ 7103.643101] (2)[24191: