http://bugs.winehq.org/show_bug.cgi?id=10111
Summary: WINEDEBUG=warn+heap "make test" has heap error in comdlg32/tests/printdlg.c Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: wine-comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
~/wine-git/dlls/comdlg32/tests$ WINEDEBUG=warn+heap ../../../tools/runtest -P wine -M comdlg32.dll -T ../../.. -p comdlg32_test.exe.so printdlg.c warn:heap:HEAP_ValidateInUseArena Heap 0x110000: invalid in-use arena magic for 0x126a50
Adding +relay shows the error is reported just after wineps.drv is unloaded:
0009:Ret PE DLL (proc=0x7cd78b10,module=0x7cd60000 L"wineps.drv",reason=PROCESS_DETACH,res=(nil)) retval=1 0009:Ret gdi32.104() retval=00000041 ret=7e7ae584 0009:Call ntdll.RtlAllocateHeap(00110000,00000000,00000104) ret=7e7ae5d3 0009:Ret ntdll.RtlAllocateHeap() retval=00136ea0 ret=7e7ae5d3 0009:Call ntdll.RtlFreeHeap(00110000,00000000,00136ea0) ret=7e7ae62b 0009:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7e7ae62b 0009:Ret winspool.drv.DeviceCapabilitiesA() retval=00000041 ret=7ec361e6 0009:Call KERNEL32.GlobalUnlock(00134502) ret=7ec35f92 0009:Ret KERNEL32.GlobalUnlock() retval=00000000 ret=7ec35f92 0009:Call KERNEL32.GlobalUnlock(0013451a) ret=7ec35fa3 0009:Ret KERNEL32.GlobalUnlock() retval=00000001 ret=7ec35fa3 0009:Call ntdll.RtlFreeHeap(00110000,00000000,00134428) ret=7ec35fc6 warn:heap:HEAP_ValidateInUseArena Heap 0x110000: invalid in-use arena magic for 0x134420