I can reproduce this by running:
  $ wget http://www.pygtk.org/pygtk2tutorial/examples/filechooser.py
  $ python filechooser.py

It appears to hang on a poll call to dbus:

  $ strace -tt -T -o /tmp/trace python filechooser.py 
  $ perl -ne '/<(\d+\.\d+)>/ && print "$1 $_"' /tmp/trace  | sort -n | tail -2
  0.104393 14:03:02.498640 poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 
25000) = 1 <0.104393>
  24.999640 14:03:02.848054 poll([{fd=7, events=POLLIN}], 1, 25000) = 0 
<24.999640>

... since fd 7 is the dbus connection.

  $ grep connect /tmp/trace | tail -1
  14:03:02.736829 connect(7, {sa_family=AF_FILE, path=@/tmp/dbus-ZJ0rg3SfV8}, 
23) = 0 <0.000008>

dbus-monitor is not terribly informative (for me, anyway)... the calls
right before the hang are:

method call sender=:1.91 -> dest=org.freedesktop.DBus 
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
   string "org.freedesktop.Tracker"
method call sender=:1.91 -> dest=org.freedesktop.Tracker 
path=/org/freedesktop/tracker; interface=org.freedesktop.Tracker; 
member=GetVersion
<hangs here>

-- 
gnome or gtk file dialog is terribly slow
https://bugs.launchpad.net/bugs/218230
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to