[Sfw-team] [OpenIndiana Distribution - Bug #697] broken libusb.so.1
illumos project
devnull at illumos.org
Tue May 31 18:37:20 UTC 2011
Issue #697 has been updated by Gary Gendel.
This bug was fixed in oi_148b but is back with oi_151
Because of this, the apcusbd program crashes like it did in 147:
(gdb) where
#0 0xfee5c3ec in strtok_r () from /lib/libc.so.1
#1 0xfee5c37f in strtok () from /lib/libc.so.1
#2 0xfef42619 in usb_init () from /usr/lib/libusb.so.1
#3 0x08061077 in open_usb_device (ups=0x8081a58) at generic-usb.c:399
#4 0x080616da in pusb_ups_open (ups=0x8081a58) at generic-usb.c:632
#5 0x0805ef4a in usb_ups_open (ups=0x8081a58) at usb.c:220
#6 0x08055df3 in setup_device (ups=0x8081a58) at device.c:64
#7 0x080575d9 in main (argc=2, argv=0x8047c64) at apcupsd.c:285
I replaced /usr/lib/libusb.so.1 and /usr/lib/64/libusb.so.1 from 148b which solved the problem.
----------------------------------------
Bug #697: broken libusb.so.1
https://www.illumos.org/issues/697
Author: Eugene Turkulevich
Status: New
Priority: Normal
Assignee: OI SFW
Category: SFW (Solaris Freeware)
Target version: oi_151
Difficulty: Medium
Tags: needs-triage
in oi_148 library libusb.so.1 seems broken.
as an example, compiled apcupsd with usb support cannot be started (segmentation fault on launch) with usb in its config.
workaround: replace libusb.so.1 with file from oi_147
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account
More information about the Sfw-team
mailing list