Re: [Libusbx-devel] [libusbx] libusb_interrupt_transfer Segmentation fault. (#160)

2013-11-20 Thread Kerdo Link
I have set a timeout 500ms in libusb_interrupt_transfer(). >From the debug log: libusbx: debug [hid_submit_bulk_transfer] matched endpoint 81 with interface 0 libusbx: debug [hid_submit_bulk_transfer] reading 26 bytes (report ID: 0x00) libusbx: debug [usbi_add_pollfd] add fd 2 events 1 libusbx: de

Re: [Libusbx-devel] [libusbx] libusb_interrupt_transfer Segmentation fault. (#160)

2013-11-20 Thread Tim Roberts
Kerdo Link wrote: > > I have a problem with libusb_interrupt_transfer under cygwin. When I > want to read data from a USB device and there is nothing to receive, I > get a Segmentation fault. I managed to backtrace the fault to > hid_copy_transfer_data() in windows_usb.c, line: > memcpy(transfer_pr

[Libusbx-devel] [libusbx] libusb_interrupt_transfer Segmentation fault. (#160)

2013-11-20 Thread Kerdo Link
I have a problem with libusb_interrupt_transfer under cygwin. When I want to read data from a USB device and there is nothing to receive, I get a Segmentation fault. I managed to backtrace the fault to hid_copy_transfer_data() in windows_usb.c, line: memcpy(transfer_priv->hid_dest, transfer_pri

Re: [Libusbx-devel] [libusbx] Memory leak due to unhandled hotplug left event on libusb_exit() (#150)

2013-11-20 Thread Hans de Goede
Closed #150 via 15ee9598454f0c3b6221f45d36c38fb474af74df. --- Reply to this email directly or view it on GitHub: https://github.com/libusbx/libusbx/issues/150-- Shape the Mobile Experience: Free Subscription Software exper