[Bug 39568] New: err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 9 07:40:46 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=39568

            Bug ID: 39568
           Summary: err:dbghelp_msc:pe_load_debug_directory Got a page
                    fault while loading symbols
           Product: Wine
           Version: 1.7.53
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: dbghelp
          Assignee: wine-bugs at winehq.org
          Reporter: ralf.habacker at freenet.de
      Distribution: ---

While debugging cross compiled dbus test applications I got the mentioned trace
message. 

The reason for the crash is that in module_find_cb()
... 
if ((mapping = MapViewOfFile(hMap, FILE_MAP_READ, 0, 0, 0)) != NULL)
{
     IMAGE_NT_HEADERS*   nth = RtlImageNtHeader(mapping);

     matched++;
     timestamp = nth->FileHeader.TimeDateStamp;
                 ^^^^
the return value of RtlImageNtHeader is not checked against zero, which is the
case for calling module_find_cb with non image files.

bug 38594 may have the same crash reason.

-- 
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