media-hub not allowing audio/video playback for confined messaging-app

Bug #1533779 reported by Bill Filler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Committed
High
Bill Filler
media-hub (Ubuntu)
Fix Released
Critical
Jim Hodapp
media-hub (Ubuntu RTM)
Fix Released
Critical
Jim Hodapp
qtubuntu-media (Ubuntu)
Fix Released
Critical
Jim Hodapp
qtubuntu-media (Ubuntu RTM)
Fix Released
Critical
Jim Hodapp

Bug Description

messaging-app is now running confined, it can be tested by installing silo 52

With it running in confinement, we are getting media-hub errors trying to playback audio and video with these errors:

Audio playback:

terminate called after throwing an instance of 'std::logic_error'
  what(): apparmor::ubuntu::Context: Invalid profile name messaging-app
CallMonitor: Creating TelepathyBridge

Video playback:

audio_sink: pulsesink
video_sink: mirsink
Audio stream role: props,media.role=multimedia
terminate called after throwing an instance of 'std::logic_error'
  what(): apparmor::ubuntu::Context: Invalid profile name messaging-app
CallMonitor: Creating TelepathyBridge
Connection to PulseAudio has been successfully established.
PulseAudio sink details for sink.primary with index 0 is available:
  Output to wired headphone: false
  Output to wired headset: false
Checking if port is available -> false
PulseAudio sink details for sink.primary with index 0 is available:
  Output to wired headphone: false
  Output to wired headset: false

Please fix media-hub to allow messaging-app to play audio/video correctly

Related branches

Bill Filler (bfiller)
Changed in media-hub (Ubuntu):
assignee: nobody → Jim Hodapp (jhodapp)
importance: Undecided → High
Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
milestone: none → ww04-2016
importance: Undecided → High
Jim Hodapp (jhodapp)
Changed in media-hub (Ubuntu):
importance: High → Critical
status: New → Triaged
Changed in media-hub (Ubuntu RTM):
importance: Undecided → Critical
assignee: nobody → Jim Hodapp (jhodapp)
status: New → Triaged
Jim Hodapp (jhodapp)
Changed in canonical-devices-system-image:
status: New → In Progress
Changed in media-hub (Ubuntu):
status: Triaged → Fix Committed
Changed in media-hub (Ubuntu RTM):
status: Triaged → Fix Committed
Jim Hodapp (jhodapp)
Changed in qtubuntu-media (Ubuntu):
status: New → Fix Committed
Changed in qtubuntu-media (Ubuntu RTM):
status: New → Fix Committed
Changed in qtubuntu-media (Ubuntu):
importance: Undecided → Critical
Changed in qtubuntu-media (Ubuntu RTM):
importance: Undecided → Critical
Changed in qtubuntu-media (Ubuntu):
assignee: nobody → Jim Hodapp (jhodapp)
Changed in qtubuntu-media (Ubuntu RTM):
assignee: nobody → Jim Hodapp (jhodapp)
Changed in canonical-devices-system-image:
milestone: ww04-2016 → ww08-2016
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

This bug was fixed in the package qtubuntu-media 0.8.0+15.04.20160114.1-0ubuntu1 in https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/stable-phone-overlay

---------------

qtubuntu-media (0.8.0+15.04.20160114.1-0ubuntu1) vivid; urgency=medium

  * Make sure to catch and report the exception
    InsufficientPermissionsToAddTrack (LP: #1533779)

qtubuntu-media (0.8.0+16.04.20160113-0ubuntu1) xenial; urgency=medium

  [ Andrew Hayzen ]
  * Until bug 1518157 (RandomAndLoop playbackMode) is fixed set Random
    to be always looping due to bug 1531296 (LP: #1531296, #1518157)

qtubuntu-media (0.8.0+16.04.20160112.1-0ubuntu1) xenial; urgency=medium

  [ CI Train Bot ]
  * No-change rebuild.

qtubuntu-media (0.8.0+16.04.20160105-0ubuntu1) xenial; urgency=medium

  [ CI Train Bot ]
  * No-change rebuild.

 -- Jim Hodapp <email address hidden> Thu, 14 Jan 2016 21:12:51 +0000

Changed in qtubuntu-media (Ubuntu RTM):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

This bug was fixed in the package media-hub 4.1.0+15.04.20160115.1-0ubuntu1 in https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/stable-phone-overlay

---------------

media-hub (4.1.0+15.04.20160115.1-0ubuntu1) vivid; urgency=medium

  * Make sure that an apparmor profile_name of the format com.ubuntu.my-
    app is supported as well as improve the error handling and reporting
    for when a client does not have the proper apparmor permissions to
    play a given media URI (LP: #1533779)

media-hub (4.1.0+16.04.20160104-0ubuntu1) xenial; urgency=medium

  * Enable dual landings.

media-hub (4.1.0+16.04.20151221-0ubuntu1) xenial; urgency=medium

  * Fix bug #1479036 which prevents the out_of_range exception from
    causing media-hub-server from crashing when a player key is not
    found (LP: #1479036)

media-hub (4.1.0+15.10.20151016.1-0ubuntu1) wily; urgency=medium

  [ Simon Fels ]
  * Prevent us from leaking file descriptors and memory due to not releasing
    gstreamer elements correctly.

  [ Alfonso Sanchez-Beato ]
  * Avoid getting additional references for audio_sink, which were not
    being freed. Also, remove unneeded unrefs that must be performed in
    gstreamer instead.
  * Emit CanPlay, CanPause, and CanGo[Next|Previous] in the mpris object path

  [ Jim Hodapp ]
  * Make sure the correct player is set as the current player controled by
    MPRIS.
  * Improved the can_go_next() and can_go_previous() logic to always return
    true if the loop_status is currently set to loop over the entire
    playlist.

  [ CI Train Bot ]
  * No-change rebuild.

 -- Jim Hodapp <email address hidden> Fri, 15 Jan 2016 15:44:54 +0000

Changed in media-hub (Ubuntu RTM):
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package media-hub - 4.1.0+16.04.20160115.1-0ubuntu1

---------------
media-hub (4.1.0+16.04.20160115.1-0ubuntu1) xenial; urgency=medium

  * Make sure that an apparmor profile_name of the format com.ubuntu.my-
    app is supported as well as improve the error handling and reporting
    for when a client does not have the proper apparmor permissions to
    play a given media URI (LP: #1533779)

 -- Jim Hodapp <email address hidden> Fri, 15 Jan 2016 15:44:54 +0000

Changed in media-hub (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtubuntu-media - 0.8.0+16.04.20160114.1-0ubuntu1

---------------
qtubuntu-media (0.8.0+16.04.20160114.1-0ubuntu1) xenial; urgency=medium

  * Make sure to catch and report the exception
    InsufficientPermissionsToAddTrack (LP: #1533779)

 -- Jim Hodapp <email address hidden> Thu, 14 Jan 2016 21:12:51 +0000

Changed in qtubuntu-media (Ubuntu):
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
milestone: ww08-2016 → ww04-2016
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.