Skip to content

[mono] AppDomain.CurrentDomain.AssemblyLoad Console.WriteLine assertion #51881

@lambdageek

Description

@lambdageek

Running the following program with Mono will crash

using System;
using System.Threading;
using System.Reflection;

namespace X
{
    class Program
    {
        static void Main(string[] args)
        {

	    Thread.CurrentThread.Name = "Main-Thread";
	    
	    AppDomain.CurrentDomain.AssemblyLoad += (_sender, evt) => {
		var assm = evt.LoadedAssembly;
		var name = assm.GetName();
		// removing this line fixes the crash
#if true
		Console.WriteLine ($" : Loaded {name.Name} from '{assm.Location}' on {Thread.CurrentThread.Name}");
#endif
	    };
	    
	    var allDone = new ManualResetEventSlim ();
	    var proceed = new ManualResetEventSlim ();

	    var conflictThread = new Thread(() => {
		proceed.Set();
		Console.WriteLine ($" - {Thread.CurrentThread.Name} waiting for all done");
		allDone.Wait();
	    });
	    conflictThread.Name = "Conflict-Thread";
	    conflictThread.Start();

	    proceed.Wait ();
	    allDone.Set ();
	    Thread.Sleep (1000);
	    Console.WriteLine ($" {Thread.CurrentThread.Name} exiting");
        }
    }
}

Expected Output: no crash

Actual Output:

