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 618619 - Crash while getting properties from ipod shuffle
Crash while getting properties from ipod shuffle
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: iPod
0.12.x
Other Linux
: Normal critical
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 614952 628122 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-05-14 12:21 UTC by Massimo Cora'
Modified: 2010-10-13 12:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Massimo Cora' 2010-05-14 12:21:40 UTC
steps to reproduce:

1. plug ipod shuffle
2. on rhythmbox an ipod icon is shown
3. right-click on that icon and choose properties


crash.

(rhythmbox:5672): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
0x0210b8f6 in rb_ipod_db_get_mount_path ()
   from /usr/lib/rhythmbox/plugins/ipod/libipod.so
(gdb) bt
  • #0 rb_ipod_db_get_mount_path
    from /usr/lib/rhythmbox/plugins/ipod/libipod.so
  • #1 ??
    from /usr/lib/rhythmbox/plugins/ipod/libipod.so
  • #2 ??
    from /usr/lib/rhythmbox/plugins/ipod/libipod.so
  • #3 rb_media_player_source_show_properties
    from /usr/lib/librhythmbox-core.so.0
  • #4 ??
    from /usr/lib/rhythmbox/plugins/ipod/libipod.so
  • #5 ??
    from /usr/lib/librhythmbox-core.so.0
  • #6 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #7 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #8 ??
    from /usr/lib/libgobject-2.0.so.0
  • #9 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #11 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #12 gtk_action_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #14 ??
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #16 ??
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #19 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #20 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #21 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 ??
    from /usr/lib/libgobject-2.0.so.0
  • #25 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #26 ??
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #29 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #31 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #33 g_main_context_dispatch
    from /lib/libglib-2.0.so.0
  • #34 ??
    from /lib/libglib-2.0.so.0
  • #35 g_main_loop_run
    from /lib/libglib-2.0.so.0
  • #36 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #37 main

Comment 1 Massimo Cora' 2010-05-14 12:22:39 UTC
I'm on an ubuntu 10.04 fresh installed.
Comment 2 Bastien Nocera 2010-05-14 12:33:37 UTC
Please install the debug packages for rhythmbox and libgpod and reproduce the problem, the stack trace is missing details.
Comment 3 Massimo Cora' 2010-05-14 13:13:12 UTC
I cannot find libgpod, but I installed the ones for rhythmbox.

Here it is the new stacktrace


(rhythmbox:6420): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
rb_ipod_db_get_mount_path (ipod_db=0x0) at rb-ipod-db.c:892
892	rb-ipod-db.c: No such file or directory.
	in rb-ipod-db.c
(gdb) bt
  • #0 rb_ipod_db_get_mount_path
    at rb-ipod-db.c line 892
  • #1 get_mount_point
    at rb-ipod-source.c line 1828
  • #2 impl_get_capacity
    at rb-ipod-source.c line 1834
  • #3 get_capacity
    at rb-media-player-source.c line 139
  • #4 rb_media_player_source_show_properties
    at rb-media-player-source.c line 212
  • #5 rb_ipod_plugin_cmd_properties
    at rb-ipod-plugin.c line 268
  • #6 source_action_cb
    at rb-source.c line 1831
  • #7 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #8 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #9 ??
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #12 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 gtk_action_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #15 ??
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #17 ??
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #20 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #21 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 ??
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #27 ??
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #29 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #30 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #31 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #34 g_main_context_dispatch
    from /lib/libglib-2.0.so.0
  • #35 ??
    from /lib/libglib-2.0.so.0
  • #36 g_main_loop_run
    from /lib/libglib-2.0.so.0
  • #37 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #38 main
    at main.c line 332

Comment 4 Massimo Cora' 2010-05-14 13:20:51 UTC
Please not that in the current version of ubuntu's libgpod

$ dpkg -l | grep libgpo
ii  libgpod-common                       0.7.93-0ubuntu1                                 common files for libgpod
ii  libgpod4                             0.7.93-0ubuntu1                                 library to read and write songs and artwork 


my ipod shuffle isn't yet supported, and that's probably why there's a NULL pointer passed to rb_ipod_db_get_mount_path (ipod_db=0x0).
Comment 5 Massimo Cora' 2010-05-14 13:27:17 UTC
(In reply to comment #4)
> Please not that in the current version of ubuntu's libgpod
> 

s/not/note



The support for ipod shuffle is on git 

http://gitorious.org/~aebroschinski/libgpod/aebroschinski-sandbox
Comment 6 Fabio Durán Verdugo 2010-08-27 15:41:47 UTC
*** Bug 628122 has been marked as a duplicate of this bug. ***
Comment 7 Akhil Laddha 2010-09-05 13:51:42 UTC
can be a dupe of bug 614952
Comment 8 Christophe Fergeau 2010-09-05 17:02:43 UTC
Yep, that's likely even though I'd make bug #614952 a duplicate of this one since it has a more detailed backtrace.
Comment 9 Pedro Villavicencio 2010-09-30 16:31:36 UTC
we have a similar crash on bug https://bugs.edge.launchpad.net/rhythmbox/+bug/651261
Comment 10 Akhil Laddha 2010-10-01 03:38:41 UTC
*** Bug 614952 has been marked as a duplicate of this bug. ***
Comment 11 Jonathan Matthew 2010-10-13 12:07:17 UTC
Commit 703fe04 should have fixed this.  I don't have an ipod to test with, let alone a broken one, so I can't be sure..