rhythmbox crashing/freezing on song import

Bug #59394 reported by matt nicholson
16
Affects Status Importance Assigned to Milestone
Rhythmbox
Fix Released
High
libgnomeui (Ubuntu)
Fix Released
High
Ubuntu Desktop Bugs

Bug Description

as soon as "open" is clicked on either File or Folder Import, the entire gui freezes, and eventually a "Force Quit" window will appear. Duplicated on 2 drastically diffrent boxes, with diffrent songs. Duplicated importing (attempting) both individual files and folders.

running from command line yeilds nothing.

running from command line with -d switch yailds very little:

[rb_shell_load_uri] rb-shell.c:3061: adding uri file:///home/sjoeboo/Music/Air/talkie%20walkie/08%20alpha%20beta%20gaga.mp3
(15:16:11) [0x814b8e8] [rb_shell_load_uri] rb-shell.c:3087: file:///home/sjoeboo/Music/Air/talkie%20walkie/08%20alpha%20beta%20gaga.mp3 didn't parse as a playlist
(15:16:11) [0x814b8e8] [queue_stat_uri] rhythmdb.c:1852: queueing stat for "file:///home/sjoeboo/Music/Air/talkie%20walkie/08%20alpha%20beta%20gaga.mp3"

it just hangs right there.

also, just noticed even clicking "Cancel" in the file/folder select screen freezes rhythmbox.

note: This was occurring on my Work pc (clean edgy install), my girlfriends pc(clean edgy install) , but, not on my personal desktop (also a clean edgy install)

I'm more than willing to provide whatever debugging/backtrace info I can so long as someone instructs me a bit.

Revision history for this message
matt nicholson (matthewnicholson) wrote :

Update:

i just did a drag and drop of all of my music folders into rhythmbox and everything worked fine. nothing has changed, other than I did the D&D instead of importing using the gui.

To me this says the importing in rhythmbox is working, but there is some issue/bug somewhere in either in open dialog, or in rhythmbox when it talks to/listens to it.

Revision history for this message
Bryan Forbes (bryanforbes) wrote :

I can confirm that this happens for me as well. I can drag new folders/files to rhythmbox, but the open dialog freezes it.

Changed in rhythmbox:
status: Unconfirmed → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you get a backtrace with libglib2.0-0-dbg libgnomevfs2-0-dbg rhythmbox-dbg installed?
- gdb rhythmbox
(gdb) run
... get it hang
(gdb) thread apply all bt

Changed in rhythmbox:
assignee: nobody → desktop-bugs
status: Confirmed → Needs Info
Revision history for this message
Warren Uniewski (wrnu) wrote :

This bug report is basically the same problem and has the needed backtraces.

https://launchpad.net/distros/ubuntu/+source/rhythmbox/+bug/59585

Revision history for this message
Matti Lindell (mlind) wrote :

I get this too with CVS build of RB on Edgy, and the same version works fine on Dapper. Looks like something is causing a deadlock..

Revision history for this message
matt nicholson (matthewnicholson) wrote :
Download full text (12.3 KiB)

the gdb output follows:

Thread 10 (Thread -1257329760 (LWP 17026)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7c13a8c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7194113 in g_cond_timed_wait_posix_impl (cond=0x8682c80,
    entered_mutex=0x0, abs_time=0x11) at gthread-posix.c:231
#3 0xb6ff4b41 in g_async_queue_pop_intern_unlocked (queue=0x823f488,
    try=<value optimized out>, end_time=0xb50ea430) at gasyncqueue.c:341
#4 0xb6ff4c76 in IA__g_async_queue_timed_pop (queue=0x823f488,
    end_time=0xb50ea430) at gasyncqueue.c:467
#5 0x080d99e8 in action_thread_main (db=0x827b050) at rhythmdb.c:1795
#6 0xb702f41f in g_thread_create_proxy (data=0x86b5928) at gthread.c:553
#7 0xb7c10504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0xb6f4150e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1228133616 (LWP 17011)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7c15fde in __lll_mutex_lock_wait ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7c12673 in _L_mutex_lock_49 () from /lib/tls/i686/cmov/libpthread.so.0
#3 0xb7c12cd9 in pthread_mutex_unlock ()
   from /lib/tls/i686/cmov/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#4 0xb759c25c in gdk_threads_leave () from /usr/lib/libgdk-x11-2.0.so.0
