http://bugs.winehq.org/show_bug.cgi?id=17413
Summary: riched32/editor tests fail with +heap enabled Product: Wine Version: 1.1.15 Platform: PC URL: http://test.winehq.org/data/6a1537c4b5037be5253c33021fda 3a02430533f7/wine_xp_ae-ub-810-heap/riched32:editor.html OS/Version: Linux Status: NEW Keywords: download, source, testcase Severity: enhancement Priority: P2 Component: richedit AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Looks like some massive heap corruption: austin@austin-desktop:~/wine-git/dlls/riched32/tests$ wineserver -k ; make testclean ; rm -rf ~/.wine ; WINEDEBUG=+heap make editor.ok 2> /dev/null | grep "Test failed:" | wc -l rm -f editor.ok 186
editor.c:101: Test failed: WM_SETTEXT round trip: strcmp = -1 editor.c:101: Test failed: EM_GETLINECOUNT returned 12, expected 1 ... editor.c:319: Test failed: streamed text length is 13, expecting 12 editor.c:320: Test failed: streamed text different, got TestSomeText ... editor.c:395: Test failed: 0: 1!=9 editor.c:406: Test failed: 0: expected_bytes_written=10 editor.c:406: Test failed: 1: expected_bytes_written=2 editor.c:395: Test failed: 2: 2!=3 ... editor.c:457: Test failed: Incorrect line count of 45 editor.c:461: Test failed: Length of line at offset 0 is 1, expected 9 editor.c:461: Test failed: Length of line at offset 5 is 1, expected 9