JLinkGUIServerExe takes 100% CPU

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • JLinkGUIServerExe takes 100% CPU

      New

      Hi!

      I'm using Ozone 3.38c with a J-Link Pro under Arch Linux, installed from AUR.
      Since a few versions, I noticed that Ozone starts one or more JLinkGUIServerExe processes that take 100% CPU after a short while.

      What is the purpose of this process?

      The post was edited 2 times, last by thomask77 ().

    • New

      As a workaround, the processes can be killed with killall JLinkGUIServerExe.

      Another workaround is to simply rename the JLinkGUIServerExe file:

      sudo mv /opt/SEGGER/JLinkGUIServerExe{,_bak}

      Surprisingly, this does not have any effect on the Ozone session..

      The post was edited 1 time, last by thomask77 ().

    • New

      The problem can also be reproduced using telnet:

      Good case:

      $ /opt/SEGGER/JLinkGUIServerExe &

      $ telnet 127.0.0.1 19022
      Trying 127.0.0.1...
      Connected to 127.0.0.1.
      Escape character is '^]'.
      J-Link GUI server;V8.12b;


      Bad case:

      $ /opt/SEGGER/JLinkGUIServerExe &

      <<< WAIT 10 seconds >>>

      $ telnet 127.0.0.1 19022
      Trying 127.0.0.1...
      Connected to 127.0.0.1.
      Escape character is '^]'.
      Connection closed by foreign host.

      -> JLinkGUIServerExe now takes 100% CPU.
    • New

      I'll attach an strace log:

      strace -o trace.txt -f /opt/SEGGER/JLink/JLinkGUIServerExe

      showing a

      * succesful open and close of a telnet connection (line 2545 ..)

      * 10s wait (line 2665 ..)
      .. it then seems to close the server socket in line 2765

      * a failed telnet connection

      server is now stuck in a 100% CPU loop while calling pselect6 for the already closed server socket.

      trace.txt

      The post was edited 3 times, last by thomask77 ().

    • New

      Hello,

      The JLinkGUIServer is generally responsible for hosting GUI pop-ups to interact with the J-Link, such as warnings, errors, or dialogs for inputting authentication when the target is protected.

      We are aware of the issue you reported and have already implemented a fix. The fix will be included in the next version, scheduled for release in the middle of next week.

      Best regards,
      Simon
      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: segger.com/ticket/

      Or you can contact us via e-mail.