Hi Erik, On 01/21/2014 10:42 AM, Erik Rull wrote: > Hi all, > > getting a tpriv->urbs NULL pointer causes negative urb_idx and successively an > undefined behavior! This happens when removing a USB device during a transfer > with a chance of ~ 20%.
Thanks for looking into this, the big question is why tpriv->urbs becomes NULL, that should never happen for a not yet finished trasnfer, it would be great if you could debug this further focusing on why tpriv->urbs becomes NULL. It may be helpful to also print the transfer pointer when this happens, and then look in the debugging traces to see what exactly is happening with this transfer before the problem. Regards, Hans ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel