https://bugs.winehq.org/show_bug.cgi?id=55615
Bug ID: 55615 Summary: kernel32:heap - The 32-bit test_child_heap() fails on Windows with UTF-8 locales 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
Created attachment 75151 --> https://bugs.winehq.org/attachment.cgi?id=75151 Pare down the test
kernel32:heap - The 32-bit test_child_heap() fails on Windows with UTF-8 locales:
heap.c:3498: testing global flags 0x20, heap flags 00000040 heap.c:3317: Test failed: HeapValidate failed heap.c:3326: Test failed: HeapValidate failed
See https://test.winehq.org/data/patterns.html#kernel32:heap
The failure happens in the call below: test_debug_heap( argv[0], FLG_HEAP_ENABLE_FREE_CHECK );
This failure is 100% reproducible but does not happen in the 64-bit tests. Also a comparison of the Hindi, Hindi+UTF-8 and English (Arab Emirates)+UTF-8 results confirms that this is specific to UTF-8 configurations. Finally, note that until 2023-09-15 the nightly Wine tests only ran the 64-bit tests in UTF-8 locales.