1 Jul 2010 04:18
Re: libusb_handle_events() crashing
lxman <jordan.mymail <at> gmail.com>
2010-07-01 02:18:52 GMT
2010-07-01 02:18:52 GMT
This might help - while I was trying to shuffle code around and pinpoint a
little closer what is going on, my debugger dropped me (just before the app
crashed) into libusb_get_next_timeout. The point in the code where it
stopped was here:
pthread_mutex_lock(&ctx->flying_transfers_lock);
if (list_empty(&ctx->flying_transfers)) {
pthread_mutex_unlock(&ctx->flying_transfers_lock);
usbi_dbg("no URBs, no timeout!");
--> return 0;
}
Maybe that will give a closer idea of what is going on to someone who knows
libusb more intimately.
--
--
View this message in context: http://libusb.6.n5.nabble.com/libusb-handle-events-crashing-tp512231p512265.html
Sent from the LibUSB Dev mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
RSS Feed