Bug#591397: Iceweasel produces error popups before starting and runs incredibly slowly
reassign 591397 libdbus-1-3 thanks On Mon, Aug 09, 2010 at 09:22:54AM +0100, Richard Kettlewell wrote: > On 09/08/2010 08:48, Mike Hommey wrote: > >On Sun, Aug 08, 2010 at 12:25:35PM +0100, Richard Kettlewell wrote: > >>On 08/08/2010 08:25, Mike Hommey wrote: > >>>Could you attach a full strace output for iceweasel ? > >> > >>Attached. Command was "strace -r -q -o trace -f iceweasel". > > > >I think the whole problem is due to this: > >10037 0.75 mkdir("/home/richard/.dbus", 0700) = -1 EEXIST (File > >exists) > >10037 0.61 mkdir("/home/richard/.dbus/session-bus", 0700) = -1 > >EACCES (Permission denied) > >10037 0.000198 write(2, "Unable to create /home/richard/."..., 49) = 49 > >10037 0.82 > >open("/home/richard/.dbus/session-bus/620e4e5789a46d4838ff0b004746dfa0-10", > >O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied) > > > >Arguably, it shouldn't have such a startup impact, but that would be a > >problem with how dbus operates, imho. > > > >Can you check the permissions in these directories, fix them, and see if > >it works better? If so, we'll reassign to dbus. > > *red face* > > rich...@deodand:~$ ls -ld .dbus > drwx--S--- 3 root richard 4096 Nov 22 2009 .dbus > > With that fixed it works fine. I still think there must be something wrong with how dbus handles that, as it shouldn't lead to such a delay in application startup. Cheers, Mike -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#591397: Iceweasel produces error popups before starting and runs incredibly slowly
On 09/08/2010 08:48, Mike Hommey wrote: On Sun, Aug 08, 2010 at 12:25:35PM +0100, Richard Kettlewell wrote: On 08/08/2010 08:25, Mike Hommey wrote: Could you attach a full strace output for iceweasel ? Attached. Command was "strace -r -q -o trace -f iceweasel". I think the whole problem is due to this: 10037 0.75 mkdir("/home/richard/.dbus", 0700) = -1 EEXIST (File exists) 10037 0.61 mkdir("/home/richard/.dbus/session-bus", 0700) = -1 EACCES (Permission denied) 10037 0.000198 write(2, "Unable to create /home/richard/."..., 49) = 49 10037 0.82 open("/home/richard/.dbus/session-bus/620e4e5789a46d4838ff0b004746dfa0-10", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied) Arguably, it shouldn't have such a startup impact, but that would be a problem with how dbus operates, imho. Can you check the permissions in these directories, fix them, and see if it works better? If so, we'll reassign to dbus. *red face* rich...@deodand:~$ ls -ld .dbus drwx--S--- 3 root richard 4096 Nov 22 2009 .dbus With that fixed it works fine. Sorry for the waste of time! ttfn/rjk -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#591397: Iceweasel produces error popups before starting and runs incredibly slowly
On Sun, Aug 08, 2010 at 12:25:35PM +0100, Richard Kettlewell wrote: > On 08/08/2010 08:25, Mike Hommey wrote: > >Could you attach a full strace output for iceweasel ? > > Attached. Command was "strace -r -q -o trace -f iceweasel". I think the whole problem is due to this: 10037 0.75 mkdir("/home/richard/.dbus", 0700) = -1 EEXIST (File exists) 10037 0.61 mkdir("/home/richard/.dbus/session-bus", 0700) = -1 EACCES (Permission denied) 10037 0.000198 write(2, "Unable to create /home/richard/."..., 49) = 49 10037 0.82 open("/home/richard/.dbus/session-bus/620e4e5789a46d4838ff0b004746dfa0-10", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied) Arguably, it shouldn't have such a startup impact, but that would be a problem with how dbus operates, imho. Can you check the permissions in these directories, fix them, and see if it works better? If so, we'll reassign to dbus. Mike -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#591397: Iceweasel produces error popups before starting and runs incredibly slowly
On Wed, Aug 04, 2010 at 08:12:37PM +0100, Richard Kettlewell wrote: > On 04/08/2010 19:41, Mike Hommey wrote: > > >Thanks. It looks like it's blocking on dbus access triggered by gconf. > >Do other gconf using programs have the same problem ? > >Is dbus installed and running on your system ? > > It looks like dbus is running: > > rich...@deodand:~$ ps -ef |grep dbus > 103906 1 0 Aug02 ?00:00:00 /usr/bin/dbus-daemon > --system > richard 23759 23744 0 20:05 pts/000:00:00 grep dbus > > gconf doesn't seem to take unreasonably long, using an example from > the man page: > > rich...@deodand:~$ time gconftool-2 --get > /desktop/gnome/background/picture_filename > /usr/share/images/desktop-base/desktop-background > > real 0m0.125s > user 0m0.104s > sys 0m0.020s > > ...but strace indicates that command just reads files rather than > doing any IPC, so I could be checking in the wrong way. Could you attach a full strace output for iceweasel ? Mike -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#591397: Iceweasel produces error popups before starting and runs incredibly slowly
On 04/08/2010 19:41, Mike Hommey wrote: Thanks. It looks like it's blocking on dbus access triggered by gconf. Do other gconf using programs have the same problem ? Is dbus installed and running on your system ? It looks like dbus is running: rich...@deodand:~$ ps -ef |grep dbus 103906 1 0 Aug02 ?00:00:00 /usr/bin/dbus-daemon --system richard 23759 23744 0 20:05 pts/000:00:00 grep dbus gconf doesn't seem to take unreasonably long, using an example from the man page: rich...@deodand:~$ time gconftool-2 --get /desktop/gnome/background/picture_filename /usr/share/images/desktop-base/desktop-background real0m0.125s user0m0.104s sys 0m0.020s ...but strace indicates that command just reads files rather than doing any IPC, so I could be checking in the wrong way. ttfn/rjk -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#591397: Iceweasel produces error popups before starting and runs incredibly slowly
On Wed, Aug 04, 2010 at 07:29:37PM +0100, Richard Kettlewell wrote: > On 03/08/2010 13:58, Mike Hommey wrote: > >> Can you then try to install iceweasel-dbg and gdb, then run iceweasel -g. >> At the gdb prompt, rype run, then when startup looks frozen, press ctrl+c >> and then get a full backtrace with "bt full". Please paste its output here. >> Try several times during startup. I'd expect the resulting traces to look >> similar. > > OK, attached. Thanks. It looks like it's blocking on dbus access triggered by gconf. Do other gconf using programs have the same problem ? Is dbus installed and running on your system ? Mike -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#591397: Iceweasel produces error popups before starting and runs incredibly slowly
On Mon, Aug 02, 2010 at 09:23:23PM +0100, Richard Kettlewell wrote: > On 02/08/2010 21:12, Mike Hommey wrote: > >> It sounds like you have a dangling dbus session: a DBUS_SESSION_BUS_ADDRESS >> environment variable, but no corresponding session. Try unsetting that >> environment variable. > > Doesn't look like it. Can you then try to install iceweasel-dbg and gdb, then run iceweasel -g. At the gdb prompt, rype run, then when startup looks frozen, press ctrl+c and then get a full backtrace with "bt full". Please paste its output here. Try several times during startup. I'd expect the resulting traces to look similar. Mike -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#591397: Iceweasel produces error popups before starting and runs incredibly slowly
On 02/08/2010 21:12, Mike Hommey wrote: It sounds like you have a dangling dbus session: a DBUS_SESSION_BUS_ADDRESS environment variable, but no corresponding session. Try unsetting that environment variable. Doesn't look like it. rich...@deodand:~$ env|grep -i dbus rich...@deodand:~$ env|sort DISPLAY=localhost:10.0 EDITOR=emacs HOME=/home/richard http_proxy=http://www-proxy:3128/ LANG=en_GB.UTF-8 LOGNAME=richard MAIL=/var/mail/richard PATH=/usr/local/gimp-2.7/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games PKG_CONFIG_PATH=/usr/local/gimp-2.7/lib/pkgconfig PWD=/home/richard SHELL=/bin/bash SHLVL=1 SSH_CLIENT=172.17.207.8 51611 22 SSH_CONNECTION=172.17.207.8 51611 172.17.207.12 22 SSH_TTY=/dev/pts/0 TERM=dtterm USER=richard _=/usr/bin/env rich...@deodand:~$ ttfn/rjk -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#591397: Iceweasel produces error popups before starting and runs incredibly slowly
On Mon, Aug 02, 2010 at 08:18:45PM +0100, Richard Kettlewell wrote: > Package: iceweasel > Version: 3.5.11-1 > > Iceweasel runs extremely slowly in my unstable VM. This is a relatively > new development (it used to be acceptable fast). > > First, it displays dialog box but removes it too quickly to read it, > then after a while displays one which reads: > > An error occurred while loading or saving > configuration information for firefox-bin. Some of > your configuration settings may not work properly. > > There are Details and OK buttons, neither of which appear to do anything. > > After waiting a bit more a large, empty window appears. A bit after > that the title changes to match the page I wanted to visit. With > sufficient patience it does actually display the web page. > > System load remains very low (<0.1) during all of this. > > An strace fragment while it's failing to get anywhere: > It sounds like you have a dangling dbus session: a DBUS_SESSION_BUS_ADDRESS environment variable, but no corresponding session. Try unsetting that environment variable. Mike -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#591397: Iceweasel produces error popups before starting and runs incredibly slowly
Package: iceweasel Version: 3.5.11-1 Iceweasel runs extremely slowly in my unstable VM. This is a relatively new development (it used to be acceptable fast). First, it displays dialog box but removes it too quickly to read it, then after a while displays one which reads: An error occurred while loading or saving configuration information for firefox-bin. Some of your configuration settings may not work properly. There are Details and OK buttons, neither of which appear to do anything. After waiting a bit more a large, empty window appears. A bit after that the title changes to match the page I wanted to visit. With sufficient patience it does actually display the web page. System load remains very low (<0.1) during all of this. An strace fragment while it's failing to get anywhere: open("/var/lib/dbus/machine-id", O_RDONLY) = 46 fstat64(46, {st_mode=S_IFREG|0644, st_size=33, ...}) = 0 read(46, "620e4e5789a46d4838ff0b004746dfa0"..., 33) = 33 close(46) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 pipe([46, 48]) = 0 pipe([55, 60]) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7583748) = 2517 close(48) = 0 close(60) = 0 read(46, "unix:abstract=/tmp/dbus-VqVjSbtp"..., 1024) = 81 read(46, "", 1024) = 0 waitpid(2517, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 2517 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 close(46) = 0 close(55) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 46 connect(46, {sa_family=AF_FILE, path=@"/tmp/dbus-VqVjSbtpYZ"}, 23) = -1 ECONNREFUSED (Connection refused) close(46) = 0 open("/var/lib/dbus/machine-id", O_RDONLY) = 46 fstat64(46, {st_mode=S_IFREG|0644, st_size=33, ...}) = 0 read(46, "620e4e5789a46d4838ff0b004746dfa0"..., 33) = 33 close(46) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 pipe([46, 48]) = 0 pipe([55, 60]) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7583748) = 2522 close(48) = 0 close(60) = 0 read(46, ^C Process 1748 detached I tried erasing ~/.mozilla and reinstalling both iceweasel and dbus, but the behavior is the same (possibly a little faster but still hopelessly slow). However a later strace doesn't show any mention of dbus, so it might well be unrelated. There is nothing at all relevant-looking in /var/log/kern.log or /var/log/daemon.log. $ uname -a Linux deodand 2.6.32-5-686-bigmem #1 SMP Sat Jul 24 03:13:16 UTC 2010 i686 GNU/Linux ii iceweasel 3.5.11-1 Web browser based on Firefox ii libc6 2.11.2-2 Embedded GNU C Library: Shared libraries ttfn/rjk -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org