From: Vladimir Kargov Date: Tue, 7 Oct 2014 15:30:31 +0000 (+0400) Subject: [runtime] Take correct domain information from StackFrameInfo for each stack frame. X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=commitdiff_plain;h=4cda578c6ad946e3450448c039e79b32609b2b8f [runtime] Take correct domain information from StackFrameInfo for each stack frame. --- diff --git a/mono/mini/mini-exceptions.c b/mono/mini/mini-exceptions.c index 5993ddddb63..db4a1ce4b0c 100644 --- a/mono/mini/mini-exceptions.c +++ b/mono/mini/mini-exceptions.c @@ -2227,8 +2227,8 @@ print_stack_frame_to_string (StackFrameInfo *frame, MonoContext *ctx, gpointer d if (frame->ji) method = jinfo_get_method (frame->ji); - if (method) { - gchar *location = mono_debug_print_stack_frame (method, frame->native_offset, mono_domain_get ()); + if (method && frame->domain) { + gchar *location = mono_debug_print_stack_frame (method, frame->native_offset, frame->domain); g_string_append_printf (p, " %s\n", location); g_free (location); } else