[Bug 64325] Konqueror is slow when opening a directory

Alexander Berger alex-berger at gmx.ch
Fri Oct 6 11:05:17 UTC 2006


Public bug reported:

Binary package hint: konqueror

When clicking on a directory icon from within konqueror it freezes for
about 10 seconds while very slowly showing the visual effect for the
click. Then the directory's content is shown correctly.

If I enter an new URL or path in the location bar konqueror immediately
opens the directory without freezing. I have created a detailed log file
using linux's strace utility and my findings are that konqueror spends
its time talking to the X11-Server when it freezes. Filedescriptor 3 is
a unix domain socket connected to the X11-Server (see below).

socket(PF_FILE, SOCK_STREAM, 0)         = 3
uname({sys="Linux", node="gizmo", ...}) = 0
uname({sys="Linux", node="gizmo", ...}) = 0
connect(3, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 19) = 0
uname({sys="Linux", node="gizmo", ...}) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) 
...

When clicking on a directory icon, konqueror freezes for about 10
seconds spending its time with the following calls:

...
open("/lib64/.directory", O_RDONLY)     = -1 ENOENT (No such file or directory)
ioctl(3, FIONREAD, [0])                 = 0
write(3, "5\30\4\0b\5\200\1]\0\0\0000\0000\0H\2\6\tb\5\200\1\16\0"..., 14392) = 14392
write(3, ";\3\5\0\253\1\200\1\0\0\0\0\264\0\234\0\225\1\212\0\230"..., 1984) = 1984
ioctl(3, FIONREAD, [0])                 = 0
ioctl(3, FIONREAD, [0])                 = 0
select(24, [3 4 5 8 10 18 19 20 21 22 23], [], [], {0, 0}) = 0 (Timeout)
ioctl(3, FIONREAD, [0])                 = 0
select(24, [3 4 5 8 10 18 19 20 21 22 23], [], [], {0, 11293}) = 1 (in [3], left {0, 4000})
ioctl(3, FIONREAD, [32])                = 0
read(3, "\5\1\27674A\37\35]\0\0\0e\4\200\1\0\0\0\0\266\1n\1\267"..., 32) = 32
write(3, "&\3\2\0]\0\0\0", 8)           = 8
read(3, "\1\1\2777\0\0\0\0]\0\0\0\235P \1\266\1n\1\266\1n\1\0\0"..., 32) = 32
ioctl(5, FIONREAD, [0])                 = 0
write(7, "\0", 1)                       = 1
ioctl(5, FIONREAD, [1])                 = 0
write(3, ";\3\5\0\253\1\200\1\0\0\0\0\233\0V\0004\0G\0\230\6\5\0"..., 712) = 712
write(3, "8\3\4\0\253\1\200\1\0\0\10\0\0\0\0\0:\0\4\0*\2\200\1\0"..., 76) = 76
nanosleep({0, 5000000}, NULL)           = 0
write(3, "C\3\7\0e\4\200\1*\2\200\1\262\0m\0\4\0\4\0\257\0j\0\t\0"..., 28) = 28
nanosleep({0, 5000000}, NULL)           = 0
write(3, "C\3\7\0e\4\200\1*\2\200\1\257\0j\0\t\0\t\0\255\0h\0\16"..., 28) = 28
nanosleep({0, 5000000}, NULL)           = 0
write(3, "C\3\7\0e\4\200\1*\2\200\1\255\0h\0\16\0\16\0\252\0e\0\23"..., 28) = 28
nanosleep({0, 5000000}, NULL)           = 0
write(3, "C\3\7\0e\4\200\1*\2\200\1\252\0e\0\23\0\23\0\250\0c\0\30"..., 28) = 28
nanosleep({0, 5000000}, NULL)           = 0
write(3, "C\3\7\0e\4\200\1*\2\200\1\250\0c\0\30\0\30\0\245\0`\0\35"..., 28) = 28
nanosleep({0, 5000000}, NULL)           = 0
write(3, "C\3\7\0e\4\200\1*\2\200\1\245\0`\0\35\0\35\0\243\0^\0\""..., 28) = 28
nanosleep({0, 5000000}, NULL)           = 0
write(3, "C\3\7\0e\4\200\1*\2\200\1\243\0^\0\"\0\"\0\240\0[\0\'\0"..., 28) = 28
nanosleep({0, 5000000}, NULL)           = 0
write(3, "C\3\7\0e\4\200\1*\2\200\1\240\0[\0\'\0\'\0\236\0Y\0,\0"..., 28) = 28
nanosleep({0, 5000000}, NULL)           = 0
access("/lib64", R_OK)                  = 0
...

Then the opened directory is shown as expected. There are no messages on
STDOUT, STDERR or any of the kde or X11 log channels/files.
I suspect that the problem is the visual effect after the click on a directory icon, but I am not an expert at all.

Konqueror is quite unusable that way.

--- My System configuration ---
Dell XPS M1210 Notebook
Kubuntu 6.10 Beta Edgy Eft (with latest updates as of today)
CPU: intel core 2 duo (64bit mode)
X11-Driver: i810 (intel 946GM graphics card)

** Affects: kdebase (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Konqueror is slow when opening a directory
https://launchpad.net/bugs/64325




More information about the kubuntu-bugs mailing list