* Assertion at /Users/alklig/work/dotnet-runtime/runtime-bugs/src/mono/mono/metadata/assembly.c:1374, condition `is_ok (hook_error)' not met, function:mono_assembly_invoke_load_hook_internal, (null) assembly:/Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/System.Private.CoreLib.dll type:TypeLoadException member:(null)


=================================================================
	Native Crash Reporting
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
	Native stacktrace:
=================================================================
	0x100c748a4 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : dump_native_stacktrace
	0x100c74801 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_dump_native_crash_info
	0x100b712c7 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_handle_native_crash
	0x100c73f92 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : sigabrt_signal_handler
	0x7fff20483d7d - /usr/lib/system/libsystem_platform.dylib : _sigtramp
	0x101409078 - Unknown
	0x7fff20392720 - /usr/lib/system/libsystem_c.dylib : abort
	0x100cf9bb2 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : monoeg_assert_abort
	0x10097ac3e - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_log_write_logfile
	0x100976151 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : structured_log_adapter
	0x100cfa8ea - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : monoeg_g_logstr
	0x100cfa2cb - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : monoeg_g_logv_nofree
	0x100cfa648 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : monoeg_assertion_message
	0x10082799e - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_assembly_invoke_load_hook_internal
	0x100829007 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_assembly_request_load_from
	0x10082897b - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_assembly_request_open
	0x100bdb96b - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_core_preload_hook
	0x10082b4ca - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : invoke_assembly_preload_hook
	0x10082bf5f - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : netcore_load_reference
	0x1008277f0 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_assembly_request_byname
	0x100827061 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_assembly_load_reference
	0x10082e5ae - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_class_from_typeref_checked
	0x1008355fd - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_class_get_checked
	0x1008c608b - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : do_mono_metadata_parse_type
	0x1008ba88b - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_metadata_parse_type_internal
	0x1008ba4fe - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_metadata_parse_type_checked
	0x1008c6849 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : do_mono_metadata_parse_generic_class
	0x1008c632f - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : do_mono_metadata_parse_type
	0x1008ba88b - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_metadata_parse_type_internal
	0x1008ba4fe - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_metadata_parse_type_checked
	0x10083a9af - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_field_resolve_type
	0x10083ed83 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_class_setup_fields
	0x10084730f - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : init_sizes_with_info
	0x10083f456 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_class_init_internal
	0x100a8c27a - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_method_to_ir
	0x100a590da - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mini_method_compile
	0x100a5d9e2 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_jit_compile_method_inner
	0x100a64078 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_jit_compile_method_with_opt
	0x100a6393b - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_jit_compile_method
	0x100b770d7 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : common_call_trampoline
	0x100b76456 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_magic_trampoline
	0x100f99396 - Unknown
	0x1028c2503 - Unknown
	0x1028c1953 - Unknown
	0x1013fd4eb - Unknown
	0x100a677ca - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_jit_runtime_invoke
	0x1008d8b3a - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : do_runtime_invoke
	0x1008d4510 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_runtime_try_invoke
	0x1008d8c32 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_runtime_try_invoke_handle
	0x100823979 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_domain_fire_assembly_load_event
	0x100820ed3 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_domain_fire_assembly_load
	0x100827926 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_assembly_invoke_load_hook_internal
	0x100829007 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_assembly_request_load_from
	0x10082897b - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_assembly_request_open
	0x100bdb96b - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_core_preload_hook
	0x10082b4ca - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : invoke_assembly_preload_hook
	0x10082bf5f - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : netcore_load_reference
	0x1008277f0 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_assembly_request_byname
	0x100827061 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_assembly_load_reference
	0x10082e5ae - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_class_from_typeref_checked
	0x10089f5e0 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : method_from_memberref
	0x10089bf00 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_get_method_from_token
	0x10089bb87 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_get_method_checked
	0x100ac8f94 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mini_get_method_allow_open
	0x100ac79be - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mini_get_method
	0x100a9bf2e - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_method_to_ir
	0x100a590da - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mini_method_compile
	0x100a5d9e2 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_jit_compile_method_inner
	0x100a64078 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_jit_compile_method_with_opt
	0x100a6393b - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_jit_compile_method
	0x100b770d7 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : common_call_trampoline
	0x100b76456 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_magic_trampoline
	0x100f99396 - Unknown
	0x1028c2503 - Unknown
	0x1028c1953 - Unknown
	0x1013fd4eb - Unknown
	0x100a677ca - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_jit_runtime_invoke
	0x1008d8b3a - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : do_runtime_invoke
	0x1008d4510 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_runtime_try_invoke
	0x1008d8c32 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_runtime_try_invoke_handle
	0x100823979 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_domain_fire_assembly_load_event
	0x100820ed3 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_domain_fire_assembly_load
	0x100827926 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_assembly_invoke_load_hook_internal
	0x100829007 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_assembly_request_load_from
	0x10082897b - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_assembly_request_open
	0x100bdb96b - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_core_preload_hook
	0x10082b4ca - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : invoke_assembly_preload_hook
	0x10082bf5f - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : netcore_load_reference
	0x1008277f0 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_assembly_request_byname
	0x100827061 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_assembly_load_reference
	0x10082e5ae - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_class_from_typeref_checked
	0x10089f5e0 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : method_from_memberref
	0x10089bf00 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_get_method_from_token
	0x10089bb87 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_get_method_checked
	0x10092a4ce - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_custom_attrs_from_index_checked
	0x10092abb0 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_custom_attrs_from_assembly_checked
	0x10082cefb - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_assembly_is_jit_optimizer_disabled
	0x100ac3129 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : is_jit_optimizer_disabled
	0x100a7ff56 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_method_to_ir
	0x100a590da - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mini_method_compile
	0x100a5d9e2 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_jit_compile_method_inner
	0x100a64078 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_jit_compile_method_with_opt
	0x100a6393b - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_jit_compile_method
	0x100b770d7 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : common_call_trampoline
	0x100b76456 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_magic_trampoline
	0x100f99396 - Unknown
	0x1013bb7eb - Unknown
	0x100a677ca - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_jit_runtime_invoke
	0x1008d8b3a - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : do_runtime_invoke
	0x1008d3511 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_runtime_invoke_checked
	0x1008ddfa5 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : do_exec_main_checked
	0x1008dc588 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_runtime_exec_main_checked
	0x1008dc5d6 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_runtime_run_main_checked
	0x100b1e1bc - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_jit_exec_internal
	0x100b1dfcd - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_jit_exec
	0x100b22b32 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : main_thread_handler
	0x100b2120f - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : mono_main
	0x100bdb500 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : monovm_execute_assembly
	0x100a51e12 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libcoreclr.dylib : coreclr_execute_assembly
	0x1007c51a1 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libhostpolicy.dylib : _Z19run_app_for_contextRK20hostpolicy_context_tiPPKc
	0x1007c60c1 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libhostpolicy.dylib : corehost_main
	0x10075300e - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libhostfxr.dylib : _ZN10fx_muxer_t24handle_exec_host_commandERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEERK19host_startup_info_tS8_RKNS0_13unordered_mapI13known_optionsNS0_6vectorIS6_NS4_IS6_EEEE18known_options_hashNS0_8equal_toISD_EENS4_INS0_4pairIKSD
	0x100751e83 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libhostfxr.dylib : _ZN10fx_muxer_t7executeENSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEiPPKcRK19host_startup_info_tPciPi
	0x10074e918 - /Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/libhostfxr.dylib : hostfxr_main_startupinfo
	0x10070c8e5 - /Users/alklig/work/dotnet-runtime/runtime-bugs/src/mono/sample/HelloWorld/../../../../artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/HelloWorld : _Z9exe_startiPPKc
	0x10070caff - /Users/alklig/work/dotnet-runtime/runtime-bugs/src/mono/sample/HelloWorld/../../../../artifacts/bin/HelloWorld/x64/Debug/osx-x64/publish/HelloWorld : main
	0x7fff2045a621 - /usr/lib/system/libdyld.dylib : start
	0x1 - Unknown

=================================================================
	Telemetry Dumper:
=================================================================
Pkilling 0x123145398685696x from 0x4426575360x
Pkilling 0x123145396576256x from 0x4426575360x
Could not exec mono-hang-watchdog, expected on path '/Users/alklig/work/dotnet-runtime/runtime-bugs/artifacts/obj/mono/OSX.x64.Debug/out/etc/../bin/mono-hang-watchdog' (errno 2)
Entering thread summarizer pause from 0x4426575360x
Finished thread summarizer pause from 0x4426575360x.
Failed to create breadcrumb file (null)/crash_hash_0x55b12798fb

Waiting for dumping threads to resume

=================================================================
	External Debugger Dump:
=================================================================

=================================================================
	Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7fff20411462):0x7fff20411452  ff ff c3 90 90 90 b8 48 01 00 02 49 89 ca 0f 05  .......H...I....
0x7fff20411462  73 08 48 89 c7 e9 35 a2 ff ff c3 90 90 90 b8 53  s.H...5........S
0x7fff20411472  00 00 02 49 89 ca 0f 05 73 08 48 89 c7 e9 1d a2  ...I....s.H.....
0x7fff20411482  ff ff c3 90 90 90 b8 83 01 00 02 49 89 ca 0f 05  ...........I....

=================================================================
	Managed Stacktrace:
=================================================================
	  at <unknown> <0xffffffff>
	  at System.ConsolePal:EnsureConsoleInitialized <0x00052>
	  at System.ConsolePal:Write <0x0008a>
	  at UnixConsoleStream:Write <0x0005a>
	  at System.IO.StreamWriter:Flush <0x0043d>
	  at System.IO.StreamWriter:WriteSpan <0x00462>
	  at System.IO.StreamWriter:WriteLine <0x0007a>
	  at SyncTextWriter:WriteLine <0x00047>
	  at SyncTextWriter:WriteLine <0x000a2>
	  at System.Console:WriteLine <0x0004a>
	  at <>c:<Main>b__0_0 <0x0020a>
	  at System.Runtime.Loader.AssemblyLoadContext:OnAssemblyLoad <0x000bb>
	  at <Module>:runtime_invoke_void_object <0x000b0>
	  at <unknown> <0xffffffff>
	  at System.ConsolePal:EnsureConsoleInitialized <0x00052>
	  at System.ConsolePal:Write <0x0008a>
	  at UnixConsoleStream:Write <0x0005a>
	  at System.IO.StreamWriter:Flush <0x0043d>
	  at System.IO.StreamWriter:WriteSpan <0x00462>
	  at System.IO.StreamWriter:WriteLine <0x0007a>
	  at SyncTextWriter:WriteLine <0x00047>
	  at SyncTextWriter:WriteLine <0x000a2>
	  at System.Console:WriteLine <0x0004a>
	  at <>c:<Main>b__0_0 <0x0020a>
	  at System.Runtime.Loader.AssemblyLoadContext:OnAssemblyLoad <0x000bb>
	  at <Module>:runtime_invoke_void_object <0x000b0>
	  at <unknown> <0xffffffff>
	  at X.Program:Main <0x0044a>
	  at <Module>:runtime_invoke_void_object <0x000b0>
=================================================================
make: *** [run] Abort trap: 6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions