[Bug 53261] New: kernel32:module - test_LoadLibraryEx_search_flags() sometimes crashes on Windows

WineHQ Bugzilla wine-bugs at winehq.org
Sat Jun 25 10:48:58 CDT 2022


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

            Bug ID: 53261
           Summary: kernel32:module - test_LoadLibraryEx_search_flags()
                    sometimes crashes on Windows
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: kernel32
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com

kernel32:module - test_LoadLibraryEx_search_flags() crashes on Windows.

On Windows 8 the traces show:

module.c:679: this is the last test seen before the exception
05d4:module: unhandled exception c0000005 at 76FC72F4

where line 679 is (see 561a5b8f84db):

 679 ok( !lstrcmpiA( path, buf ), "%u: wrong module %s expected %s\n", j, path,
buf );

https://test.winehq.org/data/patterns.html#kernel32:module


But the crash is more easily reproducible on Windows 10 1607 and adding traces
there point to the following line as the location of the crash:

 673 mod = LoadLibraryExA( "winetestdll.dll", 0, LOAD_LIBRARY_SEARCH_USER_DIRS
);

This is incompatible with the Windows 8 traces :-( However this crash seems to
be caused by memory corruption so it's possible the symptoms are a bit
different depending on the Windows version.

Furthermore the crash still happens on Windows 10 1607 even if all the others
test_xxx() functions are commented out in 'main'. Note however that the crash
is somewhat random so multiple (10+) tries can be needed to confirm it.

Finally this crash has only been seen on:
* Windows 8: w8, w8adm
* Windows 10 1507: w1064v1507
* Windows 10 1607: w1064v1607 (mostly 32-bit in WineTest results but mostly
64-bit for standalone tests!)
* Windows 10 1709: cw-gtx560 and cw-rx460 but no VM

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