[Mono-dev] DllImport fails

Andreas Pardeike andreas at pardeike.net
Tue Feb 21 06:55:40 UTC 2017


Hi,

One of my users reports the following error. It happens on my library using
this line of code:

[DllImport("__Internal", EntryPoint = "mono_domain_get")]
Anyone can explain why this happens just for him?

/Andreas



hello i am curious if this error means that linux mint cinnamon + latest
mono ..is not comparable because unlike ubuntu it has some sort of unity
bug? should i chase that or is this harmony code issue? (Filename:
/home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp
Line: 42)


Fallback handler could not load library
/home/leaf/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux_Data/Mono/x86_64/mono.dll
Fallback handler could not load library
/home/leaf/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux_Data/Mono/x86_64/
libmono.dll.so
Fallback handler could not load library
/home/leaf/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux_Data/Mono/x86_64/./mono.dll
Fallback handler could not load library
/home/leaf/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux_Data/Mono/x86_64/./
libmono.dll.so
Fallback handler could not load library
/home/leaf/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux_Data/Mono/x86_64/mono.dll
Fallback handler could not load library
/home/leaf/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux_Data/Mono/x86_64/mono
Fallback handler could not load library
/home/leaf/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux_Data/Mono/x86_64/libmono.so
Fallback handler could not load library
/home/leaf/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux_Data/Mono/x86_64/./mono
Fallback handler could not load library
/home/leaf/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux_Data/Mono/x86_64/./libmono.so
Fallback handler could not load library
/home/leaf/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux_Data/Mono/x86_64/mono
Fallback handler could not load library
/home/leaf/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux_Data/Mono/x86_64/libmono.dll
Fallback handler could not load library
/home/leaf/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux_Data/Mono/x86_64/
libmono.dll.so
Fallback handler could not load library
/home/leaf/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux_Data/Mono/x86_64/./libmono.dll
Fallback handler could not load library
/home/leaf/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux_Data/Mono/x86_64/./
libmono.dll.so
Fallback handler could not load library
/home/leaf/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux_Data/Mono/x86_64/libmono.dll
Exception from long event: System.EntryPointNotFoundException:
mono_domain_get
  at (wrapper managed-to-native)
Harmony.ILCopying.MonoInternals:mono_domain_get_other ()
  at Harmony.ILCopying.MonoInternals.mono_domain_get () [0x00000] in
<filename unknown>:0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20170221/38d3ad1e/attachment.html>


More information about the Mono-devel-list mailing list