<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi <br>
<br>
Dimitar wrote:<br>
</div>
<blockquote
cite="mid:1359730420.49291.YahooMailNeo@web122405.mail.ne1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:times
new roman, new york, times, serif;font-size:12pt">
<div><span class="tab"> I'm sorry, for now I can only tell
it's most probably not related to Qyoto. I made some
searches and apparently this error can occur with various
files in many types of projects. I'll mail you if I find out
something else.</span></div>
</div>
</blockquote>
Well I've made some progress, of sorts. The EDMX error was a red
herring... just misconfiguration of a dll copy. <br>
<br>
It's crashing as soon as it attempts to create the main window,
before the Main function's Exec(), in part of the initialisation
that calls this code. In my Main routine I have previously set the
OrganisationName and ApplicationName into the QApplication object:<br>
<big><tt><small><small> [Q_SLOT]<br>
public void readAppSettings()<br>
{<br>
QByteArray bytes =
(QByteArray)settings.Value("geometry", this.SaveGeometry);<br>
RestoreGeometry(bytes);<br>
}<br>
</small></small></tt></big><br>
VS2010 won't let me debug into the problem saying it can't even find
the disassembly of the error. The actual message I get is:<br>
<small><tt><br>
</tt></small><small><tt><small><tt> </tt></small>FatalExecutionEngineError
was detected</tt><tt><br>
</tt></small><small><tt><small><tt> </tt></small>Message: The
runtime has encountered a fatal error. The address of the error
was at 0x6178ff2b, on thread 0x4c0. 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.</tt><tt><br>
</tt></small><br>
Checking with Process Monitor suggests that all the libraries the
program is looking for are successfully loaded. The last line in the
process monitor before the crash is a QueryNameInformationFile of
mscoreei.dll, the MS Execution Engine, with a stack trace as
follows:<br>
<br>
<small><tt>15 wow64.dll Wow64LdrpInitialize + 0x429
0x72d4c549 C:\Windows\System32\wow64.dll</tt><tt><br>
</tt><tt>16 ntdll.dll RtlUniform + 0x6e6 0x76d44956
C:\Windows\System32\ntdll.dll</tt><tt><br>
</tt><tt>17 ntdll.dll RtlCreateTagHeap + 0xa7
0x76d41a17 C:\Windows\System32\ntdll.dll</tt><tt><br>
</tt><tt>18 ntdll.dll LdrInitializeThunk + 0xe
0x76d2c32e C:\Windows\System32\ntdll.dll</tt><tt><br>
</tt><tt>19 ntdll.dll ZwQueryVirtualMemory + 0x12
0x76effbca C:\Windows\SysWOW64\ntdll.dll</tt><tt><br>
</tt><tt>20 kernel32.dll SetUnhandledExceptionFilter +
0x141 0x748e88f2 C:\Windows\SysWOW64\kernel32.dll</tt><tt><br>
</tt><tt>21 kernel32.dll GetProfileStringW + 0x12a3d
0x7491ffd9 C:\Windows\SysWOW64\kernel32.dll</tt><tt><br>
</tt><tt>22 ntdll.dll RtlKnownExceptionFilter + 0xb7
0x76f574df C:\Windows\SysWOW64\ntdll.dll</tt><tt><br>
</tt><tt>23 ntdll.dll RtlInitializeExceptionChain + 0x36
0x76f19ec5 C:\Windows\SysWOW64\ntdll.dll</tt></small><tt><br>
</tt><br>
The only thing I see there that might help is <tt>ZwQueryVirtualMemory</tt>,
which just could indicate an out of memory condition?? I don't know
enough. The PC itself has lots of RAM (8GB)?<br>
<br>
Hope this sheds more light...<br>
<br>
Ruth<br>
<br>
<pre class="moz-signature" cols="72">--
Software Manager & Engineer
Tel: 01223 414180
Blog: <a class="moz-txt-link-freetext" href="http://www.ivimey.org/blog">http://www.ivimey.org/blog</a>
LinkedIn: <a class="moz-txt-link-freetext" href="http://uk.linkedin.com/in/ruthivimeycook/">http://uk.linkedin.com/in/ruthivimeycook/</a> </pre>
</body>
</html>