[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#479742: kbabel: Very long window refreshing on long files



Package: kbabel
Version: 4:3.5.9-1
Severity: normal

When changing virtual desktops in KDE and going back to KBabel's one it
takes reasonable amount of time (a few seconds, e.g 10s) to redraw
KBabel window, during which KBabel is just frozen.
Steps to reproduce:
1. Run KBabel
2. Open a .po file
3. Switch desktop to different one
4. Go back to KBabel's desktop
Now the situation happens.

What can be related to this bug:
1. Size of .po file - the bigger, the longer time is. Not verified,
though.
2. KBabel's database - I can remember that some crashes in KBabel were
fixed after a database directory removal. I can't remember what it was
exactly.

After attaching strace to KBabel it reveals that:
[cut]
14:12:37 ioctl(18, FIONREAD, [1])       = 0 <0.000009>
14:12:37 ioctl(18, FIONREAD, [1])       = 0 <0.000289>
14:12:37 ioctl(18, FIONREAD, [1])       = 0 <0.000009>
14:12:37 ioctl(18, FIONREAD, [1])       = 0 <0.001333>
14:12:37 ioctl(18, FIONREAD, [1])       = 0 <0.000009>
14:12:37 ioctl(18, FIONREAD, [1])       = 0 <0.000258>
14:12:37 ioctl(18, FIONREAD, [1])       = 0 <0.000175>
14:12:47 gettimeofday({1210075967, 770297}, NULL) = 0 <0.000011>
14:12:47 ioctl(18, FIONREAD, [1])       = 0 <0.000010>
14:12:47 ioctl(18, FIONREAD, [1])       = 0 <0.000008>
14:12:47 ioctl(18, FIONREAD, [1])       = 0 <0.000007>
14:12:47 ioctl(18, FIONREAD, [1])       = 0 <0.000007>
14:12:47 ioctl(18, FIONREAD, [1])       = 0 <0.000008>
14:12:47 ioctl(18, FIONREAD, [1])       = 0 <0.000007>
14:12:47 ioctl(18, FIONREAD, [1])       = 0 <0.000008>
14:12:47 ioctl(18, FIONREAD, [1])       = 0 <0.000008>
14:12:47 ioctl(16, FIONREAD, [64])      = 0 <0.000011>
14:12:47 read(16,
"\34\270EQ^\0\0\0R\1\0\0\300\311%\276\0\311%\276\300\371"..., 64) = 64
<0.000054>
[cut]

so there are no system calls during that time.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-3-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages kbabel depends on:
ii  kdelibs4c2a            4:3.5.9.dfsg.1-4  core libraries and binaries for al
ii  libacl1                2.2.41-1          Access control list shared library
ii  libart-2.0-2           2.3.19-3          Library of functions for 2D graphi
ii  libattr1               1:2.4.41-1        Extended attribute shared library
ii  libaudio2              1.8-3             The Network Audio System (NAS). (s
ii  libc6                  2.7-3             GNU C Library: Shared libraries
ii  libdb4.6               4.6.21-5          Berkeley v4.6 Database Libraries [
ii  libfontconfig1         2.5.0-2           generic font configuration library
ii  libfreetype6           2.3.5-1+b1        FreeType 2 font engine, shared lib
ii  libgamin0 [libfam0]    0.1.9-2           Client library for the gamin file
ii  libgcc1                1:4.3.0-2         GCC support library
ii  libice6                1:1.0.1-2         X11 Inter-Client Exchange library
ii  libidn11               0.5.18-1          GNU libidn library, implementation
ii  libjpeg62              6b-10             The Independent JPEG Group's JPEG
ii  libpng12-0             1.2.15~beta5-1    PNG library - runtime
ii  libqt3-mt              3:3.3.8b-4        Qt GUI Library (Threaded runtime v
ii  libsm6                 1:1.0.1-3         X11 Session Management library
ii  libstdc++6             4.3.0-2           The GNU Standard C++ Library v3
ii  libx11-6               2:1.0.3-5         X11 client-side library
ii  libxcursor1            1.1.3-1           X cursor management library
ii  libxext6               1:1.0.1-2         X11 miscellaneous extension librar
ii  libxft2                2.1.8.2-8         FreeType-based font drawing librar
ii  libxi6                 6.8.2.dfsg.1-7    X Window System Input extension li
ii  libxinerama1           6.8.2.dfsg.1-7    X Window System multi-head display
ii  libxrandr2             2:1.2.1-1         X11 RandR extension library
ii  libxrender1            1:0.9.1-3         X Rendering Extension client libra
ii  libxt6                 1:1.0.2-2         X11 toolkit intrinsics library
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages kbabel recommends:
ii  gettext                       0.17-2     GNU Internationalization utilities

-- no debconf information



Reply to: