← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1506953] Re: Sessions are not recreated after a media-hub crash

 

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

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

qtubuntu-media (0.8.1+15.04.20160720-0ubuntu1) vivid; urgency=medium

  * Register for media-hub service unregister/register signals and raise
    an error to the client application when media-hub-server unregisters
    and then re-registers on dbus. This will allow the client to handle
    this event as it deems appropriate. (LP: #1506953)

 -- Jim Hodapp <jim.hodapp@xxxxxxxxxxxxx>  Wed, 20 Jul 2016 21:28:27
+0000


** Changed in: qtubuntu-media (Ubuntu RTM)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtubuntu-media in Ubuntu.
https://bugs.launchpad.net/bugs/1506953

Title:
  Sessions are not recreated after a media-hub crash

Status in Canonical System Image:
  In Progress
Status in media-hub package in Ubuntu:
  In Progress
Status in qtubuntu-media package in Ubuntu:
  In Progress
Status in media-hub package in Ubuntu RTM:
  In Progress
Status in qtubuntu-media package in Ubuntu RTM:
  Fix Released

Bug description:
  After a media-hub crash (or even a manual kill $(pidof media-hub-server) ), existing sessions are not being invalidated/recreated.
  That causes telephony-service-indicator to stop playing notifications for new messages, as it always reuse the same instance.

  In dbus we see it is still trying to use an invalid session:
  -----
  method call sender=:1.132 -> dest=core.ubuntu.media.Service serial=77706 path=/core/ubuntu/media/Service/sessions/3; interface=org.mpris.MediaPlayer2.Player; member=OpenUri
     string "file:///usr/share/sounds/ubuntu/notifications/Xylo.ogg"
  error sender=:1.485 -> dest=:1.132 error_name=org.freedesktop.DBus.Error.UnknownMethod reply_serial=77706
     string "Method "OpenUri" with signature "s" on interface "org.mpris.MediaPlayer2.Player" doesn't exist
  "
  ---

  And the logs are being flooded with the following message:

  -----
  Failed to get current playback position:  org.freedesktop.DBus.Error.UnknownMeth
  od: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properti
  es" doesn't exist
  ------

  AalMediaPlayerService creates both the media session and the media hub
  control instance in its constructor, but it does not seem to manage
  media-hub appearing/disappearing on dbus.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1506953/+subscriptions


References