Hey Greg,

Is this with FreeIPMI 0.4.X?  I'm not 100% sure of the issue skimming
code real quick.  Could you try with the debug rpms
(ftp://ftp.zresearch.com/pub/freeipmi/0.4.5.debug/) and running with the
--debug option?  Or if you compiled yourself running ./configure with --
enable-debug?

Thanks,

Al

On Thu, 2007-10-04 at 14:05 +0200, Gregor Dschung wrote:
> Hi,
> 
> I'm trying to read sensor-data with ipmi-sensors from an HP ProLiant
> DL140G3, but everytime it crashes.
> 
> Even if I read the data with ipmitool, I'll get warnings (I mailed this
> issue already on the ipmitool mailing list).
> 
> I'm not good in debugging such issues, so I hope you can help me.
> 
> ---------
> p300slg01:~/.freeipmi/sdr-cache # ipmi-sensors -h gtseval-ipmi -u ADMIN -P
> Password:
> *** glibc detected *** ipmi-sensors: free(): invalid pointer: 0x0806d680 ***
> ======= Backtrace: =========
> /lib/libc.so.6[0xb7c2e911]
> /lib/libc.so.6(__libc_free+0x84)[0xb7c2ff84]
> ipmi-sensors[0x805258a]
> ipmi-sensors[0x805269f]
> ipmi-sensors[0x804b394]
> ipmi-sensors[0x804b4fb]
> ipmi-sensors[0x8056b7f]
> ipmi-sensors[0x804b606]
> /lib/libc.so.6(__libc_start_main+0xdc)[0xb7be087c]
> ipmi-sensors[0x804a561]
> ======= Memory map: ========
> 08048000-08062000 r-xp 00000000 08:04 40170      /usr/sbin/ipmi-sensors
> 08062000-08063000 rw-p 0001a000 08:04 40170      /usr/sbin/ipmi-sensors
> 08063000-08085000 rw-p 08063000 00:00 0          [heap]
> b7a00000-b7a21000 rw-p b7a00000 00:00 0
> b7a21000-b7b00000 ---p b7a21000 00:00 0
> b7b3a000-b7b44000 r-xp 00000000 08:04 16403      /lib/libgcc_s.so.1
> b7b44000-b7b45000 rw-p 00009000 08:04 16403      /lib/libgcc_s.so.1
> b7b7a000-b7b7b000 rw-p b7b7a000 00:00 0
> b7b7b000-b7bb0000 r--s 00000000 08:04 233346     /var/run/nscd/passwd
> b7bb0000-b7bb2000 rw-p b7bb0000 00:00 0
> b7bb2000-b7bc3000 r-xp 00000000 08:04 16372      /lib/libnsl-2.4.so
> b7bc3000-b7bc5000 rw-p 00010000 08:04 16372      /lib/libnsl-2.4.so
> b7bc5000-b7bc7000 rw-p b7bc5000 00:00 0
> b7bc7000-b7bca000 r-xp 00000000 08:04 1619810   
> /usr/lib/libgpg-error.so.0.1.3
> b7bca000-b7bcb000 rw-p 00002000 08:04 1619810   
> /usr/lib/libgpg-error.so.0.1.3
> b7bcb000-b7ce4000 r-xp 00000000 08:04 16361      /lib/libc-2.4.so
> b7ce4000-b7ce6000 r--p 00118000 08:04 16361      /lib/libc-2.4.so
> b7ce6000-b7ce8000 rw-p 0011a000 08:04 16361      /lib/libc-2.4.so
> b7ce8000-b7ceb000 rw-p b7ce8000 00:00 0
> b7ceb000-b7d0e000 r-xp 00000000 08:04 16369      /lib/libm-2.4.so
> b7d0e000-b7d10000 rw-p 00022000 08:04 16369      /lib/libm-2.4.so
> b7d10000-b7d11000 rw-p b7d10000 00:00 0
> b7d11000-b7d5f000 r-xp 00000000 08:04 260935    
> /usr/lib/libgcrypt.so.11.2.1
> b7d5f000-b7d61000 rw-p 0004d000 08:04 260935    
> /usr/lib/libgcrypt.so.11.2.1
> b7d61000-b7dd7000 r-xp 00000000 08:04 364978    
> /usr/lib/libfreeipmi.so.4.0.0
> b7dd7000-b7eb1000 rw-p 00075000 08:04 364978    
> /usr/lib/libfreeipmi.so.4.0.0
> b7eb1000-b7eb8000 r-xp 00000000 08:04 488969    
> /usr/lib/libipmidetect.so.0.0.0
> b7eb8000-b7eb9000 rw-p 00007000 08:04 488969    
> /usr/lib/libipmidetect.so.0.0.0
> b7eb9000-b7ec9000 r-xp 00000000 08:04 16387      /lib/libpthread-2.4.so
> b7ec9000-b7ecb000 rw-p 0000f000 08:04 16387      /lib/libpthread-2.4.so
> b7ecb000-b7ecd000 rw-p b7ecb000 00:00 0
> b7ecd000-b7f02000 r--s 00000000 08:04 233536     /var/run/nscd/dbTnE5h2
> (deleted)
> b7f02000-b7f03000 rw-p b7f02000 00:00 0
> b7f03000-b7f1d000 r-xp 00000000 08:04 16354      /lib/ld-2.4.so
> b7f1d000-b7f1f000 rw-p 00019000 08:04 16354      /lib/ld-2.4.so
> bf894000-bf8b7000 rw-p bf894000 00:00 0          [stack]
> ffffe000-fffff000 ---p 00000000 00:00 0          [vdso]
> Aborted
> p300slg01:~/.freeipmi/sdr-cache #
> -----------
> 
> Even with the parameter -l ADMIN to force the privilege level to admin,
> I'll getting the same output. With other servers (Supermicro) the tool
> works fine.
> 
> Regards,
> Gregor
> 
-- 
Albert Chu
[EMAIL PROTECTED]
925-422-5311
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory


_______________________________________________
Freeipmi-devel mailing list
Freeipmi-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/freeipmi-devel

Reply via email to