http://bugs.winehq.org/show_bug.cgi?id=28308
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2011-09-07 10:18:26 CDT --- (In reply to comment #0)
With the help of jhgf in IRC, we searched a bit deeper and in the end it seems that the problem is in "wined3d.wined3d_surface_blt". The attachment (and the following link) is a log with enabled warnings what shows the reason for the stack overflow.
...
trace:d3d_surface:surface_modify_location surface 0x199330, location SFLAG_INDRAWABLE, persistent 0x1. err:d3d_surface:surface_modify_location Trying to invalidate the SFLAG_INDRAWABLE location of an offscreen surface.
You're in trouble here already. The recursing surface_load_location() call is just the result. We should probably prevent that from happening, but it's not the cause of the problem.