http://bugs.winehq.org/show_bug.cgi?id=7220 Summary: IDA 5 demo fails to install Product: Wine Version: CVS Platform: PC URL: http://www.datarescue.be/idademo/idademo50.exe OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-kernel AssignedTo: wine-bugs(a)winehq.org ReportedBy: nog.lkml(a)gmail.com IDA 5 demo fails to install with "Access violation at address 004096DA Write of address 00400000" This is a regression caused by: ommit 3dc21d387ba3506275a775ba79663ecf88e794a9 Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Dec 13 13:06:12 2006 +0100 ntdll: Map the PE header up to the specified size, and clear the rest of the page. This "fixes" it: --- a/dlls/ntdll/virtual.c +++ b/dlls/ntdll/virtual.c @@ -1167,7 +1167,7 @@ static NTSTATUS map_image( HANDLE hmapping, int fd, char *base, SIZE_T total_siz /* set the image protections */ - VIRTUAL_SetProt( view, ptr, ROUND_SIZE( 0, header_size ), VPROT_COMMITTED | VPROT_READ ); + VIRTUAL_SetProt( view, ptr, ROUND_SIZE( 0, header_size ), VPROT_COMMITTED | VPROT_READ | VPROT_WRITE ); sec = (IMAGE_SECTION_HEADER*)((char *)&nt->OptionalHeader+nt->FileHeader.SizeOfOptionalHeader); for (i = 0; i < nt->FileHeader.NumberOfSections; i++, sec++) But I'm sure it's wrong.. I can provide logs, etc. if it helps.. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.