diff --git a/src/calamares/DebugWindow.cpp b/src/calamares/DebugWindow.cpp index 7321e9102..5ccab2c92 100644 --- a/src/calamares/DebugWindow.cpp +++ b/src/calamares/DebugWindow.cpp @@ -33,14 +33,15 @@ #include #include +#include + /** * @brief crash makes Calamares crash immediately. */ static void crash() { - volatile int* a = nullptr; - *a = 1; + kill(getpid(), SIGTRAP); } /// @brief Print out the widget tree (names) in indented form.