← Back to team overview

ubuntu-sdk-bugs team mailing list archive

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

 

** Also affects: media-hub (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: media-hub (Ubuntu RTM)
   Importance: Undecided
       Status: New

** Changed in: media-hub (Ubuntu RTM)
       Status: New => Triaged

** Changed in: media-hub (Ubuntu)
       Status: New => Triaged

** Changed in: media-hub (Ubuntu)
   Importance: Undecided => Critical

** Changed in: media-hub (Ubuntu RTM)
   Importance: Undecided => Critical

** Changed in: qtubuntu-media (Ubuntu)
     Assignee: Jim Hodapp (jhodapp) => (unassigned)

** Changed in: qtubuntu-media (Ubuntu RTM)
     Assignee: Jim Hodapp (jhodapp) => (unassigned)

-- 
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:
  Confirmed
Status in media-hub package in Ubuntu:
  Triaged
Status in qtubuntu-media package in Ubuntu:
  Triaged
Status in media-hub package in Ubuntu RTM:
  Triaged
Status in qtubuntu-media package in Ubuntu RTM:
  Triaged

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