[Nut-upsuser] newhidups crashes intermittently (double free or corruption)

Nick Rosier nick.rosier at gmail.com
Tue Apr 4 15:01:02 UTC 2006


Hi,

I'm running nut 2.0.3 on Gentoo connected to an MGE ProtectionCenter
675. newhidups intermittently crashes. Any ideas?

N.

# /usr/lib/nut/newhidups -a mgeups
Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.3)

Detected a UPS: MGE UPS SYSTEMS/PROTECTIONCENTER
Using subdriver: MGE HID 0.8

This is the error I'm getting

*** glibc detected *** /usr/lib/nut/newhidups: double free or
corruption (fasttop): 0x08066f10 ***
======= Backtrace: =========
/lib/libc.so.6[0x416b1c51]
/lib/libc.so.6(__libc_free+0x89)[0x416b2729]
/usr/lib/libusb-0.1.so.4(usb_close+0x30)[0x4176e860]
/lib/libc.so.6(__libc_start_main+0xe6)[0x41664896]
/usr/lib/nut/newhidups[0x8049981]
======= Memory map: ========
08048000-08057000 r-xp 00000000 03:03 23605722   /usr/lib/nut/newhidups
08057000-0805a000 rw-p 0000f000 03:03 23605722   /usr/lib/nut/newhidups
0805a000-0807d000 rw-p 0805a000 00:00 0          [heap]
4162b000-41644000 r-xp 00000000 03:03 1803014    /lib/ld-2.4.so
41644000-41645000 r--p 00019000 03:03 1803014    /lib/ld-2.4.so
41645000-41646000 rw-p 0001a000 03:03 1803014    /lib/ld-2.4.so
4164f000-41764000 r-xp 00000000 03:03 1803015    /lib/libc-2.4.so
41764000-41766000 r--p 00114000 03:03 1803015    /lib/libc-2.4.so
41766000-41768000 rw-p 00116000 03:03 1803015    /lib/libc-2.4.so
41768000-4176b000 rw-p 41768000 00:00 0
4176d000-41773000 r-xp 00000000 03:03 20745699   /usr/lib/libusb-0.1.so.4.4.3
41773000-41775000 rw-p 00005000 03:03 20745699   /usr/lib/libusb-0.1.so.4.4.3
418f8000-41900000 r-xp 00000000 03:03 1803048   
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libgcc_s.so.1
41900000-41901000 rw-p 00007000 03:03 1803048   
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libgcc_s.so.1
a7e00000-a7e21000 rw-p a7e00000 00:00 0
a7e21000-a7f00000 ---p a7e21000 00:00 0
a7f65000-a7f66000 rw-p a7f65000 00:00 0
a7f88000-a7f8a000 rw-p a7f88000 00:00 0
afa75000-afa8a000 rw-p afa75000 00:00 0          [stack]
ffffe000-fffff000 ---p 00000000 00:00 0          [vdso]
Aborted



More information about the Nut-upsuser mailing list