On Mon, 2006-07-10 at 14:01 +0200, Petter Reinholdtsen wrote: > Can you run 'valgrind ipmitool -o lan -H 192.168.104.130 chassis > status' and tell me what kind of errors it reports?
Sure -- the result of valgrind is attached. Please do tell me if there is anything else you'd like me to try! Cheers, -- Fabian Fagerholm <[EMAIL PROTECTED]>
==18521== Memcheck, a memory error detector. ==18521== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==18521== Using LibVEX rev 1575, a library for dynamic binary translation. ==18521== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==18521== Using valgrind-3.1.1-Debian, a dynamic binary instrumentation framework. ==18521== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==18521== For more details, rerun with: -v ==18521== ==18521== My PID = 18521, parent PID = 18466. Prog and args are: ==18521== ipmitool ==18521== -o ==18521== lan ==18521== -H ==18521== 192.168.104.130 ==18521== chassis ==18521== status ==18521== ==18521== Invalid read of size 1 ==18521== at 0x401E129: strncmp (mac_replace_strmem.c:311) ==18521== by 0x806DF03: (within /usr/bin/ipmitool) ==18521== by 0x8079E2D: (within /usr/bin/ipmitool) ==18521== by 0x807891C: (within /usr/bin/ipmitool) ==18521== by 0x806472E: (within /usr/bin/ipmitool) ==18521== by 0x8072E26: (within /usr/bin/ipmitool) ==18521== by 0x8073AC7: (within /usr/bin/ipmitool) ==18521== by 0x804AE9C: (within /usr/bin/ipmitool) ==18521== by 0x41D7EAF: (below main) (in /lib/tls/i686/cmov/libc-2.3.6.so) ==18521== Address 0xFFFFFFFF is not stack'd, malloc'd or (recently) free'd ==18521== ==18521== Process terminating with default action of signal 11 (SIGSEGV) ==18521== Access not within mapped region at address 0xFFFFFFFF ==18521== at 0x401E129: strncmp (mac_replace_strmem.c:311) ==18521== by 0x806DF03: (within /usr/bin/ipmitool) ==18521== by 0x8079E2D: (within /usr/bin/ipmitool) ==18521== by 0x807891C: (within /usr/bin/ipmitool) ==18521== by 0x806472E: (within /usr/bin/ipmitool) ==18521== by 0x8072E26: (within /usr/bin/ipmitool) ==18521== by 0x8073AC7: (within /usr/bin/ipmitool) ==18521== by 0x804AE9C: (within /usr/bin/ipmitool) ==18521== by 0x41D7EAF: (below main) (in /lib/tls/i686/cmov/libc-2.3.6.so) ==18521== ==18521== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 23 from 1) ==18521== malloc/free: in use at exit: 519 bytes in 8 blocks. ==18521== malloc/free: 9 allocs, 1 frees, 871 bytes allocated. ==18521== For counts of detected errors, rerun with: -v ==18521== searching for pointers to 8 not-freed blocks. ==18521== checked 820,984 bytes. ==18521== ==18521== LEAK SUMMARY: ==18521== definitely lost: 0 bytes in 0 blocks. ==18521== possibly lost: 0 bytes in 0 blocks. ==18521== still reachable: 519 bytes in 8 blocks. ==18521== suppressed: 0 bytes in 0 blocks. ==18521== Reachable blocks (those to which a pointer was found) are not shown. ==18521== To see them, rerun with: --show-reachable=yes
signature.asc
Description: This is a digitally signed message part

