Index: dm/DMPDFTask.cpp |
diff --git a/dm/DMPDFTask.cpp b/dm/DMPDFTask.cpp |
index 270f4b4fef8bbfd1863e397acfc93a3f77efec32..e50e9ecb70fcaa194e7e20668b29bbe1615a5855 100644 |
--- a/dm/DMPDFTask.cpp |
+++ b/dm/DMPDFTask.cpp |
@@ -13,7 +13,11 @@ |
#include "SkCommandLineFlags.h" |
#include "SkDocument.h" |
-DEFINE_bool(pdf, true, "PDF backend master switch."); |
+// The PDF backend is not threadsafe. If you run dm with --pdf repeatedly, you |
+// will quickly find yourself crashed. (while catchsegv out/Release/dm;; end). |
+// |
+// TODO(mtklein): re-enable by default, maybe moving to its own single thread. |
+DEFINE_bool(pdf, false, "PDF backend master switch."); |
namespace DM { |