1 Oct 2011 01:22
Re: libusb_close - hanging
Alan Ott <alan <at> signal11.us>
2011-09-30 23:22:23 GMT
2011-09-30 23:22:23 GMT
On 09/30/2011 01:19 PM, Tom Morrison wrote: > I am shutting down libusb and using a specific device handle, I call > libusb_release with good results, then I try calling libusb_close > and it hangs - no return (error or otherwise)? > > Any idea of where I should start looking? Hi Tom, You should probably give the following information: 1. Which operating system (as much info as you have (kernel version, etc))? 2. Which version of libusb? 3. Does the problem occur with the latest libusb that's in git? 4. What type of device, what are you doing with it? In other words, do you open/read/close, or open/read/write/close, or just open/close; what kind of transfers, etc? 5. Can you provide a simple-as-possible program which demonstrates the problem? I'd start by building libusb from source with debugging enabled and running your program in a debugger to get a good handle on where the hang is taking place. Alan. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes(Continue reading)
RSS Feed