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

Arnaud Quette aquette.dev at gmail.com
Mon Dec 19 08:12:38 UTC 2005


Hi Roger,

2005/12/18, Peter Selinger <selinger at mathstat.dal.ca>:
>
> Hi Roger,
>
> it looks to me like you are describing a bug in PSP, not in NUT, so
> this is perhaps the wrong mailing list to ask this question? Perhaps
> you should ask MGE's technical support.


Peter is right. We'll follow on privately, but I've kept this mail public as
I've found this problem, and I'm working on a fix.
An update will be soon available on the MGE PSP repository.

Finally note that MGE officially support NUT and the PSP, so you should
prefer using the standard support call:
http://www.mgeups.com/techinfo/menu.htm

I recommend you try configuring NUT by following the instructions in
> the file INSTALL in the NUT distribution. If it still does not work,
> you should ask this list.
>
> -- Peter
>
> Roger Price wrote:
> >
> >  - 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?
>

Arnaud
--
Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20051219/c44a5d62/attachment.htm


More information about the Nut-upsuser mailing list