Crash when opening preferences w/o internet (Gnome VFS FTP-related)

Bug #44177 reported by Odin Hørthe Omdal
10
Affects Status Importance Assigned to Milestone
rhythmbox (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Start rhythmbox with internet, open preferences. Everything OK.

Start rhythmbox without internet, open pref. Hangs. It doesn't quit, just hangs waiting. I've got an FTP and SCP-vfs in Gnome Ubuntu Dapper. (updated as of yesterday). I don't use the FTP in rhythmbox.

From GDB:

Program received signal SIGTSTP, Stopped (user).
[Switching to Thread -1226372896 (LWP 371)]
0xffffe410 in __kernel_vsyscall ()
(gdb) thread apply all bt

Thread 3 (Thread -1259230288 (LWP 374)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb70cb8c4 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7175788 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3 0xb7175c58 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4 0xb7a0870e in link_thread_io_context () from /usr/lib/libORBit-2.so.0
#5 0xb718e582 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#6 0xb79b8341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb70d54ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1250837584 (LWP 373)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb79baeec in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb79c65dc in ?? () from /usr/lib/libgthread-2.0.so.0
#3 0x083494a8 in ?? ()
#4 0x083b8000 in ?? ()
#5 0xb571b324 in ?? ()
#6 0xb71814a2 in g_queue_push_head () from /usr/lib/libglib-2.0.so.0
#7 0xb715cd8c in g_async_queue_push_sorted () from /usr/lib/libglib-2.0.so.0
#8 0xb715d03a in g_async_queue_timed_pop () from /usr/lib/libglib-2.0.so.0
#9 0x080a63e6 in action_thread_main (db=0x83b7800) at rhythmdb.c:1774
---Type <return> to continue, or q <return> to quit---
#10 0xb718e582 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#11 0xb79b8341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb70d54ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1226372896 (LWP 371)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb70cb8c4 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7bc1647 in __res_queriesmatch () from /lib/tls/i686/cmov/libresolv.so.2
#3 0xb7bc0113 in __libc_res_nquery () from /lib/tls/i686/cmov/libresolv.so.2
#4 0xb7bc03d8 in __res_nquery () from /lib/tls/i686/cmov/libresolv.so.2
#5 0xb7bc093e in __libc_res_nsearch () from /lib/tls/i686/cmov/libresolv.so.2
#6 0xb4e452be in _nss_dns_gethostbyname3_r ()
   from /lib/tls/i686/cmov/libnss_dns.so.2
#7 0xb4e455d7 in _nss_dns_gethostbyname2_r ()
   from /lib/tls/i686/cmov/libnss_dns.so.2
#8 0xb70bcf04 in sched_setaffinity () from /lib/tls/i686/cmov/libc.so.6
#9 0xb70be5a1 in getaddrinfo () from /lib/tls/i686/cmov/libc.so.6
#10 0xb7c75a06 in gnome_vfs_resolve () from /usr/lib/libgnomevfs-2.so.0
#11 0xb7c661ec in gnome_vfs_inet_connection_create ()
   from /usr/lib/libgnomevfs-2.so.0
#12 0xb65ed8be in ?? () from /usr/lib/gnome-vfs-2.0/modules/libftp.so
#13 0xbff5a1f8 in ?? ()
#14 0x08731d00 in ?? ()
---Type <return> to continue, or q <return> to quit---
#15 0x00000015 in ?? ()
#16 0x00000000 in ?? ()

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. Could you get a backtrace with libglib2.0-0-dbg libgnomevfs2-0-dbg rhythmbox-dbg installed? That looks like a gnome-vfs issue, do you use daap shares usually by example? What version of Ubuntu do you use?

Changed in rhythmbox:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
Odin Hørthe Omdal (velmont) wrote :
Download full text (10.4 KiB)

Nope, I didn't know about daap. As said, I've got one ssh and one ftp-vfolder. However; I don't use any of them in rhythmbox - but maybe it is because it is utilizing the whole folder?

Anyway; it must be some kind of timer to wait for a connection; however - it doesn't end, and makes rhythmbox useless. It might be an intended feature, but it doesn't work quite right w/o the netcable in.

Output from gdb with new debug-files installed:

Program received signal SIGTSTP, Stopped (user).
[Switching to Thread -1225869088 (LWP 18831)]
0xffffe410 in __kernel_vsyscall ()
(gdb) thread apply all bt

Thread 3 (Thread -1258808400 (LWP 18836)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb71468c4 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb71f0788 in g_main_context_iterate (context=0x82b2670, block=1, dispatch=1, self=0x82553d0) at gmain.c:2849
#3 0xb71f0c58 in IA__g_main_loop_run (loop=0x82b2418) at gmain.c:2751
#4 0xb7a8370e in link_thread_io_context () from /usr/lib/libORBit-2.so.0
#5 0xb7209582 in g_thread_create_proxy (data=0x82553d0) at gthread.c:582
#6 0xb7a33341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb71504ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1250415696 (LWP 18835)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7a35eec in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7a415dc in g_cond_timed_wait_posix_impl (cond=0x82560f8, entered_mutex=0x82cae50, abs_time=0xb57823fc) at gthread-posix.c:229
#3 0xb71d7d8c in g_async_queue_pop_intern_unlocked (queue=0x8345e00, try=<value optimized out>, end_time=0xb57823fc) at gasyncqueue.c:341
#4 0xb71d803a in IA__g_async_queue_timed_pop (queue=0x8345e00, end_time=0xb57823fc) at gasyncqueue.c:467
#5 0x080a63e6 in action_thread_main (db=0x8347000) at rhythmdb.c:1774
#6 0xb7209582 in g_thread_create_proxy (data=0x8345ac8) at gthread.c:582
#7 0xb7a33341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0xb71504ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1225869088 (LWP 18831)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb71468c4 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7c3c647 in __res_queriesmatch () from /lib/tls/i686/cmov/libresolv.so.2
#3 0xb7c3b113 in __libc_res_nquery () from /lib/tls/i686/cmov/libresolv.so.2
#4 0xb7c3b3d8 in __res_nquery () from /lib/tls/i686/cmov/libresolv.so.2
#5 0xb7c3b93e in __libc_res_nsearch () from /lib/tls/i686/cmov/libresolv.so.2
#6 0xb3cda2be in _nss_dns_gethostbyname3_r () from /lib/tls/i686/cmov/libnss_dns.so.2
#7 0xb3cda5d7 in _nss_dns_gethostbyname2_r () from /lib/tls/i686/cmov/libnss_dns.so.2
#8 0xb7137f04 in sched_setaffinity () from /lib/tls/i686/cmov/libc.so.6
#9 0xb71395a1 in getaddrinfo () from /lib/tls/i686/cmov/libc.so.6
#10 0xb7cf0a06 in gnome_vfs_resolve (hostname=0x8760f48 "ftp.velmont.net", handle=0x1389) at gnome-vfs-resolve.c:237
#11 0xb7ce11ec in gnome_vfs_inet_connection_create (connection_return=0xbf8d3f38, host_name=0x1389 <Address 0x1389 out of bounds>,
    host_port=21, cancellation=0x0) at gnome-vfs-inet-connection.c:87
#12 0xb66548be in try_co...

Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you have a non-local GTK bookmark (~/.gtk-bookmark)?

Revision history for this message
Sebastien Bacher (seb128) wrote :

fixed with rhythmbox 0.9.4 which stopped using file chooser button according to upstream, we will update after dapper though

Changed in rhythmbox:
status: Needs Info → Fix Committed
Revision history for this message
Odin Hørthe Omdal (velmont) wrote :

I have a link to the FTP in my bookmarks, yes....

Revision history for this message
Sebastien Bacher (seb128) wrote :

that's likely to be the same issue than bug #43366 then and should work fine without that FTP bookmark, could you confirm that?

Revision history for this message
Sebastien Bacher (seb128) wrote :

fixed with 0.9.5 to edgy

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

Other bug subscribers

Remote bug watches

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