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@winehq.org Reporter: fgouget@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
https://bugs.winehq.org/show_bug.cgi?id=53261
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase