[SOLVED] JLinkRTTViewer segmentation fault (v6.46g)

  • hi,
    i'm getting this segmentation fault when trying to use jlinkrttviewer (it occurs when clicking on the device selector):

    i'm using ubuntu 16.04.

  • Hello,

    Thank you for your inquiry.
    We are sorry to hear you are having issues with one of our products.

    Are you referring to the [...] button for "Specify Target Device" (Please see the attached screenshot for reference)?

    I just tried this on ubuntu 16.04 and the device selection dialog worked as expected.
    Same goes for ubuntu 18.04.

    Could you please tell me if you do anything else before clicking the [...] button, or do you just open RTTViewer and click the button immedieately?

  • Hello Jacob,

    Could you please tell me how you start the J-Link RTT Viewer?
    I was able to reproduce the error you describe when executing the J-Link RTT Viewer from a directory
    which is different from the directory that the J-Link RTT Viewer resides in.

    Have you tried executing the J-Link RTT Viewer from its directory?
    For example by calling

    cd [...]/JLink_Linux_V646g_x86_64/

    ./JLinkRTTViewerExe

    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: https://www.segger.com/ticket/

    Or you can contact us via e-mail.

  • Hello,
    I am not starting it from the directory it's located - so we're probably seeing the same.

    It should not cause a segmentation fault, however. That indicates that something is not right.

    Thanks, Jacob

  • Hello Jacob,

    You are right, that behavior is not intentional and it has been fixed already.
    It was caused by the different behavior, depending on where the application was executed from.
    This will be fixed with the next release of the J-Link software package.

    Stay up-to-date regarding J-Link:
    https://www.segger.com/notification/s…php?prodid=7,94

    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: https://www.segger.com/ticket/

    Or you can contact us via e-mail.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!