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 451595 - rhythmbox crashes on start with ipod
rhythmbox crashes on start with ipod
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
0.11.x
Other Linux
: Normal critical
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-06-27 12:53 UTC by Sebastien Bacher
Modified: 2010-03-25 12:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2007-06-27 12:53:56 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
  • #0 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #1 g_log
    from /usr/lib/libglib-2.0.so.0
  • #2 g_assert_warning
    from /usr/lib/libglib-2.0.so.0
  • #3 rhythmdb_entry_set_internal
    at rhythmdb.c line 2707
  • #4 rhythmdb_entry_set
    at rhythmdb.c line 2643
  • #5 entry_set_string_prop
    at rb-ipod-source.c line 285
  • #6 add_ipod_song_to_db
    at rb-ipod-source.c line 609
  • #7 load_ipod_db_idle_cb
    at rb-ipod-source.c line 643
  • #8 ??
    from /usr/lib/libglib-2.0.so.0
  • #9 ??
  • #10 ??
    from /usr/lib/libglib-2.0.so.0
  • #11 ??
    from /lib/tls/i686/cmov/libpthread.so.0
  • #12 ??
  • #13 ??
  • #14 ??
    from /usr/lib/libglib-2.0.so.0
  • #15 ??
  • #16 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0"

Comment 1 tony blackwell 2008-06-13 10:04:42 UTC
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.
Comment 2 Christophe Fergeau 2008-06-13 10:14:08 UTC
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
Comment 3 Sebastien Bacher 2010-02-10 15:30:04 UTC
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?
Comment 4 jfanaian 2010-03-23 15:31:04 UTC
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.
Comment 5 Bastien Nocera 2010-03-23 16:49:10 UTC
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.
Comment 6 Sebastien Bacher 2010-03-24 15:49:38 UTC
there is no news from the submitter let's close for now we can reopen if required.
Comment 7 tony blackwell 2010-03-24 20:31:53 UTC
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
Comment 8 Christophe Fergeau 2010-03-24 22:21:38 UTC
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?
Comment 9 tony blackwell 2010-03-25 12:05:17 UTC
Thankyou Christophe,
It didn't ask, but just died instantly with no feedback if the unitialised ipod was connected.