Backtrace
Revision as of 16:47, 16 August 2022 by Jonas (talk | contribs) (Created page with "How to do a backtrace to report the crash. == Linux == gdb strawberry run After it crashes do: bt == Windows MinGW == Install the latest debug version from https://builds.strawberrymusicplayer.org/windows/ Open a command prompt. cd \ cd "c:\program files\strawberry music player debug\" gdb strawberry.exe run After it crashes do: bt == macOS == You need to compile according to the instructions: https://github.com/strawberrym...")
How to do a backtrace to report the crash.
Linux
gdb strawberry run
After it crashes do:
bt
Windows MinGW
Install the latest debug version from https://builds.strawberrymusicplayer.org/windows/ Open a command prompt.
cd \ cd "c:\program files\strawberry music player debug\" gdb strawberry.exe run
After it crashes do:
bt
macOS
You need to compile according to the instructions:
https://github.com/strawberrymusicplayer/strawberry/wiki/Compile-and-install-on-macOS
To compile in debug you need to use the following cmake command instead of the one in the instructions:
cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_WITH_QT6=ON -DUSE_BUNDLE=OFF -DENABLE_SPARKLE=OFF
Then you can run Strawberry in debug with:
lldb ./strawberry.app/Contents/MacOS/strawberry
After it crashes do:
(lldb) thread backtrace (lldb) bt