Package: kicad
Version: 0.0.20080825c-1
Severity: important

After starting kicad (without a project) it recursively lists the whole working 
directory. If the current directory is a quite large home directory, it eats up 
all RAM.
If the current directory is empty or not really full, there is no problem. This 
error is not present in the stable version (0.0.20071129a-1).

Removing .kicad and .kicad_common doesn't help.

Here is a part of strace's output when kicad is started in /home/max:
...
getcwd("/home/max"..., 1024)        = 14
open("/home/max", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
lseek(6, 0, SEEK_SET)                   = 0
getdents64(6, /* 113 entries */, 4096)  = 4080

stat64("/home/max/.kpackage", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/home/max/.kpackage", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 8
fstat64(8, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lseek(8, 0, SEEK_SET)                   = 0
getdents64(8, /* 3 entries */, 4096)    = 72

stat64("/home/max/.kpackage/dir", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
...

Thanks

Max Gaukler



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to