[Konsole-devel] [Bug 117695] New: first tab/menu halts konsole for a few seconds

Vinay S Shastry vinayshastry at gmail.com
Mon Dec 5 06:53:44 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=117695         
           Summary: first tab/menu halts konsole for a few seconds
           Product: konsole
           Version: 1.6
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel kde org
        ReportedBy: vinayshastry gmail com


Version:           1.6 (using KDE 3.5.0, Arch Linux)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.13-archck8

on a new konsole window, when i rightclick or press any menu items or open a new tab, it freezes for a few seconds and resumes work as usual. Subsequent opening of tabs or clicking on menus does not produce this freeze. So i ran strace on konsole and performed the operations (new tab or menu) and got this:

read(3, "\26\264\202\t\360\0 \2\360\0 \2 \0 \2\0\0\0\0\226\0F\0"..., 32) = 32
read(3, "\1\1\263\t\0\0\0\0\0\0y\10\0\200\0\0\330\263\221\277;\253"..., 32) = 32
mmap2(NULL, 770048, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41e0d000
open("/etc/mtab", O_RDONLY)             = 13
fstat64(13, {st_mode=S_IFREG|0644, st_size=471, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x41dd8000
read(13, "/dev/hdb6 / reiserfs rw 0 0\nnone"..., 131072) = 471
close(13)                               = 0
munmap(0x41dd8000, 131072)              = 0
open("/proc/meminfo", O_RDONLY)         = 13
fstat64(13, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40aa8000
read(13, "MemTotal:       773928 kB\nMemFre"..., 1024) = 598
close(13)                               = 0
munmap(0x40aa8000, 4096)                = 0
brk(0x86d7000)                          = 0x86d7000

It freezes at this place for 3 or 4 seconds and proceeds normally from there..

so this makes me wonder why it has to access mtab, and open /proc/meminfo and all when creating a new tab ? and why doesnt this happen when i open another tab?

Will produce more info if requested. Thanks



More information about the konsole-devel mailing list