Skip to content

Commit

Permalink
There's a G_BREAKPOINT in mini-exceptions.c which could be hit during…
Browse files Browse the repository at this point in the history
… user execution. This will not be caught by our normal crash reporter, so we should use g_error here instead. (#3791)
  • Loading branch information
xmcclure authored and vargaz committed Oct 21, 2016
1 parent 27d0ef1 commit 20acd58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mono/mini/mini-exceptions.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 20acd58

Please sign in to comment.