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(1409886186.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 Sep 4 23:03:07 ubuntu-phablet kernel: [ 7090.821936] (0)[24524:MtkOmxVdecDecod]type=1400 audit(1409886187.564:89): apparmor="DENIED" operation="open" profile="/usr/bin/media-hub-server" name="/dev/MTK_SMI" pid=24524 comm="MtkOmxVdecDecod" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0 Sep 4 23:03:08 ubuntu-phablet kernel: [ 7091.662986] (0)[24561:CodecLooper]type=1400 audit(1409886188.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 Sep 4 23:03:10 ubuntu-phablet kernel: [ 7093.517505] (1)[24589:CodecLooper]type=1400 audit(1409886190.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 Sep 4 23:03:19 ubuntu-phablet kernel: [ 7102.409151] (1)[24191:QSGRenderThread]type=1400 audit(1409886199.144:92): apparmor="DENIED" operation="open" profile="com.ubuntu.gallery_gallery_2.9.1.1049" name="/proc/M4U_device" pid=24191 comm="QSGRenderThread" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0 Sep 4 23:03:19 ubuntu-phablet kernel: [ 7102.409411] (1)[24191:QSGRenderThread]type=1400 audit(1409886199.144:93): apparmor="DENIED" operation="open" profile="com.ubuntu.gallery_gallery_2.9.1.1049" name="/proc/M4U_device" pid=24191 comm="QSGRenderThread" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0 Sep 4 23:03:20 ubuntu-phablet kernel: [ 7103.643101] (2)[24191:QSGRenderThread]type=1400 audit(1409886200.384:94): apparmor="DENIED" operation="open" profile="com.ubuntu.gallery_gallery_2.9.1.1049" name="/proc/M4U_device" pid=24191 comm="QSGRenderThread" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0 ** Also affects: media-hub Importance: Undecided Status: New ** Also affects: apparmor-easyprof-ubuntu (Ubuntu) Importance: Undecided Status: New ** Changed in: media-hub Importance: Undecided => Critical ** Changed in: apparmor-easyprof-ubuntu (Ubuntu) Importance: Undecided => Critical ** Changed in: gallery-app Status: New => Invalid ** Changed in: media-hub Assignee: (unassigned) => Jim Hodapp (jhodapp) ** Changed in: apparmor-easyprof-ubuntu (Ubuntu) Assignee: (unassigned) => Jamie Strandboge (jdstrand) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu in Ubuntu. https://bugs.launchpad.net/bugs/1365509 Title: Videos fail to play from gallery app Status in Gallery App: Invalid Status in Media Hub: New Status in “apparmor-easyprof-ubuntu” package in Ubuntu: New 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://samplemedia.linaro.org/H264/tears_of_steel_1080p_H264_24fps.mov 2. Copy it to /home/phablet/Videos with MTP (nautilus or gvfs-copy) 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) To manage notifications about this bug go to: https://bugs.launchpad.net/gallery-app/+bug/1365509/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp