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

Nick Rosier nick.rosier at gmail.com
Tue Apr 4 20:57:51 UTC 2006


On 4/4/06, Nick Rosier <nick.rosier at gmail.com> wrote:
> On 4/4/06, Charles Lepple <clepple at gmail.com> wrote:
> > On 4/4/06, Nick Rosier <nick.rosier at 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?
>
> It's built from an "unofficial" ebuild. I've just compiled it now and
> copied newhidups to a safe location before it got stripped. I'll try
> running that and see if I can get some more information.
>
> > Also, does the driver dump core?
>
> Coredumping is enabled but no coredump was created :-(

Again, with an unstripped version of newhidups. But it doesn't seem to
give more information; no core dump either. Anything else I can try?
Strace it and hope the file doesn't fill up my disk :-)

=>Got 2 HID Objects...
upsdrv_updateinfo...

=>Got 2 HID Objects...
upsdrv_updateinfo...
upsdrv_updateinfo...

=>Got 2 HID Objects...
upsdrv_updateinfo...
upsdrv_updateinfo...
upsdrv_updateinfo...

=>Got to reconnect!

*** glibc detected *** ./newhidups: double free or corruption
(fasttop): 0x0806be50 ***
======= Backtrace: =========
/lib/libc.so.6[0x416b1c51]
/lib/libc.so.6(__libc_free+0x89)[0x416b2729]
/usr/lib/libusb-0.1.so.4(usb_close+0x30)[0xa7ed9860]
/lib/libc.so.6(__libc_start_main+0xe6)[0x41664896]
./newhidups[0x8049981]
======= Memory map: ========
08048000-08057000 r-xp 00000000 03:03 16153049   /root/newhidups
08057000-0805a000 rw-p 0000f000 03:03 16153049   /root/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
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
a7d00000-a7d21000 rw-p a7d00000 00:00 0
a7d21000-a7e00000 ---p a7d21000 00:00 0
a7ed7000-a7ed8000 rw-p a7ed7000 00:00 0
a7ed8000-a7ede000 r-xp 00000000 03:03 19185849   /usr/lib/libusb-0.1.so.4.4.3
a7ede000-a7ee0000 rw-p 00005000 03:03 19185849   /usr/lib/libusb-0.1.so.4.4.3
a7f02000-a7f04000 rw-p a7f02000 00:00 0
afaef000-afb04000 rw-p afaef000 00:00 0          [stack]
ffffe000-fffff000 ---p 00000000 00:00 0          [vdso]
Aborted



More information about the Nut-upsuser mailing list