On Fri, Jun 14, 2013 at 4:08 PM, Hans de Goede <hdego...@redhat.com> wrote:
> Hmm, as Nathan has already pointed out this is caused by pthread_create
> failing. I think you may be running out of resources and/or hitting
> a ulimit.
>
> This may also be related to the udev fd not being non-blocking issue
> Chris Dickens reported.
>
> I've just pushed 2 patches to master, one to log the error code when
> pthread_create fails, and a cleaned-up version of Chris' non-blocking
> patch.
>
> Can you please retry with the latest master, and tell us what the error
> code is (if it still fails) ?

It still fails.

mcuee@Ubuntu1204VM:~/Desktop/build/libusbx/libusbx/build$ ./tests/stress
Starting test run: init_and_exit...
Failed to init libusb on iteration 381: -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


...
libusbx: error [linux_udev_start_event_monitor] creating hotplug event
thread (11)
libusbx: error [op_init] error starting hotplug event monitor
Failed to init libusb on iteration 382: -99
Failure (1)
Starting test run: get_device_list...
libusbx: debug [libusb_init] created default context
libusbx: debug [libusb_init] libusbx v1.0.16.10736
libusbx: debug [find_usbfs_path] found usbfs at /dev/bus/usb
libusbx: debug [op_init] bulk continuation flag supported
libusbx: debug [op_init] zero length packet flag supported
libusbx: debug [op_init] sysfs can relate devices
libusbx: debug [op_init] sysfs has complete descriptors
libusbx: error [linux_udev_start_event_monitor] creating hotplug event
thread (11)
libusbx: error [op_init] error starting hotplug event monitor
Failed to init libusb: -99
Failure (1)
Starting test run: many_device_lists...
libusbx: debug [libusb_init] created default context
libusbx: debug [libusb_init] libusbx v1.0.16.10736
libusbx: debug [find_usbfs_path] found usbfs at /dev/bus/usb
libusbx: debug [op_init] bulk continuation flag supported
libusbx: debug [op_init] zero length packet flag supported
libusbx: debug [op_init] sysfs can relate devices
libusbx: debug [op_init] sysfs has complete descriptors
libusbx: error [linux_udev_start_event_monitor] creating hotplug event
thread (11)
libusbx: error [op_init] error starting hotplug event monitor
Failed to init libusb: -99
Failure (1)
Starting test run: default_context_change...
libusbx: debug [libusb_init] created default context
libusbx: debug [libusb_init] libusbx v1.0.16.10736
libusbx: debug [find_usbfs_path] found usbfs at /dev/bus/usb
libusbx: debug [op_init] bulk continuation flag supported
libusbx: debug [op_init] zero length packet flag supported
libusbx: debug [op_init] sysfs can relate devices
libusbx: debug [op_init] sysfs has complete descriptors
libusbx: error [linux_udev_start_event_monitor] creating hotplug event
thread (11)
libusbx: error [op_init] error starting hotplug event monitor
Failed to init libusb: -99
Failure (1)
---
Ran 4 tests
Passed 0 tests
Failed 4 tests
Error in 0 tests
Skipped 0 tests



-- 
Xiaofan

Attachment: error1.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

Reply via email to