David Pfeffer
David Pfeffer

Reputation: 39833

Mono gets "System.ExecutionEngineException: SIGILL " on some computers only

I'm getting the following exception when trying to run Mono applications:

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]...

The exact same system image (literally) has success on some computers, such as in VMWare, and fails with this exception on some other hardware.

p.s. I have seen https://stackoverflow.com/questions/6388410/error-initialising-the-configuration-system-when-creating-tcpclient-in-mono but I already have a machine.config file, and I'm not using mkbundle.

Upvotes: 2

Views: 2849

Answers (1)

David Pfeffer
David Pfeffer

Reputation: 39833

The issue was I had precompiled (ahead of time) binaries that were incompatible.

Upvotes: 1

Related Questions