c# - Mono 仅在某些计算机上获得 "System.ExecutionEngineException: SIGILL "

标签 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 中,但在其他一些硬件上失败并出现此异常。

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

最佳答案

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

关于c# - Mono 仅在某些计算机上获得 "System.ExecutionEngineException: SIGILL ",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10651888/

相关文章:

macos - 新手问题 : GTK# (Mono) on OSX

c# - 如何将 .NET 应用程序移植到单声道

c# - 如何将字符串转换为颜色?

c# - Windows azure REST API 列出容器问题

c# - Roslyn 脚本引擎在用作委托(delegate)时不会抛出运行时异常

flutter - 异常:[!] 您的应用正在使用不受支持的 Gradle 项目

c# - 使用接口(interface)获取列名时如何使用表达式动态构建LINQ查询?

c# - 如何动态地将条件和方法传递给递归方法

java - 我应该如何处理构造函数抛出的异常

c# - 绑定(bind)按钮路径图片(使用MvxBaseAndroidTargetBinding)Android