Remove problematic assert from SIGILL handler
authorAlexis Christoforides <alexis@thenull.net>
Thu, 29 Aug 2019 15:33:39 +0000 (11:33 -0400)
committerLarry Ewing <lewing@microsoft.com>
Wed, 4 Sep 2019 01:30:30 +0000 (20:30 -0500)
mono_handle_native_crash() function can actually return if the native crash has triggered or has been trigerred by  more than one signal. So it is possible to reach the point of the assert

Commit migrated from https://github.com/mono/mono/commit/001398e05bc5f16119e17a737102f6f6fb027047

src/mono/mono/mini/mini-runtime.c

index 8aff736..4fe0b6d 100644 (file)
@@ -3248,7 +3248,6 @@ MONO_SIG_HANDLER_FUNC (, mono_sigill_signal_handler)
                return;
        }
 
-       g_assert_not_reached ();
 }
 
 #if defined(MONO_ARCH_USE_SIGACTION) || defined(HOST_WIN32)