Toemsel / Network

C# Network Library
https://push-force.dev
GNU Lesser General Public License v3.0
355 stars 65 forks source link

Using Network with mono #83

Open Nic-Alexander opened 2 years ago

Nic-Alexander commented 2 years ago

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.

Toemsel commented 2 years ago

Which version of mono are you running?

Nic-Alexander commented 2 years ago

Mono JIT compiler version 6.12.0

Toemsel commented 2 years ago

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

Nic-Alexander commented 2 years ago

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_voidthis_object (object,intptr,intptr,intptr) Method (wrapper runtime-invoke) object :runtime_invoke_voidthis_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>