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@winehq.org Reporter: ralf.habacker@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.