diff --git a/src/d_main.cpp b/src/d_main.cpp
index 0f2d5af92..04ba34cbb 100644
--- a/src/d_main.cpp
+++ b/src/d_main.cpp
@@ -1030,7 +1030,7 @@ void D_DoomLoop ()
 		catch (CVMAbortException &error)
 		{
 			error.MaybePrintMessage();
-			Printf("%s", error.stacktrace);
+			Printf("%s", error.stacktrace.GetChars());
 			D_ErrorCleanup();
 		}
 	}