rhythmbox crashed with SIGSEGV in gdk_window_has_impl()

Bug #1286002 reported by Michael Gratton
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Coverart Browser
Incomplete
Undecided
Unassigned
rhythmbox (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Crash on some kind of keyboard/mouse input combo. Goes away if I disabled the coverart-browser plugin, but possibly a python bindings issue?

ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: rhythmbox 3.0.1-1ubuntu10
ProcVersionSignature: Ubuntu 3.13.0-13.33-generic 3.13.5
Uname: Linux 3.13.0-13-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Feb 28 17:29:35 2014
ExecutablePath: /usr/bin/rhythmbox
InstallationDate: Installed on 2011-06-03 (1000 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcCmdline: rhythmbox
SegvAnalysis:
 Segfault happened at: 0x7f49e49b1952: cmp 0x90(%rdi),%rdi
 PC (0x7f49e49b1952) ok
 source "0x90(%rdi)" (0x00000090) not located in a known VMA region (needed readable region)!
 destination "%rdi" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: rhythmbox
StacktraceTop:
 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
 gdk_x11_window_get_xid () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-xim.so
 ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
 ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6
Title: rhythmbox crashed with SIGSEGV in gdk_x11_window_get_xid()
UpgradeStatus: Upgraded to trusty on 2014-02-28 (0 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare video

Revision history for this message
Michael Gratton (mjog) wrote :
information type: Private → Public
Revision history for this message
Michael Gratton (mjog) wrote :
Revision history for this message
fossfreedom (fossfreedom) wrote :

Mike can you run a stack trace with the rhythmbox-dbg debug symbols package installed.

This should hopefully give a hint of what issue you are hitting.

At the moment I cannot reproduce your issue.

https://wiki.ubuntu.com/DebuggingProgramCrash

also traces such as

rhythmbox -D coverart

and

rhythmbox -d

will also be useful to determine where in the plugin you are hitting this issue.

Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 gdk_window_has_impl (window=0x0) at /build/buildd/gtk+3.0-3.10.7/./gdk/gdkwindow.c:596
 _gdk_window_has_impl (window=window@entry=0x0) at /build/buildd/gtk+3.0-3.10.7/./gdk/gdkwindow.c:597
 gdk_x11_window_get_xid (window=0x0) at /build/buildd/gtk+3.0-3.10.7/./gdk/x11/gdkwindow-x11.c:5516
 gtk_im_context_xim_filter_keypress (context=0x2862310, event=0x16f5b00) at /build/buildd/gtk+3.0-3.10.7/./modules/input/gtkimcontextxim.c:673
 gtk_im_multicontext_filter_keypress (context=0x23341e0, event=0x16f5b00) at /build/buildd/gtk+3.0-3.10.7/./gtk/gtkimmulticontext.c:361

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in rhythmbox (Ubuntu):
importance: Undecided → Medium
summary: - rhythmbox crashed with SIGSEGV in gdk_x11_window_get_xid()
+ rhythmbox crashed with SIGSEGV in gdk_window_has_impl()
tags: removed: need-amd64-retrace
Revision history for this message
fossfreedom (fossfreedom) wrote :

Rhythmbox itself looks like its having difficulty scanning your music collection - it is choking around this point

 /home/mjg/media/music/Thee Oh Sees/The Oh Sees_The Intelligence/02 Mincing Around The Frocks.mp3

Please backup the folders ~/.cache/rhythmbox and ~/.local/share/rhythmbox/ and all the contents below these folders - you can restore these later.

Then delete those folders

Restart Rhythmbox and but dont import your music collection.

Activate Coverart - does rhythmbox crash? Try restarting and confirm if it crashes or not.

Then repeat - reimport your music collection - does rhythmbox start correctly after activating coverart ?

Revision history for this message
Michael Gratton (mjog) wrote :

Attached is the stderr from the following:

1. Execute rhythmbox -d without CoverArt Browser plugins enabled, wait for library to finish loading
2. Enable CoverArt Browser Search provider
3. Enable CoverArt Browser
4. Select the Cover Art source, wait for it to finish loading
5. Click on the first album in the source, Alt-Tab out of RB
6. Crash

Revision history for this message
Michael Gratton (mjog) wrote :
Download full text (4.2 KiB)

After backing up and deleting ~/.cache/rhythmbox and ~/.local/share/rhythmbox, then changing the location of my music library to a directory that doesn't exist, then restarting RB I can still get RB to crash when the CoverArt plugins are enabled, after a lot of random mousing around and clicking the CoverArt source however. Nothing in particular is printed to the console on the crash and I can't seem to make it crash when the plugins are disabled with an empty library.

Backtraces looks like this:

#0 0x00007ffff3118952 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#1 0x00007ffff314517e in gdk_x11_window_get_xid () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#2 0x00007fffd00a23b8 in ?? () from /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-xim.so
#3 0x00007ffff3728b33 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#4 0x00007ffff03c3adc in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6
#5 0x00007ffff03c340c in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6
#6 0x00007ffff2315cd9 in g_callable_info_invoke () from /usr/lib/libgirepository-1.0.so.1
#7 0x00007ffff2317017 in g_function_info_invoke () from /usr/lib/libgirepository-1.0.so.1
#8 0x00007fffc7cdfbef in ?? () from /usr/lib/python3/dist-packages/gi/_gi.cpython-34m-x86_64-linux-gnu.so
#9 0x00007fffc7cd57ae in ?? () from /usr/lib/python3/dist-packages/gi/_gi.cpython-34m-x86_64-linux-gnu.so
#10 0x00007fffcc33a748 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0
#11 0x00007fffcc404c59 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0
#12 0x00007fffcc41a7c6 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0
#13 0x00007fffcc41adf6 in ?? () from /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0
#14 0x00007fffcc33a748 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0
#15 0x00007fffcc3323ed in ?? () from /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0
#16 0x00007fffcc33a748 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0
#17 0x00007fffcc39ffa7 in PyEval_CallObjectWithKeywords () from /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0
#18 0x00007fffc7cdf0e8 in ?? () from /usr/lib/python3/dist-packages/gi/_gi.cpython-34m-x86_64-linux-gnu.so
#19 0x00007ffff75263b8 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ffff7537d3d in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff753f6f9 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff753fce2 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#23 0x00007ffff386c5a4 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#24 0x00007ffff388996b in gtk_window_propagate_key_event () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#25 0x00007ffff388c5bb in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#26 0x00007ffff374397c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#27 0x00007ffff75263b8 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007ffff7537afb in ?? () from /usr/lib/x86_...

Read more...

Revision history for this message
fossfreedom (fossfreedom) wrote :

From github

"
Actually, to get it to crash, I need to select an album in the Cover Art source, then cause at least the window to lose focus (Alt-Tab out, click on another app window, etc).

Output from rhythmbox -d is here since it is huge: https://bugs.launchpad.net/coverartbrowser/+bug/1286002/+attachment/4002955/+files/rb-debug.txt
"

Mike - thanks for your perseverance with this.

In some ways its good that you've managed to reproduce this in a repeatable manner.

However - the bad news is that myself cannot reproduce this with your instructions. Nothing in the traces you have provided indicate where in the code the issue is occurring. It is deep in the GDK stuff which to me looks like a graphics stack issue - Something obviously to do with focus & defocussing + keyboard interaction.

Try changing to artist view - does alt-tab produce the crash? If it still crashes then I'm not convinced this is a plugin issue per-say because the artist view does not have the same graphics code as the album-view ; the problem is a more fundamental graphics issue that should be reproducible with other apps.

Try changing the look of the album view - say from album info underneath the tile to within the tile

Other than that I've not really got much more to add but hoping that a kernel/graphics stack/driver update will resolve your issue in the future.

Changed in rhythmbox (Ubuntu):
status: New → Incomplete
Changed in coverartbrowser:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for rhythmbox (Ubuntu) because there has been no activity for 60 days.]

Changed in rhythmbox (Ubuntu):
status: Incomplete → Expired
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.