valgrind --vgcore=no ./your_program Or use a different core dump mechanism:
# Check Valgrind version and installation path which valgrind valgrind --version ls -l $(dirname $(which valgrind))/../libexec/valgrind/vgcore Test library dependencies of vgcore ldd $(dirname $(which valgrind))/../libexec/valgrind/vgcore how to fix unable to load vgcore error code 127
sudo apt install libc6-dbg libc6-dev For RHEL/Fedora: valgrind --vgcore=no