https://bugs.winehq.org/show_bug.cgi?id=40537
--- Comment #11 from Henri Verbeet hverbeet@gmail.com --- (In reply to François Gouget from comment #10)
The crash goes away when I switch the hardware acceleration from "Disable all cursor and advanced drawing acceleration." to "Disable all DirectDraw and Direct3D, and cursor and advanced drawing acceleration.". Of course then most tests are skipped...
Does it work if you don't disable acceleration at all?
Could you find out if there's a specific change/function call that causes the issue? E.g., is this because the set_display_mode() call was removed, or does this happen when trying to restore surfaces, etc.? Does this only happen for a specific surface type (see test_data[]), or all of them? Does this happen when test_flip() is run on its own, or does it somehow depend on state set by a previous test?