Quoting Jose Luis Rivas Contreras <[EMAIL PROTECTED]>:
hi Jose :)
Maybe this was related in some ways to libc6 versions? Please could you try again? I can't reproduce it in an amd64 port machine with 2.6.22 smp/w/2cores kernel in sid (very similar to yours).
Currently i've kernel 2.6.23 with libc 2.7-3 and itop still segfaults. % valgrind ./itop ... ==19873== Invalid read of size 4 ==19873== at 0x400CF9: read_ints (itop.c:72) ==19873== by 0x401152: main (itop.c:129) ==19873== Address 0x7FF0023D4 is not stack'd, malloc'd or (recently) free'd ==19873== ==19873== Process terminating with default action of signal 11 (SIGSEGV) ==19873== Access not within mapped region at address 0x7FF0023D4 ==19873== at 0x400CF9: read_ints (itop.c:72) ==19873== by 0x401152: main (itop.c:129) The Cause: read_ints:72 interrupts[cur_no].last_count=interrupts[cur_no].count; interrupts[ 505].last_count=interrupts[ 505].count; <= Segfault because interrupts[] is defined as: struct interrupt interrupts[MAX_INTS]; struct interrupt interrupts[ 256]; i've appended the full coredump, hope it helps. cu, michael

