GNOME Bugzilla – Bug 451595
rhythmbox crashes on start with ipod
Last modified: 2010-03-25 12:05:17 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/122531 "Binary package hint: rhythmbox Whenever I start rhythmbox with my ipod plugged in it crashes: $ rhythmbox RhythmDB-ERROR **: file rhythmdb.c: line 2699 (rhythmdb_entry_set_internal): assertion failed: (g_utf8_validate (g_value_get_string (value), -1, NULL)) aborting... Trace/breakpoint trap (core dumped) ... (gdb) where
+ Trace 144098
Not sure if it is the same, but in Mandriva 2008.1, either x86 or x86_64, rhythmbox always crashes instantly if a _new_ ipod is connected. I see this with my new ipod nano 8Gb. If ipod connected first, rb crashes as it starts. If rb running first, it immediately crashes when ipod connected. Work-around: If I set up the new ipod in Amarok, it immediately complains there is no itunes.db on the ipod, and offers to initialise the ipod for me. Accepted. After this, rhythmbox runs with the ipod connected, no problems. This is a bug in rhythmbox. It shoud trap the issued of a new unitialised ipod, not make assumptions about what it will find on the ipod and crash when it doesn't.
It doesn't look like the same bug. I'd say the crash you saw is bug #524985, but it might be related to bug #358029 as well
The crash seems similar to the libgpod one fixed in http://gtkpod.git.sourceforge.net/git/gitweb.cgi?p=gtkpod/libgpod;a=commit;h=39ef6f5afebdf80790cce791770fc489fb495ea9 no?
Are you able to plug in the ipod after Rhythmbox is started without it crashing? I was having a similar issue, and was able to do that. Also, after disabling the MTP plugin, the crash stopped happening.
Sebastien, let us know if the updated libgpod fixes this. jfanaian@gmail.com, please file a separate bug, your problem has nothing to do with the original bug report.
there is no news from the submitter let's close for now we can reopen if required.
I'm still here on the sidelines. Don't see how I can test this without a new uninitialized ipod to check against. I'd hoped just a simple read of the relevant bit of rhythmbox code where it first contacts the ipod might disclose its faulty assumptions about directory structure on the ipod, leading to a fix. Maybe life isn't so simple.... Thanks to you all for your interest in fixing it. Tony Blackwell Reporter
Tony, you are not the original reporter Sébastien was mentioning :) Was it asking you what iPod model you have before crashing, or was it crashing right away?
Thankyou Christophe, It didn't ask, but just died instantly with no feedback if the unitialised ipod was connected.