From 20acd5895c2f0d661a4a9971f979f33384f6066e Mon Sep 17 00:00:00 2001 From: Andi McClure Date: Fri, 21 Oct 2016 17:28:59 -0400 Subject: [PATCH] There's a G_BREAKPOINT in mini-exceptions.c which could be hit during user execution. This will not be caught by our normal crash reporter, so we should use g_error here instead. (#3791) --- mono/mini/mini-exceptions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mono/mini/mini-exceptions.c b/mono/mini/mini-exceptions.c index 903739445c1a8..5342deb8b3a30 100644 --- a/mono/mini/mini-exceptions.c +++ b/mono/mini/mini-exceptions.c @@ -2724,7 +2724,7 @@ mono_thread_state_init_from_sigctx (MonoThreadUnwindState *ctx, void *sigctx) MonoThreadInfo *thread = mono_thread_info_current_unchecked (); if (!thread) { ctx->valid = FALSE; - G_BREAKPOINT (); + g_error ("Invoked mono_thread_state_init_from_sigctx from non-Mono thread"); return FALSE; }