[Nut-upsuser] psp on SuSE 10.0: free(): invalid pointer

Roger Price rprice at cs.uml.edu
Sun Dec 18 10:32:08 UTC 2005


 - UPS MGE Premium Ellipse Premium 1200
 - SuSE Linux 10.0 OSS, kernel 2.6.13 smp
 - gcc version 4.0.2 20050901 (prerelease), glibc-2.3.5-40
 - mgeups-psp-3.0.0-3, nut-2.0.2-4
 - Dell Dimension 8400 with dual core Intel Xeon. 3.0GHz.

lsusb shows:
Bus 002 Device 003: ID 0463:ffff MGE UPS Systems UPS

less /proc/bus/usb/devices shows for bus 2 device 3:
T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0463 ProdID=ffff Rev= 0.01
S:  Manufacturer=MGE UPS SYSTEMS
S:  Product=ellipse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 20mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=20ms

I followed the User's Guide for this UPS at
http://www.mgeups.com/download/soft/install/linux/psp/psplinux_user_guide_en.pdf
and used SuSE YAST to install mgeups-psp-3.0.0-3 and nut-2.0.2-4.  Smooth,
well done.  I launched Personal Solution-Pac to detect and autoconfigure.
After a few seconds, this program dies with no output and no messages in
/var/log/messages, and no file /etc/ups/upsd.conf. Files /etc/ups/ups.conf and
/etc/ups/upsmon.conf are present, but have not been configured.

I launched PSP in verbose mode:
sandrane:~ # psp -d
option debug
App PID is: 26194
lockfile is /root/.mgeups-psp.lock
lockfile is /root/.mgeups-psp.lock
*** glibc detected *** free(): invalid pointer: 0x080cf0d8 ***
Aborted

No "nut" messages in /var/log/messages.

Is there a deeper debug mode for psp which will help pin down the invalid
pointer?

Roger



More information about the Nut-upsuser mailing list