On 13.09.2014 22:30, tbrooks wrote:
I've broken everything down to an extremely simple test, this crashes for me
about every other run with an access violation 0x00000C (so a null pointer
somewhere in mono_runtime_invoke). It seems related to Console.WriteLine; if
it is removed the crashing stops.

You did not show us how you're initializing the runtime.

Maybe you didn't call mono_set_dirs () (it's likely required
under Windows, where you seem to test on) or
mono_config_parse (NULL) which initializes the DLL mapping.

Under Windows you could also end up with compiling your app
for the Windows subsystem which doesn't have a console.

Robert


_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to