Should be reproducible using only: import gcc.backtrace; This would trigger for systems where the following constraints result to false: static if(BACKTRACE_SUPPORTED && !BACKTRACE_USES_MALLOC) As libbacktrace is only really supported on Linux / similar *nix variants, that would include Mingw in the list of unsupported platforms.