On Thu, Jun 13, 2013 at 9:20 PM, Toby Gray <toby.g...@realvnc.com> wrote: > On 13/06/13 14:07, Hans de Goede wrote: >> Hi, >> >> On 06/13/2013 02:41 PM, Xiaofan Chen wrote: >>> stress test failed with the latest git tree. >>> 1.0.15 release works fine. >>> >>> mcuee@ubuntu1304vm:~/Desktop/build/libusbx$ ./tests/stress >>> Starting test run: init_and_exit... >>> Failed to init libusb on iteration 382: -99 >>> Failure (1) >>> Starting test run: get_device_list... >>> Failed to init libusb: -99 >>> Failure (1) >>> Starting test run: many_device_lists... >>> Failed to init libusb: -99 >>> Failure (1) >>> Starting test run: default_context_change... >>> Failed to init libusb: -99 >>> Failure (1) >>> --- >>> Ran 4 tests >>> Passed 0 tests >>> Failed 4 tests >>> Error in 0 tests >>> Skipped 0 tests >> Hmm, not good. Can you please do: >> export LIBUSB_DEBUG=5 >> >> And then run the stress test again? >> >> It may be useful to redirect the output to a log file, >> since it will probably generate a lot of output. > > You'll also need to run the tests with -v to prevent them from > redirecting stderr and stdout during tests. > > It might make sense for the -v option to set the debug level to 5 > automatically.
Thanks for the tips. The error seems to be related to udev. libusbx: error [linux_udev_start_event_monitor] could not create linux hotplug event thread libusbx: error [op_init] error starting hotplug event monitor Failed to init libusb: -99 Enclosed please find the debug log. -- Xiaofan
error.log.tar.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev
_______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel