GNOME Bugzilla – Bug 677464
rhythmbox crashes on startup
Last modified: 2012-09-04 23:28:09 UTC
Created attachment 215637 [details] What I get when I run with -d by hand from command line. This might have something to do with last.fm, but at this point I can't prove it. Signed up and was playing music from last.fm. I think I had the player on hold overnight, but when I came back in, the player had crashed. It no longer starts up. I've attached the debug output when I start rhythmbox from the command line. Hope it helps. You know, rhythmbox really needs to implement the --version option! This version of rhythmbox is that currently available on Ubuntu 12.04 LTS, regularly updated.
Thanks for taking the time to report this bug. Without a stack trace from the crash it's very hard to determine what caused it. Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Followed instructions up to the bug buddy, which did not start up automatically, btw, so I just got into gdb and ran it by hand; thought you might be interested in the various messages output to the console: (gdb) run Starting program: /usr/bin/rhythmbox [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe2c55700 (LWP 23198)] [New Thread 0x7fffe15f4700 (LWP 23199)] [New Thread 0x7fffda14a700 (LWP 23200)] [New Thread 0x7fffd92f6700 (LWP 23201)] [Thread 0x7fffd92f6700 (LWP 23201) exited] (rhythmbox:23197): Gtk-WARNING **: A floating object was finalized. This means that someone called g_object_unref() on an object that had only a floating reference; the initial floating reference is not owned by anyone and must be removed with g_object_ref_sink(). (rhythmbox:23197): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GtkWidget' (rhythmbox:23197): Gtk-CRITICAL **: gtk_grid_attach: assertion `GTK_IS_WIDGET (child)' failed (rhythmbox:23197): Gtk-CRITICAL **: gtk_ui_manager_get_widget: assertion `GTK_IS_UI_MANAGER (manager)' failed [New Thread 0x7fffd92f6700 (LWP 23203)] [Thread 0x7fffd92f6700 (LWP 23203) exited] [New Thread 0x7fffd92f6700 (LWP 23215)] [New Thread 0x7fffc4d3f700 (LWP 23216)] (rhythmbox:23197): GLib-GObject-CRITICAL **: g_object_get: assertion `G_IS_OBJECT (object)' failed (rhythmbox:23197): Gtk-CRITICAL **: gtk_ui_manager_get_widget: assertion `GTK_IS_UI_MANAGER (manager)' failed Program received signal SIGSEGV, Segmentation fault. __GI___libc_free (mem=0x7fff00000002) at malloc.c:2968 2968 malloc.c: No such file or directory. (gdb) thread apply all bt
+ Trace 230311
Thread 1 (Thread 0x7ffff7fa59c0 (LWP 22335))
now, that was interesting! it removed the bt for threads that were in wait state at the time of the crash. How nice!
Looks like things are pretty messed up by that point.. try running with '-D something' in gdb, which will make it stop at the first critical/warning message, then get a stack trace from there.
I've had exactly the same problem (more or less - the error numbers vary) since not long after upgrading to Ubuntu 12.04. It still worked fine after the upgrade, but after some updates not long after, I could not get it to run anymore. Sometimes, in my Gnome 3 Classic taskbar, a button appears saying "Starting Rhythmbox", but it never does. I've been hoping an update would fix it - and was happy to see a major update to rhythmbox and dependent packages a few weeks later - but it's still failing to load. I even tried deleting its data folders, in case it was a setting or plugin, but that made no difference at all. I'm on a 64-bit system, in case that matters. I came here to file a bug report, but this is pretty similar - main thing being, nothing will get Rhythmbox to load anymore.
If you could provide the information I requested in comment 4, that would probably help. What 'error numbers' are you talking about?
Created attachment 223480 [details] Rhythmbox Terminal Output
Okay... I just looked up Rhythmbox's options, and thought I'd try to open it with --disable-plugins - even though I had previously removed any data folders, like the plugins folder to no avail - and it has loaded. While this isn't a fix, and clearly something is amiss with Rhythmbox, at least I can get it to load with "rhythmbox --disable-plugins" until it's fixed. As for numbers, I'm referring to lines like: (rhythmbox:30536): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:69:14: Not using units is deprecated. Assuming 'px'. ... and the numbers (after rhythmbox:) always vary. I've attached the terminal output from simply running "rhythmbox". Also, in case it helps, here is the single line of output for running "rhythmbox &" (the "&" was a little trick I found that could get some trouble programs to run): [1] 31749
Created attachment 223481 [details] Rhythmbox Debug (from rhythmbox -d)
The CSS errors you're seeing are probably a mismatch between the versions of gtk and the theme you're using, and they're not at all interesting here. commit c2239ae should fix this, but I've never seen the crash myself so I can't be sure.