Install apport-valgrind by entering the following commands in the terminal:
sudo apt update sudo apt install apport-valgrind
valgrind wrapper that first downloads debug symbols
apport-valgrind is a valgrind wrapper that automatically downloads related available debug symbols and provides them to valgrind's memcheck tool, which is executed. The output is a valgrind log file ("valgrind.log") that contains stack traces (with as many symbols resolved as available) and that shows memory leaks.