[merp] Increase buffer size for state dump (#32134)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Mon, 24 Feb 2020 19:56:07 +0000 (14:56 -0500)
committerGitHub <noreply@github.com>
Mon, 24 Feb 2020 19:56:07 +0000 (20:56 +0100)
Addresses https://github.com/mono/mono/issues/18796

Co-authored-by: Alexis Christoforides <alexis@thenull.net>
src/mono/mono/mini/mini-posix.c

index 47f7a10..05290c1 100644 (file)
@@ -1030,7 +1030,7 @@ dump_native_stacktrace (const char *signal, MonoContext *mctx)
                        mono_summarize_timeline_start ();
                        mono_summarize_toggle_assertions (TRUE);
 
-                       int mono_max_summary_len = 500000;
+                       int mono_max_summary_len = 10000000;
                        int mono_state_tmp_file_tag = 1;
                        mono_state_alloc_mem (&merp_mem, mono_state_tmp_file_tag, mono_max_summary_len * sizeof (gchar));