<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>The attached small .NET 4 sample does just:</div><div><br></div><div>            QVariant qVariant = QVariant.FromValue(new object());<br>            qVariant.Value();</div><div><br></div><div>which crashes with the following on Windows 7 64-bit:</div><div><br></div><div>FatalExecutionEngineException<br></div><div><br></div><div>The runtime has encountered a fatal error. The address of the error was at 0x6cb92e63, on thread 0x1a18. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.</div></div></body></html>