#5 0xb51d81a9 in fs_module_init ()
   from /usr/lib/gtk-2.0/2.10.0/filesystems/libgnome-vfs.so
#6 0xb51d82b4 in fs_module_init ()
   from /usr/lib/gtk-2.0/2.10.0/filesystems/libgnome-vfs.so
#7 0xb71aaaeb in IA__g_object_unref (_object=0x8662180) at gobject.c:1757
#8 0xb76fabb4 in _gtk_file_system_model_remove_editable ()
   from /usr/lib/libgtk-x11-2.0.so.0
#9 0xb71aab8c in IA__g_object_unref (_object=0x869fb50) at gobject.c:1785
#10 0xb7826cd0 in gtk_tree_model_filter_convert_child_iter_to_iter ()
   from /usr/lib/libgtk-x11-2.0.so.0
#11 0xb7826eaf in gtk_tree_model_filter_convert_child_iter_to_iter ()
   from /usr/lib/libgtk-x11-2.0.so.0
#12 0xb71aab8c in IA__g_object_unref (_object=0x86bd2d8) at gobject.c:1785
#13 0xb76e0be9 in _gtk_file_chooser_default_new ()
   from /usr/lib/libgtk-x11-2.0.so.0
#14 0xb71aab8c in IA__g_object_unref (_object=0x82332e8) at gobject.c:1785
#15 0xb71aaed8 in IA__g_object_run_dispose (object=0x82332e8) at gobject.c:571
#16 0xb7768cfe in gtk_object_destroy () from /usr/lib/libgtk-x11-2.0.so.0
#17 0xb7863b15 in gtk_widget_destroy () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb7678750 in gtk_box_pack_start_defaults ()
   from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb76b3a0b in gtk_container_foreach () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#20 0xb76b4350 in _gtk_container_dequeue_resize_handler ()
   from /usr/lib/libgtk-x11-2.0.so.0
#21 0xb71b5bd9 in IA__g_cclosure_marshal_VOID__VOID (closure=0x81f6c40,
    return_value=0x0, n_param_values=1, param_values=0xbfda992c,
    invocation_hint=0xbfda983c, marshal_data=0xb76b4310) at gmarshal.c:77
#22 0xb71a7059 in g_type_class_meta_marshal (closure=0x81f6c40,
    return_value=0x0, n_param_values=1, param_values=0xbfda992c,
    invocation_hint=0xbfda983c, marshal_data=0x4c) at gclosure.c:567
#23 0xb71a891d in IA__g_cl...

Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in rhythmbox:
status: Needs Info → Confirmed
Changed in rhythmbox:
importance: Untriaged → High
Changed in rhythmbox:
status: Unknown → Needs Info
Revision history for this message
Jan Mynarik (jan-mynarik) wrote :

The upstream bug has been marked as fixed recently.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Fixed in libgnomeui CVS.

2006-08-11 Matthias Clasen <email address hidden>

        * file-chooser/gtkfilesystemgnomevfs.c
        (gtk_file_system_gnome_vfs_dispose): Don't call the locking
        idle from dispose, to avoid deadlock. (RH #206058)

Changed in rhythmbox:
status: Confirmed → Fix Committed
Revision history for this message
Daniel Holbach (dholbach) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

This upload fixes the issue:

 libgnomeui (2.16.0-0ubuntu2) edgy; urgency=low
 .
   * debian/patches/90_from_cvs_fix_fileselector_lock.patch:
     - patch from CVS, fix apps like evince or rhythmbox locking when using the
       fileselector (Ubuntu: #59267, #59394)

Changed in libgnomeui:
status: Fix Committed → Fix Released
Changed in rhythmbox:
status: Needs Info → Fix Released
Changed in rhythmbox:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.