Nick Rosier
2006-Apr-04 15:01 UTC
[Nut-upsuser] newhidups crashes intermittently (double free or corruption)
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
Charles Lepple
2006-Apr-04 17:15 UTC
[Nut-upsuser] newhidups crashes intermittently (double free or corruption)
On 4/4/06, Nick Rosier <nick.rosier@gmail.com> wrote:> *** glibc detected *** /usr/lib/nut/newhidups: double free or > corruption (fasttop): 0x08066f10 ***Unfortunately, this address doesn't help unless you have debugging symbols for the newhidups driver. Is this compiled from a Gentoo package, or straight from source? Also, does the driver dump core? -- - Charles Lepple
Arnaud Quette
2006-Apr-06 07:51 UTC
[Nut-upsuser] newhidups crashes intermittently (double free or corruption)
2006/4/6, Nick Rosier <nick.rosier@gmail.com>:> > ... > > Quickly changed my ebuild to build from svn. Currently running trunk > > rev 394. Will keep you posted if the problem still exist. Thanks for > > fixing this very quickly. > > Arnaud, > > this seems to have fixed the problem; driver has been working nicely > for over 12h now, before it usually trashed within a few hours. > Great job.thanks for the feedback 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/