Upstream: no Backtrace is not available on Musl systems --- a/platform/x11/crash_handler_x11.cpp +++ b/platform/x11/crash_handler_x11.cpp @@ -49,7 +49,7 @@ if (OS::get_singleton() == NULL) { abort(); } - +#if defined(__linux__) && defined(__GLIBC__) void *bt_buffer[256]; size_t size = backtrace(bt_buffer, 256); String _execpath = OS::get_singleton()->get_executable_path(); @@ -89,7 +89,6 @@ free(demangled); } } - List args; char str[1024]; @@ -115,6 +114,7 @@ free(strings); } fprintf(stderr, "-- END OF BACKTRACE --\n"); +#endif // Abort to pass the error to the OS abort();