After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 350657 - crash on Rhythmbox Music Player
crash on Rhythmbox Music Player
Status: RESOLVED DUPLICATE of bug 350304
Product: rhythmbox
Classification: Other
Component: general
unspecified
Other All
: High critical
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 351377 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-08-09 22:56 UTC by Milosz Tanski
Modified: 2006-08-15 15:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Milosz Tanski 2006-08-09 22:56:40 UTC
What were you doing when the application crashed?
Just started rhythmbox, it was scanning my library. (Just upgraded to edgy to test out the new gnome/ubuntu).


Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.15.91 2006-08-08 (Ubuntu)
BugBuddy Version: 2.15.90

Memory status: size: 54120448 vsize: 0 resident: 54120448 share: 0 rss: 23408640 rss_rlim: 0
CPU usage: start_time: 1155164144 rtime: 0 utime: 146 stime: 0 cutime:130 cstime: 0 timeout: 16 it_real_value: 0 frequency: 6

Backtrace was generated from '/usr/bin/rhythmbox'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1227008336 (LWP 8525)]
[New Thread -1238004832 (LWP 8534)]
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()

Thread 2 (Thread -1238004832 (LWP 8534))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #6 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #7 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #8 g_log
    from /usr/lib/libglib-2.0.so.0
  • #9 g_assert_warning
    from /usr/lib/libglib-2.0.so.0
  • #10 rhythmdb_tree_new
  • #11 xmlParseStartTag
    from /usr/lib/libxml2.so.2
  • #12 xmlParseElement
    from /usr/lib/libxml2.so.2
  • #13 xmlParseDocument
    from /usr/lib/libxml2.so.2
  • #14 rhythmdb_tree_new
  • #15 rhythmdb_load
  • #16 g_thread_create_full
    from /usr/lib/libglib-2.0.so.0
  • #17 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #18 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 1 Jonathan Matthew 2006-08-10 04:10:37 UTC
This looks much the same as bug 350304.  Same questions apply:

What does 'head -n 3 ~/.gnome2/rhythmbox/rhythmdb.xml' say?

and from comment 3 on that bug:
Did this occur when you ran rhythmbox-client without RB already running, and
with an un-installed build or non /usr prefix?

If so this was caused by
1) rhythmbox-client attemps to laod RB if it's not already running
2) the dbus service file installed under /lib was from your distro-installed
version of RB, so it started that
3) RB doesn't like encoutnering rhythmdb.xml files newer than it understands,
causing the assertion.

We should handle this better, which probably means displaying an error dialog
and then quitting.
Comment 2 Jonathan Matthew 2006-08-14 22:44:13 UTC
*** Bug 351377 has been marked as a duplicate of this bug. ***
Comment 3 Milosz Tanski 2006-08-15 01:16:14 UTC
Sorry about opening a second bug report, I just automatically pressed enter when starting rhythmbox.

What was I doing? I just started rhythmbox. Window shows up and starts scanning my library (at least that's what i assume it's doing because the progress bar on the bottom left is going back and forth) that lasts about 5 seconds till i get the "Your application has crashed..." gnome dialog.
Comment 4 Milosz Tanski 2006-08-15 01:18:20 UTC
Sorry forgot to include this:

dem@mlap:~$ head -n 3 ~/.gnome2/rhythmbox/rhythmdb.xml
<?xml version="1.0" standalone="yes"?>
<rhythmdb version="1.3">
  <entry type="song">

These are the messages that I before rhythmbox takes a dive when i start it from console:

dem@mlap:~$ rhythmbox

RhythmDB-ERROR **: file rhythmdb-tree.c: line 248 (rhythmdb_tree_parser_start_element): should not be reached
aborting...
NameOwnerChanged org.gnome.Rhythmbox ->:1.21

** (bug-buddy:12626): WARNING **: Couldn't load icon for Menu Editor

** (bug-buddy:12626): WARNING **: Couldn't load icon for Open Folder
glibtop: This machine has 2 CPUs, 2 are being monitored.


I hope this helps.
Comment 5 Milosz Tanski 2006-08-15 01:23:16 UTC
I just spent some time trying to cause it. When i move my rythmbox database and play lists it starts all okay. When i re-add my entire library it all works fine -- no crash.

I'd like to be able to move my old database and playlists files back since otherwise i lose song statistics like date added & play count that a lot of my dynamic play lists depend on.

Thanks.
Comment 6 James "Doc" Livingston 2006-08-15 05:04:27 UTC
Have you tried using an older version of Rhythmbox (e.g. the one from Dapper) after using a newer one (e.g. the one from Edgy) ? RB doesn't currently handle downgrades very well (bug 350304), and it can cause this "crash".

Could you try copying your rhythmdb.xml (and I guess playlists.xml) files somewhere safe, and editing ~/.gnome2/rhythmbox/rhythmdb.xml to change '<rhythmdb version="1.3">' to '<rhythmdb version="1.2">' - this might stop it exploding.
Comment 7 Milosz Tanski 2006-08-15 15:10:20 UTC
Changing the version number in the xml file did in fact fix the issue. Thx.
Comment 8 James "Doc" Livingston 2006-08-15 15:26:57 UTC
Okay, this is the "not handling future db versions" bug, so marking as a duplicate.

*** This bug has been marked as a duplicate of 350304 ***