Session does not close correctly on computer shutdown (while still running)

Bug #909430 reported by Brandon Frohs
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Nuvola Apps Runtime (Nuvola Player)
Invalid
Medium
Unassigned

Bug Description

Ubuntu 11.10 64bit
Nuvola Player 1.0

If Ubuntu 11.10 x64 is shut down without first closing Nuvola Player manually, the next session will bring up a dialog:

> Previous Nuvola Player session was not closed correctly.
> You can try following options to solve this issue:
> [options to reset settings]

This was not an issue prior to the change to Nuvola Player from Google Music Frame (note: this was an upgrade, will attempt a fresh install and update this issue). I've attempted clearing all settings, but I still receive the error.

TODO: nuvolaplayer --debug

TODO: fresh install

Tags: integration
Revision history for this message
Brandon Frohs (bfrohs) wrote :
Download full text (7.9 KiB)

Debug ran before first start (after OS restart)

~$ nuvolaplayer --debug
    Nuvola Info Welcome to Nuvola Player, version: 1.0
    Nuvola Info Report any issues/bugs you might find to https://bugs.launchpad.net/nuvola-player
    Nuvola Debug command: nuvolaplayer --debug
    Nuvola Debug Built with GLib DBus
    Nuvola Debug Built with libsoup cache
    Nuvola Debug Built with Unity Quick List
    Nuvola Debug Built with User scripts support
       Gtk Warning Unable to locate theme engine in module_path: "pixmap",
       Gtk Warning Unable to locate theme engine in module_path: "pixmap",
       Gtk Warning Unable to locate theme engine in module_path: "pixmap",
       Gtk Warning Unable to locate theme engine in module_path: "pixmap",
    Nuvola Debug Crash dialog
libfenryxo Debug Libsoup version: 2.36.0
libfenryxo Debug No environment proxy settings.
    Nuvola Debug Valid 'sandbox_pattern = https?://(music\.google\.com/|accounts\.google(\.\w+)+/|(www\.)?google(\.\w+)+/accounts)' in /usr/share/nuvolaplayer/services/googlemusic/metadata.conf.
    Nuvola Debug Starting web interface for googlemusic: https://music.google.com/music/listen?u=0#auto-playlist-recent_pl
    Nuvola Debug New page request: URI: https://music.google.com/music/listen?u=0#auto-playlist-recent_pl, frame URI: null
    Nuvola Debug Unity Launcher Entry for nuvolaplayer.desktop
    Nuvola Debug Bus acquired: org.mpris.MediaPlayer2.nuvolaplayer, registering objects
    Nuvola Debug Bus name acquired: org.mpris.MediaPlayer2.nuvolaplayer
    Nuvola Debug GNOME settings daemon appeared: org.gnome.SettingsDaemon, :1.9
    Nuvola Debug Sound menu appeared: com.canonical.indicators.sound, :1.67
    Nuvola Debug UbuntuSoundMenu: emmitting 'state_changed' with delay 1 second(s)
    Nuvola Debug Action: view
    Nuvola Debug Action: options
    Nuvola Debug Action: help
    Nuvola Debug Installing service to the new window object
 <unknown> Debug NP_Initialize
 <unknown> Debug NP_Initialize succeeded
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"

(npviewer.bin:2180): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64

(npviewer.bin:2180): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64

(npviewer.bin:2180): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64

(npviewer.bin:2180): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64

(npviewer.bin:2180): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64

(npviewer.bin:2180): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64

(npviewer.bin:2180): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64

(npviewer.bin:2180): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64

(npviewer.bin:2180): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFC...

Read more...

Revision history for this message
Brandon Frohs (bfrohs) wrote :

Reinstalling Nuvola Player does *not* fix the issue.

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Thanks for reporting the issue. The cause is that session/login manager doesn't notify Nuvola Player to quit properly, therefore the running instance is simply killed when user logs out.

> This was not an issue prior to the change to Nuvola Player from Google Music Frame
Previous series, Google Music Frame 0.x, doesn't contain crash dialog, therefore user was not notified that previous session was not closed correctly.

Note to myself: Check what signals GDM emits during log-out process or where can logout callback be registered.

Changed in nuvola-player:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 1.1
Changed in nuvola-player:
assignee: nobody → Jiří Janoušek (fenryxo)
status: Confirmed → In Progress
milestone: 1.1 → 1.0.2
Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Fixed in trunk for GNOME and XFCE.

Changed in nuvola-player:
status: In Progress → Fix Committed
assignee: Jiří Janoušek (fenryxo) → nobody
Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Released in 1.0.2

Changed in nuvola-player:
status: Fix Committed → Fix Released
Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Needs to be fixed in KDE (however, unlikely to be fixed by me, because I don't have enough experiences with KDE).

Changed in nuvola-player:
status: Fix Released → Confirmed
milestone: 1.0.2 → future
Revision history for this message
Stuart Mumford (cadair) wrote :

I also have this issue, I am running Xmonad on Fedora 16.

Infact it happens everytime I use the Xmonad quit KB shortcut.

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Solution independent on desktop environment could be implemented via X Session Management Protocol[1]. There is an unmaintained implementation in libegg[2][3][4]. Patches are welcome.

[1] http://www.x.org/releases/X11R7.6/doc/libSM/xsmp.html
[2] http://git.gnome.org/browse/libegg/tree/libegg/smclient/README
[3] http://git.gnome.org/browse/libegg/tree/libegg/smclient/eggsmclient-xsmp.c
[4] http://git.gnome.org/browse/libegg/tree/libegg/smclient/logout-test.c

tags: added: integration
Changed in nuvola-player:
status: Confirmed → Triaged
Revision history for this message
Jiří Janoušek (fenryxo) wrote :

Since development of Nuvola Player has been discontinued [1], I'm closing the bug tracker. It will be reopened when a new maintainer is found. I'm sorry I wasn't able to address this issue.

[1] https://launchpad.net/nuvola-player/+announcement/11960

Changed in nuvola-player:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.