[arch-general] libusbx

Fons Adriaensen fons at linuxaudio.org
Sun Jun 10 19:41:43 EDT 2012


Regarding the libusb / libusbx replacement, the following
may be of interest to authors using it:

I have one app using libusb, after the upgrade it consistently
segfaulted on calling libusb_exit(0).

The '0' argument in this call and some others means my code 
was using the 'default context'. Using an explicit context
solved the problem. So either the the 'default context' isn't
supported anymore (no mention of that in the docs), or there's
some bug related to it in libusbx.

Ciao, 

-- 
FA

A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)



More information about the arch-general mailing list