Should use async dbus calls when talking to syncdaemon, and stop blocking nautilus UI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntuone-client (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ubuntuone-client
Nautilus takes several minutes to start on login here, because it blocks waiting for syncdaemon to respond:
(gdb) bt
#0 0x00007faa72ee31e3 in __poll (fds=<value optimised out>,
nfds=<value optimised out>, timeout=22310)
at ../sysdeps/
#1 0x00007faa7148e400 in socket_do_iteration (transport=
timeout_
#2 0x00007faa7148c81d in _dbus_transport
flags=<value optimised out>, timeout_
at dbus-transport.
#3 0x00007faa71478c7e in _dbus_connectio
connection=
at dbus-connection
#4 0x00007faa7147b0f4 in _dbus_connectio
pending=
#5 0x00007faa716b989e in dbus_g_
proxy=<value optimised out>, call_id=<value optimised out>,
error=<value optimised out>, first_arg_
args=
#6 0x00007faa716ba4e3 in dbus_g_proxy_call (proxy=0x23f7590,
method=<value optimised out>, error=<value optimised out>,
first_
#7 0x00007faa5b614ba8 in syncdaemon_
from /usr/lib/
#8 0x00007faa5bc841da in ubuntuone_
---Type <return> to continue, or q <return> to quit---
from /usr/lib/
#9 0x00007faa5bc84446 in ?? ()
from /usr/lib/
#10 0x00000000004b7497 in ?? ()
#11 0x00000000004b3c46 in ?? ()
#12 0x00000000004b6f21 in ?? ()
#13 0x00007faa754b5ddb in load_contents_
obj=<value optimised out>, close_res=<value optimised out>,
user_
#14 0x00007faa754d030d in async_ready_
source_
at /build/
#15 0x00007faa754e0bb8 in complete_
_data=<value optimised out>)
at /build/
#16 0x00007faa742267e2 in g_main_dispatch (context=0x2183eb0)
at /build/
#17 g_main_
at /build/
#18 0x00007faa7422a748 in g_main_
block=<value optimised out>, dispatch=<value optimised out>,
self=<value optimised out>)
at /build/
---Type <return> to continue, or q <return> to quit---
#19 0x00007faa7422ac55 in g_main_loop_run (loop=0x2389350)
at /build/
#20 0x00007faa75dc0a47 in IA__gtk_main ()
at /build/
#21 0x0000000000442132 in ?? ()
#22 0x00007faa72e27d8e in __libc_start_main (main=<value optimised out>,
argc=<value optimised out>, ubp_av=<value optimised out>,
init=<value optimised out>, fini=<value optimised out>,
rtld_
at libc-start.c:226
#23 0x000000000042f199 in ?? ()
#24 0x00007fff82f9fb98 in ?? ()
#25 0x000000000000001c in ?? ()
#26 0x0000000000000001 in ?? ()
#27 0x00007fff82fa1afa in ?? ()
#28 0x0000000000000000 in ?? ()
(gdb)
Please use async calls where it's likely that syncdaemon may take a little while to respond, and don't block the entire nautilus UI
I believe this is fixed in recent versions of the plugin. What versions are you running?