A blog on the MOSA project, .NET, software design & architecture - and my daily life.
04 April 2010
Why the Switch Fixture has crashed on I2/U2 and others...
The tests are run by .NET calling through a function pointer delegate using the stdcall calling convention. This calling convention is similar to cdecl. One of the similarities is that the EBX register must be saved by the callee and restored before it returns to the caller. We didn’t do that and thus corrupted the state of the .NET runtime on Windows. Bug fixed and commit following soon.