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 613526 - Crash in rb_sourcelist_remove at rb-sourcelist.c line 1330
Crash in rb_sourcelist_remove at rb-sourcelist.c line 1330
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
0.12.x
Other All
: Normal critical
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 621255 636447 636922 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-03-21 21:03 UTC by Johannes Rohr
Modified: 2010-12-10 02:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28



Description Johannes Rohr 2010-03-21 21:03:36 UTC
Version: 0.12.7

What were you doing when the application crashed?
connected samsung YP-R0 player


Distribution: Debian squeeze/sid
Gnome Release: 2.28.2 2009-12-18 (Debian)
BugBuddy Version: 2.28.0

System: Linux 2.6.32-3-686 #1 SMP Thu Feb 25 06:14:20 UTC 2010 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10705000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: Tango
GTK+ Modules: gnomebreakpad, canberra-gtk-module

Memory status: size: 106278912 vsize: 106278912 resident: 35147776 share: 19795968 rss: 35147776 rss_rlim: 18446744073709551615
CPU usage: start_time: 1269205261 rtime: 295 utime: 261 stime: 34 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

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

[Thread debugging using libthread_db enabled]
[New Thread 0xb282db70 (LWP 16405)]
[New Thread 0xb397bb70 (LWP 16381)]
0xb788d424 in __kernel_vsyscall ()

Thread 1 (Thread 0xb634e970 (LWP 16377))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/i686/cmov/libpthread.so.0
  • #2 IA__g_spawn_sync
    at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gspawn.c line 386
  • #3 IA__g_spawn_command_line_sync
    at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gspawn.c line 700
  • #4 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #5 <signal handler called>
  • #6 __kernel_vsyscall
  • #7 *__GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #8 *__GI_abort
    at abort.c line 88
  • #9 IA__g_assertion_message
  • #10 IA__g_assertion_message_expr
  • #11 rb_sourcelist_remove
    at rb-sourcelist.c line 1330
  • #12 rb_shell_source_deleted_cb
    at rb-shell.c line 1834
  • #13 IA__g_cclosure_marshal_VOID__VOID
    at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gmarshal.c line 77
  • #14 IA__g_closure_invoke
    at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gclosure.c line 767
  • #15 signal_emit_unlocked_R
    at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c line 3247
  • #16 IA__g_signal_emit_valist
    at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c line 2980
  • #17 IA__g_signal_emit
    at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gobject/gsignal.c line 3037
  • #18 rb_source_delete_thyself
    at rb-source.c line 1480
  • #19 device_open_failed_idle
    at rb-mtp-source.c line 716
  • #20 g_idle_dispatch
    at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c line 4065
  • #21 g_main_dispatch
    at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c line 1960
  • #22 IA__g_main_context_dispatch
    at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c line 2513
  • #23 g_main_context_iterate
    at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c line 2591
  • #24 IA__g_main_loop_run
    at /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/glib/gmain.c line 2799
  • #25 IA__gtk_main
    at /build/buildd-gtk+2.0_2.18.6-1-i386-7avL5T/gtk+2.0-2.18.6/gtk/gtkmain.c line 1218
  • #26 main
    at main.c line 332

	Inferior 1 [process 16377] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]


----------- .xsession-errors (7 sec old) ---------------------
Device 0 (VID=04e8 and PID=5125) is a Samsung YP-R0.
Device 0 (VID=04e8 and PID=5125) is a Samsung YP-R0.
Device 0 (VID=04e8 and PID=5125) is a Samsung YP-R0.
ignoring usb_claim_interface = -2ignoring usb_claim_interface = -22PTP_ERROR_IO: Trying again after re-initializing USB interface
inep: usb_get_endpoint_status(): Kein passender Prozess gefunden
outep: usb_get_endpoint_status(): Kein passender Prozess gefunden
usb_clear_halt() on IN endpoint: Kein passender Prozess gefunden
usb_clear_halt() on OUT endpoint: Kein passender Prozess gefunden
usb_clear_halt() on INTERRUPT endpoint: Kein passender Prozess gefunden
ignoring usb_claim_interface = -2ignoring usb_claim_interface = -22LIBMTP PANIC: Could not open session! (Return code 767)
  Try to reset the device.
Device 0 (VID=04e8 and PID=5125) is a Samsung YP-R0.
ignoring usb_claim_interface = -110LIBMTP PANIC: Unable to read device information on device 22 on bus 1, trying to continueDevice 0 (VID=04e8 and PID=5125) is a Samsung YP-R0.
ignoring usb_claim_interface = -110LIBMTP PANIC: Unable to read device information on device 23 on bus 1, trying to continue**
Rhythmbox:ERROR:rb-sourcelist.c:1330:rb_sourcelist_remove: assertion failed: (rb_sourcelist_source_to_iter (sourcelist, source, &iter))
--------------------------------------------------
Comment 1 Jonathan Matthew 2010-03-27 10:37:58 UTC
I can't reproduce this.  If you can, output from 'rhythmbox -D mtp' would probably help.
Comment 2 Johannes Rohr 2010-03-27 13:51:28 UTC
that would require me to reproduce the exact same sequence of events which I do not know how to do. It is not that rb crashes each time I connect the player. There is probably more than one factor involved, and I have no idea what they are....
Comment 3 Jonathan Matthew 2010-03-27 22:45:27 UTC
Judging by the error messages from libmtp, it's probably caused by the device being accessed by some other process, or being busy in some other way.
Comment 4 Pedro Villavicencio 2010-04-26 19:25:10 UTC
we got a similar bug report here: https://bugs.edge.launchpad.net/ubuntu/+source/rhythmbox/+bug/569380 ; the output of the rhythmbox -D is here: http://launchpadlibrarian.net/45568551/output1
Comment 5 Jonathan Matthew 2010-05-19 08:26:06 UTC
OK, now it makes sense - the source is being deleted twice.  Once when the device is removed (it appears as device 13, disappears, then reappears as device 5), and again when the device open fails (because the device is no longer there).
Comment 6 Jonathan Matthew 2010-05-19 08:44:25 UTC
Fixed in commit b6fa443, hopefully.
Comment 7 Fabio Durán Verdugo 2010-06-10 22:47:58 UTC
*** Bug 621255 has been marked as a duplicate of this bug. ***
Comment 8 Jonathan Matthew 2010-12-04 23:07:38 UTC
*** Bug 636447 has been marked as a duplicate of this bug. ***
Comment 9 Fabio Durán Verdugo 2010-12-10 02:13:45 UTC
*** Bug 636922 has been marked as a duplicate of this bug. ***