http://bugs.winehq.org/show_bug.cgi?id=28301
--- Comment #6 from Austin English austinenglish@gmail.com 2011-09-12 16:09:34 CDT --- (In reply to comment #5)
I could reproduce the first two failure modes you listed on Windows, so the bug is in the test, not ddraw. I'm no closer to a solution yet though.
Did you try to run the tests in Valgrind?
http://austinenglish.com/logs/valgrind/2011-09-09-14.59/vg-ddraw_visual.txt