Amarok causes gnome-shell to crash

Bug #1716967 reported by monochromec
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
amarok (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The subject says it all: when quitting Amarok, the surrounding gnome-shell is restarted.

Apparently, something sends a SIGABRT to the shell:

Sep 13 18:17:45 darkstar-xps kde4-amarok.desktop[8715]: **********************************************************************************************
Sep 13 18:17:45 darkstar-xps kde4-amarok.desktop[8715]: ** AMAROK WAS STARTED IN NORMAL MODE. IF YOU WANT TO SEE DEBUGGING INFORMATION, PLEASE USE: **
Sep 13 18:17:45 darkstar-xps kde4-amarok.desktop[8715]: ** amarok --debug **
Sep 13 18:17:45 darkstar-xps kde4-amarok.desktop[8715]: **********************************************************************************************
Sep 13 18:17:45 darkstar-xps kde4-amarok.desktop[8715]: QWidget::setMinimumSize: (Media Sources dock/BrowserDock) Negative sizes (200,-1) are not possible
Sep 13 18:17:45 darkstar-xps kde4-amarok.desktop[8715]: QWidget::setMinimumSize: (Media Sources dock/BrowserDock) Negative sizes (200,-1) are not possible
Sep 13 18:17:45 darkstar-xps kde4-amarok.desktop[8715]: QWidget::setMinimumSize: (Playlist dock/Playlist::Dock) Negative sizes (200,-1) are not possible
Sep 13 18:17:45 darkstar-xps gnome-shell[8058]: JS WARNING: [resource:///org/gnome/shell/ui/messageList.js 353]: reference to undefined property this._useBodyMarkup
Sep 13 18:17:45 darkstar-xps gnome-shell[8058]: JS WARNING: [resource:///org/gnome/shell/ui/messageList.js 386]: reference to undefined property this._useBodyMarkup
Sep 13 18:17:45 darkstar-xps kde4-amarok.desktop[8715]: QWidget::setMinimumSize: (Media Sources dock/BrowserDock) Negative sizes (200,-1) are not possible
Sep 13 18:17:46 darkstar-xps kde4-amarok.desktop[8715]: QWidget::setMinimumSize: (Playlist dock/Playlist::Dock) Negative sizes (200,-1) are not possible
Sep 13 18:17:46 darkstar-xps kde4-amarok.desktop[8715]: QWidget::setMinimumSize: (Media Sources dock/BrowserDock) Negative sizes (200,-1) are not possible
Sep 13 18:17:46 darkstar-xps kde4-amarok.desktop[8715]: QWidget::setMinimumSize: (Media Sources dock/BrowserDock) Negative sizes (200,-1) are not possible
Sep 13 18:17:46 darkstar-xps gnome-shell[8058]: Allocating size to ShellEmbeddedWindow 0x5564c98fe8a0 without calling gtk_widget_get_preferred_width/height(). How does
the code know the size to allocate?
Sep 13 18:17:47 darkstar-xps kde4-amarok.desktop[8715]: "<?xml version="1.0" encoding="UTF-8" ?>
Sep 13 18:17:47 darkstar-xps kde4-amarok.desktop[8715]: <lfm status="failed"><error code="6">User not found</error>
Sep 13 18:17:47 darkstar-xps kde4-amarok.desktop[8715]: </lfm>
Sep 13 18:17:47 darkstar-xps kde4-amarok.desktop[8715]: "
Sep 13 18:17:50 darkstar-xps kde4-amarok.desktop[8715]: Calling appendChild() on a null node does nothing.
Sep 13 18:17:58 darkstar-xps kde4-amarok.desktop[8715]: amarok(8717)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Sep 13 18:17:58 darkstar-xps kde4-amarok.desktop[8715]: message repeated 2 times: [ amarok(8717)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:]
Sep 13 18:17:58 darkstar-xps kde4-amarok.desktop[8715]: Calling appendChild() on a null node does nothing.
Sep 13 18:17:58 darkstar-xps org.gnome.Shell.desktop[8058]: **
Sep 13 18:17:58 darkstar-xps org.gnome.Shell.desktop[8058]: St:ERROR:st/st-bin.c:186:st_bin_dispose: assertion failed: (priv->child == NULL)
Sep 13 18:17:58 darkstar-xps gnome-session[7902]: gnome-session-binary[7902]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 6
Sep 13 18:17:58 darkstar-xps gnome-session-binary[7902]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 6

Amarok seems to end normally as --debug tells me but invoking it from the command line produces the same effect as from within the shell: it restarts.

More than happy to send more info as required.

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: amarok 2:2.8.0-0ubuntu9
ProcVersionSignature: Ubuntu 4.10.0-33.37-generic 4.10.17
Uname: Linux 4.10.0-33-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed Sep 13 18:22:05 2017
InstallationDate: Installed on 2017-08-31 (12 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: amarok
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
monochromec (monochromec) wrote :
Revision history for this message
monochromec (monochromec) wrote :

The gnome shell seems to be the only environment affected by this issue - I tried Plasma, Cinnamon, XFCE and Mate. None of them crash when Amarok exits.

Revision history for this message
monochromec (monochromec) wrote :
Download full text (6.9 KiB)

Apparently this is caused by a rogue Gnome Shell extension. Running gnome-shell inside a gdb session reveals the following BT after the crash:

...

Thread 1 "gnome-shell" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
58 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
#0 0x00007f21589ce77f in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#1 0x00007f21589d037a in __GI_abort () at abort.c:89
#2 0x00007f2158fef135 in g_assertion_message () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f2158fef1ca in g_assertion_message_expr () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007f215b3a745c in () at /usr/lib/gnome-shell/libgnome-shell.so
#5 0x00007f21592a82f8 in g_object_run_dispose () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6 0x00007f2159ad95ee in clutter_actor_destroy () at /usr/lib/x86_64-linux-gnu/mutter/libmutter-clutter-0.so
#7 0x00007f21542f7e18 in ffi_call_unix64 () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#8 0x00007f21542f787a in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#9 0x00007f215aea2a5f in () at /usr/lib/libgjs.so.0
#10 0x00007f215aea4114 in () at /usr/lib/libgjs.so.0
#11 0x00007f2153c08cd8 in () at /usr/lib/x86_64-linux-gnu/libjs.so.0
#12 0x00007f2153bfe797 in () at /usr/lib/x86_64-linux-gnu/libjs.so.0
#13 0x00007f2153c0896b in () at /usr/lib/x86_64-linux-gnu/libjs.so.0
#14 0x00007f2153c08c24 in () at /usr/lib/x86_64-linux-gnu/libjs.so.0
#15 0x00007f2153c09845 in () at /usr/lib/x86_64-linux-gnu/libjs.so.0
#16 0x00007f2153ed0297 in JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) ()
    at /usr/lib/x86_64-linux-gnu/libjs.so.0
#17 0x00007f215aec31c6 in gjs_call_function_value () at /usr/lib/libgjs.so.0
#18 0x00007f215ae9e2e5 in gjs_closure_invoke () at /usr/lib/libgjs.so.0
#19 0x00007f215aeb603c in () at /usr/lib/libgjs.so.0
#20 0x00007f21592a1c25 in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007f21592b3c32 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007f21592bc88c in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007f21592bcc6f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007f2159ae584c in () at /usr/lib/x86_64-linux-gnu/mutter/libmutter-clutter-0.so
#25 0x00007f215b395da3 in () at /usr/lib/gnome-shell/libgnome-shell.so
#26 0x00007f21592a82f8 in g_object_run_dispose () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007f2159ad95ee in clutter_actor_destroy () at /usr/lib/x86_64-linux-gnu/mutter/libmutter-clutter-0.so
#28 0x00007f2159ae05a4 in clutter_actor_iter_destroy () at /usr/lib/x86_64-linux-gnu/mutter/libmutter-clutter-0.so
#29 0x00007f2159ae0648 in () at /usr/lib/x86_64-linux-gnu/mutter/libmutter-clutter-0.so
#30 0x00007f21592a1c25 in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#31 0x00007f21592b3f46 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#32 0x00007f21592bc88c in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-...

Read more...

Revision history for this message
monochromec (monochromec) wrote :

Please close this one as I filed a new, more fitting bug report: https://bugs.launchpad.net/ubuntu/+source/gjs/+bug/1718993.

Revision history for this message
dino99 (9d9) wrote :
Changed in amarok (Ubuntu):
status: New → Invalid
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.