Mono仅在某些计算机上获得“System.ExecutionEngineException:SIGILL”

时间:2012-05-18 11:34:18

标签: c# exception mono

尝试运行Mono应用程序时出现以下异常:

Unhandled Exception: [Some exception here -- this part changes] ---> System.ExecutionEngineException: SIGILL
  at System.Collections.Hashtable..ctor (Int32 capacity, Single loadFactor, IHashCodeProvider hcp, IComparer comparer) [0x00000] in <filename unknown>:0
  at System.Collections.Hashtable..ctor (Int32 capacity, Single loadFactor) [0x00000] in <filename unknown>:0
  at System.Collections.Hashtable..ctor () [0x00000] in <filename unknown>:0
  at [other calling locations that change]...

完全相同的系统映像(字面意思)在某些计算机上成功,例如在VMWare中,并且在某些其他硬件上出现此异常时失败。

P.S。我见过https://stackoverflow.com/questions/6388410/error-initialising-the-configuration-system-when-creating-tcpclient-in-mono但我已经有了一个machine.config文件,而且我没有使用mkbundle。

1 个答案:

答案 0 :(得分:1)

问题是我预编译了(提前)不兼容的二进制文件。