ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #07204
[Bug 1506953] Re: Sessions are not recreated after a media-hub crash
** Changed in: canonical-devices-system-image
Status: Fix Committed => 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:
Fix Released
Status in media-hub package in Ubuntu:
Fix Released
Status in qtubuntu-media package in Ubuntu:
Fix Released
Status in media-hub package in Ubuntu RTM:
Fix Released
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