-
Install msys2 + gdb:
-
Install msys2 (64bits version)
-
In msys2 command line, install gdb:
msys:~$ pacman -S mingw-w64-x86_64-gdb
-
-
Attach gdb to vlc and put a break on abort
-
launch a vlc.exe process, and note the process id (PID column) in the
Task Manager
app. -
Launch msys2 command line, then launch gdb:
msys:~$ /mingw64/bin/gdb.exe <path to vlc.exe>
-
In gdb prompt, launch:
gdb$ break abort gdb$ attach <VLC PID number> gdb$ continue
-
On crash, gdb should display a prompt. Ask for all threads backtraces:
gdb$ thread apply all backtrace
-
Last active
August 27, 2020 16:13
-
-
Save garfvl/8aee2ebee56612502e5fe9e0d6c5f78d to your computer and use it in GitHub Desktop.
"Easy" way to get a stacktrace on VLC crash on Windows
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment