Search code examples
valgrindclionwindows-subsystem-for-linux

WSL linux and valgrind


Whilst trying to run valgrind on WSL(windows subsystem linux) Im getting the following error: "error calling PR_SET_PTRACER, vgdb might block"

I could not find the solution anywhere.

windows OS build: 18362.

Version: 1903.

Valgrind version: 3.15-0:1 (newest)

Thanks in advance!


Solution

  • This is a known problem https://bugs.kde.org/show_bug.cgi?id=419562 Bug 419562 - PR_SET_PTRACER error with Ubuntu on WSL

    In the bug, you see that additional information is required.