Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) object.__icall_wrapper_mono_string_new_wrapper (intptr) <0xffffffff>
at (wrapper unknown) Test/Invalid.PtrToStructure (intptr,object) <0xffffffff>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_intptr_object (object,intptr,intptr,intptr) <0xffffffff>
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal.PtrToStructure (intptr,System.Type) <0xffffffff>
at System.Runtime.InteropServices.Marshal.PtrToStructure<Test/Invalid> (intptr) <0x0001b>
at Test.Main () <0x0017f>
at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
mono() [0x8102a23]
mono() [0x814ecd4]
mono() [0x806dc47]
linux-gate.so.1(__kernel_rt_sigreturn+0) [0x55634d50]
/lib/i386-linux-gnu/libc.so.6(strlen+0xf) [0x55729d0f]
mono(mono_string_new+0x19) [0x81f7579]
mono(mono_string_new_wrapper+0x1d) [0x81f7bad]
[0x55a2f379]
[0x55a2f304]
[0x55a2d793]
mono() [0x80723d1]
Debug info from gdb:
=================================================================
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.
=================================================================