First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 225879
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Robin Johnson <robbat2@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: roma1390@gmail.com
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
libusb-0.1.12.diff patch patch roma1390@gmail.com 2008-06-11 11:57 0000 588 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 225879 depends on: Show dependency tree
Bug 225879 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-06-11 11:55 0000
libusb-0.1.12 on usb_bulk_read or usb_bulk_write goes into infinitive when user
removes usb device (or device firmware reset device itself).

strace from program which called usb_bulk_read with timeout 1000

9388  14:00:31 ioctl(11, USBDEVFS_REAPURBNDELAY, 0xbf84af08) = -1 ENODEV (No
such device)
9388  14:00:31 select(12, NULL, [], NULL, {0, 1000}) = 0 (Timeout)
9388  14:00:31 ioctl(11, USBDEVFS_REAPURBNDELAY, 0xbf84af08) = -1 ENODEV (No
such device)
9388  14:00:31 select(12, NULL, [], NULL, {0, 1000}) = 0 (Timeout)
9388  14:00:31 ioctl(11, USBDEVFS_REAPURBNDELAY, 0xbf84af08) = -1 ENODEV (No
such device)
9388  14:00:31 select(12, NULL, [], NULL, {0, 1000}) = 0 (Timeout)
9388  14:00:31 ioctl(11, USBDEVFS_REAPURBNDELAY, 0xbf84af08) = -1 ENODEV (No
such device)
9388  14:00:31 select(12, NULL, [], NULL, {0, 1000}) = 0 (Timeout)
9388  14:00:31 ioctl(11, USBDEVFS_REAPURBNDELAY, 0xbf84af08) = -1 ENODEV (No
such device)
9388  14:00:31 select(12, NULL, [], NULL, {0, 1000}) = 0 (Timeout)
9388  14:00:31 ioctl(11, USBDEVFS_REAPURBNDELAY, 0xbf84af08) = -1 ENODEV (No
such device)
9388  14:00:31 select(12, NULL, [], NULL, {0, 1000}) = 0 (Timeout)
9388  14:00:31 ioctl(11, USBDEVFS_REAPURBNDELAY, 0xbf84af08) = -1 ENODEV (No
such device)
9388  14:00:31 select(12, NULL, [], NULL, {0, 1000}) = 0 (Timeout)
9388  14:00:31 ioctl(11, USBDEVFS_REAPURBNDELAY, 0xbf84af08) = -1 ENODEV (No
such device)
9388  14:00:31 select(12, NULL, [], NULL, {0, 1000}) = 0 (Timeout)


Reproducible: Always

Steps to Reproduce:

------- Comment #1 From roma1390@gmail.com 2008-06-11 11:57:22 0000 -------
Created an attachment (id=156339) [details]
patch

This patch fixes described problem

------- Comment #2 From Robin Johnson 2008-06-25 03:25:50 0000 -------
dsd: for your edification as upstream


incvs.

First Last Prev Next    No search results available      Search page      Enter new bug