[Bug 17413] New: riched32/editor tests fail with +heap enabled
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(a)winehq.org ReportedBy: austinenglish(a)gmail.com Looks like some massive heap corruption: austin(a)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 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=17413 Dylan Smith <dylan.ah.smith(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dylan.ah.smith(a)gmail.com Status|NEW |ASSIGNED --- Comment #1 from Dylan Smith <dylan.ah.smith(a)gmail.com> 2009-02-24 11:52:09 --- Seems like it is fixed by commit b9b9835f9368c83e15451e04c8e0781012ac4a2f which I submitted to fix Bug 17502. The patch initializes an uninitialized value. Turning on the heap channel for debugging initializes allocated bytes that aren't initialized, so it caused the tests to fail. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=17413 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2009-02-24 13:52:19 --- (In reply to comment #1)
Seems like it is fixed by commit b9b9835f9368c83e15451e04c8e0781012ac4a2f which I submitted to fix Bug 17502.
The patch initializes an uninitialized value. Turning on the heap channel for debugging initializes allocated bytes that aren't initialized, so it caused the tests to fail.
Yep: http://test.winehq.org/data/86f79e3a558ca1fb5d596e9f62403ca89178d3cf/wine_xp... Now we just need to fix those other 9 failures ;-). Some of them (mshtml/msi/winmm) are crashing, and may be a bit harder. Crypt32's got a few that don't like debugging traces... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=17413 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> 2009-02-27 16:31:44 --- Closing bugs fixed in 1.1.16. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
participants (1)
-
wine-bugs@winehq.org