Toemsel/Network

Using Network with mono

Nic-Alexander opened this issue · 4 comments

Has anyone got a project that uses Network to work under mono? as soon as I add the Network Nuget packages to a project that has previously run under mono, it stops working, and mono emits a not very useful error stack.

Which version of mono are you running?

Mono JIT compiler version 6.12.0

Ok, so theoretical support is given. Do you have any output/logs to provide?

Here is a Windows session log. I can also get a Raspberry pi (Debian?) one to see if there are any differences.

This is just launching the program; no calls have been made to the Network components at this time.

C:\Users\Nick\Documents\Transfer\CoffeeManager\CoffeeManager\bin\Debug>mono -v coffeemanager.exe
converting method void System.OutOfMemoryException:.ctor (string)
Method void System.OutOfMemoryException:.ctor (string) emitted at 04750D48 to 04750D76 (code length 46) [coffeemanager.exe]
converting method (wrapper runtime-invoke) object :runtime_invoke_void__this___object (object,intptr,intptr,intptr)
Method (wrapper runtime-invoke) object :runtime_invoke_void__this___object (object,intptr,intptr,intptr) emitted at 04750DA0 to 04750E78 (code length 216) [coffeemanager.exe]
converting method void System.SystemException:.ctor (string)
Method void System.SystemException:.ctor (string) emitted at 04750E78 to 04750EA6 (code length 46) [coffeemanager.exe]
converting method void System.Exception:.ctor (string)
Method void System.Exception:.ctor (string) emitted at 04750EB8 to 04750EED (code length 53) [coffeemanager.exe]
converting method void System.Exception:.cctor ()
Method void System.Exception:.cctor () emitted at 04750F00 to 04750F27 (code length 39) [coffeemanager.exe]
converting method (wrapper runtime-invoke) object object:runtime_invoke_void (object,intptr,intptr,intptr)
Method (wrapper runtime-invoke) object object:runtime_invoke_void (object,intptr,intptr,intptr) emitted at 04750F38 to 04750FF4 (code length 188) [coffeemanager.exe]
converting method (wrapper alloc) object object:AllocSmall (intptr,intptr)
Method (wrapper alloc) object object:AllocSmall (intptr,intptr) emitted at 04751000 to 047510AE (code length 174) [coffeemanager.exe]
converting method void System.Exception:Init ()
Method void System.Exception:Init () emitted at 047510B0 to 0475110B (code length 91) [coffeemanager.exe]
converting method void System.Exception:set_HResult (int)
Method void System.Exception:set_HResult (int) emitted at 04751110 to 04751121 (code length 17) [coffeemanager.exe]
converting method void System.NullReferenceException:.ctor (string)
Method void System.NullReferenceException:.ctor (string) emitted at 04751128 to 0475114C (code length 36) [coffeemanager.exe]
converting method void System.StackOverflowException:.ctor (string)
Method void System.StackOverflowException:.ctor (string) emitted at 04751150 to 04751174 (code length 36) [coffeemanager.exe]

C:\Users\Nick\Documents\Transfer\CoffeeManager\CoffeeManager\bin\Debug>