CrossStudio crash on USB device detach on OS X 10.8

Comments

2 comments

  • Avatar
    Jon Elliott

    Hi Andrze,

    I've also seen this problem - I have submitted a bug report to Segger and they have confirmed it is a problem with their OS X J-Link shared library. I'm not aware that there is a fix available yet  - I suspect the best fix would be for them to ditch the use of libusb on OS X and use the OS X USB API directly (which is what we did with CrossConnect) as it causes other headaches such as having to set up the DYLD_LIBRARY_PATH environment variable.

    Regards,

    Jon

    0
    Comment actions Permalink
  • Avatar
    Andrzej Haczewski

    I did some more digging and what I found is that to stop CrossStudio from crashing I have to do one of two things:

    1. remove libusb-1.0.0.dylib, or
    2. remove JLink.so_macos_x86 from CrossWorks/bin directory.

    So my best bet is that "libjlinkarm" is not the problem but "JLink.so_macos_x86" is. Therefore if that shared library comes from Segger then it is indeed their problem. Can you please check with them again? I have removed all Segger JLink Software for Mac (along with libjlinkarm.4.62.1.dylib) from the disk so there is no way that CrossStudio can find it, yet it still crashes with me. Now I need to remove libusb or JLink.so_macos_x86 to make it work again...

    Best regards,

    Andrzej Haczewski

    0
    Comment actions Permalink

Please sign in to leave a comment.