[Bug 24963] New: Okad2: Unhandled page fault at address 0x00007f8a during startup

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Oct 30 18:43:01 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=24963

           Summary: Okad2: Unhandled page fault at address 0x00007f8a
                    during startup
           Product: Wine
           Version: unspecified
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: user32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: pandolfo at gis.net


Created an attachment (id=31617)
 --> (http://bugs.winehq.org/attachment.cgi?id=31617)
a description of the page fault plus an annotated backtrace

During program startup, Okad2-xx-pd (xx = version) generates an unhandled page
fault when loading an icon. The page fault is caused by CreateFileW as it
processes the name of the file from the parameter list. The name pointer is
0x00007f8a, which is an address in an unmapped page. This value is also an
index into Windows resources, selecting the hourglass icon.

What has happened is that the application was attempting to load the hourglass
icon and passed in BOTH the Windows resource index and a flag indicating
LOADFROMFILE. Wine attempted to load-from-file and looked for the file name
through the "name" parameter (0x00007f8a) generating the page fault. Native
Windows appears to give the value of the "name" pointer precedence and
determines that the "name" parameter is actually a resource number; hence it
does not page fault and runs Okad2 normally.

Wine *DOES* check the "name" parameter to see if it is a resource index, but
several subroutine calls later it forgets this fact and branches based on the
LOADFROMFILE bit. The backtrace has been annotated to provide both a
description and source lines involved in the decision.

This behavior was found in the latest version of Wine for Debian (.1.42) and in
a MacOS X version.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list