Skip to main content
Visitor II
September 14, 2020
Question

stlink-server process constantly reaches "uninterruptible sleep" state in linux

  • September 14, 2020
  • 0 replies
  • 572 views

When debugging in STM32CubeIDE, I'll often encounter an issue where the debugger fails to connect or becomes unresponsive. And when I close the IDE, there will still be a lingering (and unkillable - even with sudo) stlink-server process in "uninterruptable sleep" state (STAT D). The only way to get rid of it is to reboot, and then debugging will work in the IDE again... at least temporarily.

pgrep stlink | xargs ps -f -ww
UID PID PPID C STIME TTY STAT TIME CMD
miles 5263 2935 0 19:36 ? D 0:00 stlink-server -p7184
 
stlink-server -v 
stlink-server v1.3.0-4 (2020-01-29-14:16)

It seems like this issues has been happening more frequently with heavier ITM logging.

    This topic has been closed for replies.