<div>the assertion `addr-&gt;Mode == AddrModeFlat&#39; failed is likely an address returned by dbghelp which is not properly initialized.</div>
<div>Could you send me off line the .exe (and associated DLL if any) so that I can check it<br>TIA<br><br></div>
<div class="gmail_quote">2010/8/17 Peter Urbanec <span dir="ltr">&lt;<a href="http://winehq.org">winehq.org</a>@<a href="http://urbanec.net">urbanec.net</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br> Hi,<br><br>I&#39;m trying to get a fairly complex Win64 application to work with wine. I&#39;m seeing crashes in FindNextFileW/FindNextFileA due to what looks like a 64 bit HANDLE value being truncated to 32 bits. I thought that I would employ winedbg to help me, but I can&#39;t get very far. I don&#39;t have any luck with winedbg even on a simple x64 Win32 app.<br>
<br>For my simplified test, I used MSVC2005 to generate an x64 executable created from the standard MSVC2005 template Win32 application. This is a simple app that just creates an empty window. As simple as one could get for a Win32 test and it executes correctly when run as &quot;./wine Test1.exe&quot;. When I try to execute this test app under winedbg, I get an assert failure:<br>
<br>./wine winedbg Test1.exe<br>WineDbg starting on pid 001a<br>./programs/winedbg/memory.c:37: be_cpu_linearize: Assertion `addr-&gt;Mode == AddrModeFlat&#39; failed.<br>wine: Assertion failed at address 0x7fec2fa657c5 (thread 0009), starting debugger...<br>
Unhandled exception: assertion failed in 64-bit code (0x00007fec2fa657c5).<br><br>Any ideas about why I can not use winedbg to run Win32 x64 code?<br><br>Thanks,<br><font color="#888888"><br>   Peter Urbanec<br><br><br><br>
<br><br><br></font></blockquote></div><br><br clear="all"><br>-- <br>-- <br>Eric Pouech<br>