On Tue, Jun 13, 2006 at 11:32:55PM +0200, Filippo Giunchedi wrote:

> this: 
> http://people.debian.org/~filippo/patches/hwinfo-12.31_libsysfs2-0.1.patch
> is my first attempt to port hwinfo to libsysfs2, the patch is against
> 12.31 but applies to 12.9 with all hunks successful (just a few offsets).
> Please test the patch if it works for you (at least if it finds the same
> amount of hardware, or more :))
> The output from debian's hwinfo and 12.9 patched are not identical though,
> I can't tell if there's more information or less, I have it available for
> display.

Thanks a lot for this patch! :)

The patch applies fine with 12.33 (newest upstream I found atm), but I
get this error when running hwinfo (this is the shared libary one -
similar source package that is in experimental, but with your patch and
newer upstream release):

  [EMAIL PROTECTED]:~$ /usr/sbin/hwinfo 
  > usb.3.3: input*** glibc detected *** double free or corruption
  > (fasttop): 0x0807dbf0 ***
  Aborted

This error is also when using --hw_item, when hw_item is one of block,
bluetooth, braille, camera, cdrom, chipcard, disk, dsl, floppy, hub,
isdn, joystick, keyboard, modem, mouse, netcard, network, partition,
printer, scanner, usb and wlan.

I also got a segmentation fault for hw_item like pci, pcmcia and pppoe:

  [EMAIL PROTECTED]:~$ /usr/sbin/hwinfo --pci
  > net.1: get network dataSegmentation fault

I have not tested 12.33 without your patch yet, not as a static binary,
and not 12.31 nor 12.9 with your patch. Hope to do some more testing
later tonight, and will send updates to you and BTS. Maybe I will have
time to run hwinfo in Valgrind too.. :)


- Werner



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to