Skip to content

Instantly share code, notes, and snippets.

@filipnavara
Created March 21, 2019 15:15
Show Gist options
  • Save filipnavara/33960baeee75d3fdf24f3412d1feddfa to your computer and use it in GitHub Desktop.
Save filipnavara/33960baeee75d3fdf24f3412d1feddfa to your computer and use it in GitHub Desktop.
System.Text.Tests.StringBuilderTests.Insert_Bool[0] ...
=================================================================
Native Crash Reporting
=================================================================
Got a SIGSEGV 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:
=================================================================
0x102b109e8 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_dump_native_crash_info
0x102ab0585 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_handle_native_crash
0x102b0b546 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : altstack_handle_and_restore
0x0 - Unknown
0x10b375aa8 - Unknown
0x102a13456 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_jit_runtime_invoke
0x102c227f4 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_runtime_try_invoke
0x102c213e3 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_runtime_class_init_full
0x102a0b5e5 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_jit_compile_method_inner
0x102a0f0f1 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_jit_compile_method_with_opt
0x102ab325e - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : common_call_trampoline
0x102ab2d29 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_magic_trampoline
0x102f99393 - Unknown
0x10b31e813 - Unknown
0x102a13456 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_jit_runtime_invoke
0x102c227f4 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_runtime_try_invoke
0x102c213e3 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_runtime_class_init_full
0x102a0b5e5 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_jit_compile_method_inner
0x102a0f0f1 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_jit_compile_method_with_opt
0x102ab325e - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : common_call_trampoline
0x102ab2d29 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_magic_trampoline
0x102f99393 - Unknown
0x108a27cf3 - Unknown
0x103387cb3 - Unknown
0x102a13456 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_jit_runtime_invoke
0x102c20dc8 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_runtime_invoke_checked
0x102c2727e - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_runtime_exec_main_checked
0x102a6e80e - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_jit_exec
0x102a717d3 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : mono_main
0x102b11634 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libcoreclr.dylib : coreclr_execute_assembly
0x1029b0970 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libhostpolicy.dylib : (null)
0x1029b17c9 - /Users/filipnavara/Documents/GitHub/mono/netcore/shared/Microsoft.NETCore.App/3.0.0-preview4-27521-01/libhostpolicy.dylib : (null)
0x10296fa74 - /Users/filipnavara/Documents/GitHub/mono/netcore/host/fxr/3.0.0-preview4-27521-01/libhostfxr.dylib : (null)
0x102970e4b - /Users/filipnavara/Documents/GitHub/mono/netcore/host/fxr/3.0.0-preview4-27521-01/libhostfxr.dylib : (null)
0x1029703b1 - /Users/filipnavara/Documents/GitHub/mono/netcore/host/fxr/3.0.0-preview4-27521-01/libhostfxr.dylib : (null)
0x102964c02 - /Users/filipnavara/Documents/GitHub/mono/netcore/host/fxr/3.0.0-preview4-27521-01/libhostfxr.dylib : (null)
0x102929c57 - /Users/filipnavara/Documents/GitHub/mono/netcore/tests/System.Runtime.Tests/../../dotnet : (null)
0x102929ecf - /Users/filipnavara/Documents/GitHub/mono/netcore/tests/System.Runtime.Tests/../../dotnet : (null)
0x7fff70de83d5 - /usr/lib/system/libdyld.dylib : start
0x2 - Unknown
=================================================================
Telemetry Dumper:
=================================================================
Pkilling 0x70000d2e8000 from 0x10b8035c0
Entering thread summarizer pause from 0x10b8035c0
Finished thread summarizer pause from 0x10b8035c0.
Waiting for dumping threads to resume
=================================================================
External Debugger Dump:
=================================================================
(lldb) command source -s 0 '/tmp/mono-gdb-commands.80038'
Executing commands in '/tmp/mono-gdb-commands.80038'.
(lldb) process attach --pid 80038
Process 80038 stopped
* thread #1, name = 'tid_307', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x00007fff70f22356 libsystem_kernel.dylib`__wait4 + 10
libsystem_kernel.dylib`__wait4:
-> 0x7fff70f22356 <+10>: jae 0x7fff70f22360 ; <+20>
0x7fff70f22358 <+12>: movq %rax, %rdi
0x7fff70f2235b <+15>: jmp 0x7fff70f1d421 ; cerror
0x7fff70f22360 <+20>: retq
Target 0: (dotnet) stopped.
Executable module set to "/Users/filipnavara/Documents/GitHub/mono/netcore/tests/System.Runtime.Tests/../../dotnet".
Architecture set to: x86_64h-apple-macosx.
(lldb) thread list
Process 80038 stopped
* thread #1: tid = 0x493ba, 0x00007fff70f22356 libsystem_kernel.dylib`__wait4 + 10, name = 'tid_307', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
thread #2: tid = 0x493bc, 0x00007fff70f2086a libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'SGen worker'
thread #3: tid = 0x493bd, 0x00007fff70f1d266 libsystem_kernel.dylib`semaphore_wait_trap + 10, name = 'Finalizer'
(lldb) thread backtrace all
* thread #1, name = 'tid_307', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x00007fff70f22356 libsystem_kernel.dylib`__wait4 + 10
frame #1: 0x0000000102b10c2b libcoreclr.dylib`mono_dump_native_crash_info at mini-posix.c:1115 [opt]
frame #2: 0x0000000102b10989 libcoreclr.dylib`mono_dump_native_crash_info(signal="SIGSEGV", ctx=<unavailable>, info=<unavailable>) at mini-posix.c:1157 [opt]
frame #3: 0x0000000102ab0585 libcoreclr.dylib`mono_handle_native_crash(signal="SIGSEGV", ctx=0x0000000000000000, info=0x0000000000000000) at mini-exceptions.c:3336 [opt]
frame #4: 0x0000000102b0b546 libcoreclr.dylib`altstack_handle_and_restore(ctx=0x00007ffeed27c3d0, obj=0x0000000000000000, stack_ovf=0) at exceptions-amd64.c:870 [opt]
thread #2, name = 'SGen worker'
frame #0: 0x00007fff70f2086a libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff70fd956e libsystem_pthread.dylib`_pthread_cond_wait + 722
frame #2: 0x0000000102ce93c3 libcoreclr.dylib`thread_func [inlined] mono_os_cond_wait(cond=<unavailable>, mutex=<unavailable>) at mono-os-mutex.h:177 [opt]
frame #3: 0x0000000102ce93b0 libcoreclr.dylib`thread_func at sgen-thread-pool.c:165 [opt]
frame #4: 0x0000000102ce939d libcoreclr.dylib`thread_func(data=0x0000000000000000) at sgen-thread-pool.c:196 [opt]
frame #5: 0x00007fff70fd62eb libsystem_pthread.dylib`_pthread_body + 126
frame #6: 0x00007fff70fd9249 libsystem_pthread.dylib`_pthread_start + 66
frame #7: 0x00007fff70fd540d libsystem_pthread.dylib`thread_start + 13
thread #3, name = 'Finalizer'
frame #0: 0x00007fff70f1d266 libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #1: 0x0000000102c927c6 libcoreclr.dylib`finalizer_thread [inlined] mono_os_sem_wait(flags=MONO_SEM_FLAGS_ALERTABLE) at mono-os-semaphore.h:84 [opt]
frame #2: 0x0000000102c927bb libcoreclr.dylib`finalizer_thread at mono-coop-semaphore.h:41 [opt]
frame #3: 0x0000000102c927a1 libcoreclr.dylib`finalizer_thread(unused=<unavailable>) at gc.c:969 [opt]
frame #4: 0x0000000102c45ab0 libcoreclr.dylib`start_wrapper_internal(start_info=<unavailable>, stack_ptr=<unavailable>) at threads.c:1220 [opt]
frame #5: 0x0000000102c45919 libcoreclr.dylib`start_wrapper(data=0x00007fb251e12830) at threads.c:1293 [opt]
frame #6: 0x00007fff70fd62eb libsystem_pthread.dylib`_pthread_body + 126
frame #7: 0x00007fff70fd9249 libsystem_pthread.dylib`_pthread_start + 66
frame #8: 0x00007fff70fd540d libsystem_pthread.dylib`thread_start + 13
(lldb) detach
Process 80038 detached
(lldb) quit
/bin/sh: line 1: 80038 Abort trap: 6 MONO_PATH=bin/Debug/netcoreapp3.0 MONO_ENV_OPTIONS="--debug --explicit-null-checks" COMPlus_DebugWriteToStdErr=1 ../../dotnet bin/Debug/netcoreapp3.0/System.Runtime.Tests-runner.dll
make: *** [run-System.Runtime.Tests] Error 134
172-4-1-33:netcore filipnavara$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment