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 482571 - Segfault when iPod with Rockbox is connected
Segfault when iPod with Rockbox is connected
Status: RESOLVED DUPLICATE of bug 524985
Product: rhythmbox
Classification: Other
Component: iPod
0.11.x
Other Linux
: Normal critical
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 484892 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-10-02 13:17 UTC by Sebastien Bacher
Modified: 2008-04-22 12:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Does that patch help ? (625 bytes, patch)
2007-10-02 13:19 UTC, Christophe Fergeau
none Details | Review

Description Sebastien Bacher 2007-10-02 13:17:19 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/141584

"Binary package hint: rhythmbox

I have an iPod with Rockbox installed, and not the Apple DB.

Dies like so on the command line:

me@me $rhythmbox

(rhythmbox:6320): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed
Segmentation fault (core dumped)
...
GNOME rhythmbox 0.11.2
...
Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 7114)

  • #0 rb_ipod_db_set_ipod_name
    at rb-ipod-db.c line 439
  • #1 rb_ipod_source_name_changed_cb
    at rb-ipod-source.c line 153
  • #2 g_cclosure_marshal_VOID__PARAM
    from /usr/lib/libgobject-2.0.so.0
  • #3 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #4 ??
    from /usr/lib/libgobject-2.0.so.0
  • #5 ??
  • #6 ??
..."

The crash looks similar to bug #358855
Comment 1 Christophe Fergeau 2007-10-02 13:19:34 UTC
Created attachment 96511 [details] [review]
Does that patch help ?
Comment 2 Christophe Fergeau 2007-10-02 13:22:31 UTC
Oh, in fact I missed the part about the iPod not having an iTunesDB. The patch from revision 5277 might help.
Comment 3 Michael Moore 2007-10-02 14:42:48 UTC
Hi, I filed the original bug on Ubuntu's Launchpad. I'm just commenting here so I'll get future updates to this bug. 

Please let me know what I can do to help. I don't know the Rhythmbox codebase at all, but I can patch, recompile and test stuff pretty well. 

Thanks, 
Michael Moore
Comment 4 Sebastien Bacher 2007-10-09 07:57:37 UTC
*** Bug 484892 has been marked as a duplicate of this bug. ***
Comment 5 Christophe Fergeau 2007-10-09 08:00:11 UTC
NB: bug #484892 has a much better backtrace. Did anyone check if the patch from rev 5277 help ?
Comment 6 Sebastien Bacher 2007-10-09 08:05:24 UTC
The detailled backtrace:

".

Thread 1 (process 7558)

  • #0 rb_ipod_db_set_ipod_name
    at rb-ipod-db.c line 439
  • #1 rb_ipod_source_name_changed_cb
    at rb-ipod-source.c line 153
  • #2 IA__g_cclosure_marshal_VOID__PARAM
    at /build/buildd/glib2.0-2.14.1/gobject/gmarshal.c line 531
  • #3 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.14.1/gobject/gclosure.c line 490
  • #4 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.14.1/gobject/gsignal.c line 2440
  • #5 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.14.1/gobject/gsignal.c line 2199
  • #6 IA__g_signal_emit
    at /build/buildd/glib2.0-2.14.1/gobject/gsignal.c line 2243
  • #7 g_object_dispatch_properties_changed
    at /build/buildd/glib2.0-2.14.1/gobject/gobject.c line 563
  • #8 g_object_notify_dispatcher
    at /build/buildd/glib2.0-2.14.1/gobject/gobject.c line 245
  • #9 IA__g_object_newv
    at /build/buildd/glib2.0-2.14.1/gobject/gobjectnotifyqueue.c line 123
  • #10 IA__g_object_new_valist
    at /build/buildd/glib2.0-2.14.1/gobject/gobject.c line 1027
  • #11 IA__g_object_new
    at /build/buildd/glib2.0-2.14.1/gobject/gobject.c line 795
  • #12 rb_ipod_source_new
    at rb-ipod-source.c line 256
  • #13 create_source_cb
    at rb-ipod-plugin.c line 205
  • #14 rb_marshal_OBJECT__OBJECT
    at rb-marshal.c line 278
  • #15 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.14.1/gobject/gclosure.c line 490
  • #16 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.14.1/gobject/gsignal.c line 2440
  • #17 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.14.1/gobject/gsignal.c line 2209
  • #18 IA__g_signal_emit
    at /build/buildd/glib2.0-2.14.1/gobject/gsignal.c line 2243
  • #19 rb_removable_media_manager_mount_volume
    at rb-removable-media-manager.c line 438
  • #20 rb_removable_media_manager_scan
    at rb-removable-media-manager.c line 610
  • #21 _scan_idle
    at rb-shell.c line 1270
  • #22 g_idle_dispatch
    at /build/buildd/glib2.0-2.14.1/glib/gmain.c line 4132
  • #23 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.14.1/glib/gmain.c line 2061
  • #24 g_main_context_iterate
    at /build/buildd/glib2.0-2.14.1/glib/gmain.c line 2694
  • #25 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.14.1/glib/gmain.c line 2898
  • #26 IA__gtk_main
    at /build/buildd/gtk+2.0-2.12.0/gtk/gtkmain.c line 1144
  • #27 main
    at main.c line 306

Comment 7 Fabien Tassin 2007-11-29 15:19:49 UTC
I'm experiencing the same crash with rhythmbox from SVN r5454.
This is with an iPod nano. The crash disappears after the iPod is used at least once with iTunes. Any change in the content corrupts the database and let the iPod "appears" empty, and unrecognizable by iTunes, until it is reseted.
Comment 8 Christophe Fergeau 2008-04-22 12:11:19 UTC

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