[Mono-dev] PPC create domain

Joachim Ante joe at otee.dk
Mon Aug 28 15:32:46 EDT 2006

Hi, (Sorry last mail was sent off too early)

I am having a bit of trouble getting domain creation under control on PPC

Very rarely i am getting this error:

** ERROR **: file mini-ppc.c: line 2329 (handle_thunk): assertion failed:
(pdata.found == 1)

Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.


  at System.AppDomain.InvokeInDomain
(System.AppDomain,System.Reflection.MethodInfo,object,object[]) <0xffffffff>
  at System.AppDomain.InvokeInDomain
(System.AppDomain,System.Reflection.MethodInfo,object,object[]) <0x000bc>
  at System.AppDomain.InvokeInDomain
(System.AppDomain,System.Reflection.MethodInfo,object,object[]) <0x000b8>
  at System.Runtime.Remoting.RemotingServices.GetDomainProxy
(System.AppDomain) <0x000e4>
  at System.AppDomain.CreateDomain
(string,System.Security.Policy.Evidence,System.AppDomainSetup) <0x000f0>
  at System.AppDomain.CreateDomain (string) <0x0001c>
  at UnityEngine.UnityDomainLoad.CreateDomain () <0x000ac>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
(object,intptr,intptr,intptr) <0x0005c>

Another issue is we are sometimes running multiple instances of embedded
Mono shared libraries. (They are in a different dylib file thus completely

I have a reproducable bug (But of course only in our web player and a test
case with just mono) where I load one mono dylib, create a domain in it,
then load the other mono dylib, create a new domain there, when calling
ExecuteAssembly i get a SIGILL exception.

   System.ExecutionEngineException: SIGILL
  at <0x00000> <unknown method>
  at (wrapper managed-to-native)
System.Object:__icall_wrapper_mono_compile_method (intptr)
  at (wrapper xdomain-invoke) System.AppDomain:ExecuteAssembly (string)
  at (wrapper remoting-invoke-with-check) System.AppDomain:ExecuteAssembly
  at UnityEngine.UnityDomainLoad.CreateDomain () [0x00000]

Are there any known issues with domains on ppc? Does anyone have an idea why
it would be bad to load mono twice in the same process? (from seperate

Sorry this is not very informative, i am just pretty lost about what is
going. Just want to hear if someone can give me a hint.

Best regards,
Joachim Ante

More information about the Mono-devel-list mailing list