lkl wysypuje się, memory fault
Mariusz Piotrowski
piotrowski.mariusz w gmail.com
Sob, 2 Wrz 2006, 17:35:17 CEST
Witam, chciałem pobawić się loggerem lkl. Zbudowałem z cvs,
zainstalował się, ale wywala się.
Poniżej strace
execve("/usr/bin/lkl", ["lkl", "-l", "-k",
"/usr/share/lkl/keymaps/us_km", "-o", "key.log"], [/* 19 vars */]) = 0
brk(0) = 0x804b000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=119405, ...}) = 0
mmap2(NULL, 119405, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fbe000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0Z\1\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1196204, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fbd000
mmap2(NULL, 1205660, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0xb7e96000
mmap2(0xb7fb6000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11f) = 0xb7fb6000
mmap2(0xb7fba000, 9628, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fba000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7e95000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e956b0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
open("/dev/urandom", O_RDONLY) = 3
read(3, "f\327\241\25", 4) = 4
close(3) = 0
mprotect(0xb7fb6000, 8192, PROT_READ) = 0
munmap(0xb7fbe000, 119405) = 0
getuid32() = 0
getgid32() = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fdb000
write(1, "\n", 1) = 1
write(1, "Started to log port 0x60. Keymap"..., 90) = 90
brk(0) = 0x804b000
brk(0x806c000) = 0x806c000
open("/usr/share/lkl/keymaps/us_km", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=574, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fda000
read(3, "#########################\n# Linu"..., 4096) = 574
read(3, "", 4096) = 0
open("/usr/share/lkl/keymaps/us_kmUP", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=593, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fd9000
read(4, "#########################\n# Lin"..., 4096) = 593
read(4, "", 4096) = 0
open("/usr/share/lkl/keymaps/us_kmALT", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=543, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fd8000
read(5, "NULL\n\271\n\262\n\263\n\274\n\275\n\276\n{\n[\n]\n}\n"..., 4096) = 543
read(5, "", 4096) = 0
close(5) = 0
munmap(0xb7fd8000, 4096) = 0
ioperm(0x60, 0x1, 0x1) = 0
ioperm(0x64, 0x1, 0x1) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Środowisko TH.
Może jest jakiś inny prosty logger działania klawiatury?
Pozdrawiam
Więcej informacji o liście dyskusyjnej pld-users-pl