Arnaud Quette
2006-Feb-25 20:14 UTC
[Nut-upsdev] Re: Bug#354305: nut-usb: newhidups: *** glibc detected *** double free or corruption (fasttop): 0x08068268 ***
Hi Kiko, 2006/2/25, Kiko Piris <menorqui@pirispons.net>:> Package: nut-usb > Version: 2.0.3-1 > Severity: important > > > When newhidups loses comunication with ups (G), it dies when trying to > reconnect with the error: > > *** glibc detected *** double free or corruption (fasttop): 0x08068268 *** > > Following is a copy&paste of the last lines of konsole output: > > /lib/nut/newhidups -a mge -DD -u nut > ---8<--- > Waiting for notifications... > process_status_info: online > process_status_info: !dischrg > process_status_info: chrg > process_status_info: !shutdownimm > process_status_info: !lowbatt > upsdrv_updateinfo... > Waiting for notifications... > Can't retrieve Report 1 (-32/32): Broken pipe > =================================================> = device has been disconnected, try to reconnect > =================================================> Closing device > Reopening device > Checking device (0463/FFFF) (003/002) > - VendorID: 0463 > - ProductID: ffff > - Manufacturer: unknown > - Product: unknown > - Serial Number: unknown > - Bus: 003 > Trying to match device > Device does not match - skipping > Checking device (0000/0000) (003/001) > - VendorID: 0000 > - ProductID: 0000 > - Manufacturer: unknown > - Product: unknown > - Serial Number: unknown > - Bus: 003 > Trying to match device > Device does not match - skipping > Checking device (0000/0000) (004/001) > - VendorID: 0000 > - ProductID: 0000 > - Manufacturer: unknown > - Product: unknown > - Serial Number: unknown > - Bus: 004 > Trying to match device > Device does not match - skipping > Checking device (0000/0000) (002/001) > - VendorID: 0000 > - ProductID: 0000 > - Manufacturer: unknown > - Product: unknown > - Serial Number: unknown > - Bus: 002 > Trying to match device > Device does not match - skipping > Checking device (0000/0000) (001/001) > - VendorID: 0000 > - ProductID: 0000 > - Manufacturer: unknown > - Product: unknown > - Serial Number: unknown > - Bus: 001 > Trying to match device > Device does not match - skipping > No appropriate HID device found > upsdrv_updateinfo... > > =>Got to reconnect! > > =================================================> = device has been disconnected, try to reconnect > =================================================> Closing device > *** glibc detected *** double free or corruption (fasttop): 0x08068268 *** > Aborted > --->8--- > > # upsc mge@localhost > ---8<--- > battery.charge: 100 > battery.charge.low: 30 > battery.runtime: 443 > driver.name: newhidups > driver.parameter.port: auto > driver.version: 2.0.3 > driver.version.data: MGE HID 0.8 > driver.version.internal: 0.28 > input.transfer.high: 264.0 > input.transfer.low: 184.0 > outlet.0.desc: Main Outlet > outlet.0.id: 1 > outlet.0.switchable: 0 > outlet.1.desc: PowerShare Outlet 1 > outlet.1.id: 2 > outlet.1.switch: 1 > outlet.1.switchable: 0 > output.voltage: 230.0 > ups.delay.shutdown: -1 > ups.delay.start: -10 > ups.load: 29 > ups.mfr: MGE UPS SYSTEMS > ups.model: Ellipse 600 > ups.power.nominal: 600 > ups.serial: AP9F370CE > ups.status: OL CHRG > --->8--- > > -- System Information: > Debian Release: testing/unstable > APT prefers unstable > APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') > Architecture: i386 (i686) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.15.4 > Locale: LANG=es_ES.ISO-8859-15, LC_CTYPE=es_ES.ISO-8859-15 (charmap=ISO-8859-15) (ignored: LC_ALL set to es_ES@euro) > > Versions of packages nut-usb depends on: > ii libc6 2.3.6-1 GNU C Library: Shared libraries an > ii libusb-0.1-4 2:0.1.11-4 userspace USB programming library > ii nut 2.0.3-1 The core system of the nut - Netwo > ii udev [hotplug] 0.085-1 /dev/ and hotplug management daemo > > nut-usb recommends no packages. > > -- no debconf information > >many thanks for this feedback. There were some previous thread about this point on upsdev IIRC. we'll investigate and fix this for 2.0.4. 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/