Sorry, I forgot the stacktrace since it so extremely short. I tried recompiling 
libusbx with 
    ./configure CC='icc' CXX='icpc' CXXFLAGS='-O3 -g3' CCFLAGS=' -O3 -g3'
but it did not help to get anything more verbose. 

    Program received signal EXC_BAD_ACCESS, Could not access memory.
    Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
    [Switching to process 56084 thread 0x6803]
    0x00000001001edc1d in usbi_handle_transfer_completion 
(itransfer=0x10141b428, status=LIBUSB_TRANSFER_COMPLETED) at io.c:1534
    1534            list_del(&itransfer->list);
    (gdb) where
    #0  0x00000001001edc1d in usbi_handle_transfer_completion 
(itransfer=0x10141b428, status=LIBUSB_TRANSFER_COMPLETED) at io.c:1534
    #1  0x00000001001f91e7 in op_handle_events (ctx=0x10141b428, fds=0x0, 
nfds=0, num_ready=0) at os/darwin_usb.c:1831
    Current language:  auto; currently c 

If helpful, I enabled libusbx debug messages and I will attach the last couple 
of printouts:

  Recycling Returning
     [ 9.888950] [00006803] libusbx: debug [libusb_get_next_timeout] no URB 
with timeout or all handled by OS; no timeout!
     [ 9.888950] [00004937] libusbx: debug [darwin_devices_detached] notifying 
context 0x10141b310 of device disconnect
    [ 9.888996] [00006803] libusbx: debug 
[libusb_handle_events_timeout_completed] doing our own event handling
    [ 9.889054] [00006803] libusbx: debug [handle_events] poll() 3 fds with 
timeout in 1000ms
    [ 9.889068] [00006803] libusbx: debug [handle_events] poll() returned 2
    [ 9.889072] [00006803] libusbx: debug [handle_events] caught a fish on the 
hotplug pipe
    [ 9.889079] [00006803] libusbx: debug [usbi_handle_disconnect] device 20.28
    [ 9.889082] [00006803] libusbx: debug [usbi_handle_disconnect] cancelling 
transfer 0x1014a1520 from disconnect
    [ 9.889085] [00006803] libusbx: debug [usbi_handle_transfer_completion] 
transfer 0x1014a1520 has callback 0x10000ec46
    [ 9.889098] [00006803] libusbx: debug [op_handle_events] checking fd 7 with 
revents = 0
    [ 9.889101] [00006803] libusbx: debug [op_handle_events] checking fd 9 with 
revents = 0
    [ 9.889104] [00006803] libusbx: debug [op_handle_events] checking fd 14 
with revents = 1
    [ 9.889107] [00006803] libusbx: debug [darwin_handle_callback] handling 
interrupt completion with kernel status -536854453
    [ 9.889172] [00006803] libusbx: warning [darwin_transfer_status] transfer 
error: high speed split error (value = 0xe000404b)

Thanks in advance!

---
Reply to this email directly or view it on GitHub:
https://github.com/libusbx/libusbx/issues/121#issuecomment-21095511
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to