http://bugs.winehq.org/show_bug.cgi?id=21941
--- Comment #5 from Stefan Dösinger stefandoesinger@gmx.at 2010-03-10 13:49:51 --- Created an attachment (id=26733) --> (http://bugs.winehq.org/attachment.cgi?id=26733) Debug hack: Semi-randomize the returned address
Hi,
I suspect that the game fails because two different map calls on the same buffer return a different address. Can you try the attached patch? If my suspicion is correct, the game should still crash with it. It disables GL vertex buffers, but allocates new memory each map.
If this is really the game's problem, then we have a big issue. There's nothing in the d3d API that guarantees the game that the address remains the same. Similarly in GL. It just seems that the game is lucky on Windows on at least some drivers, but is not lucky with the Linux GL drivers.
If it is just this one game I'd be tempted to close this bug as WONTFIX, seriously broken app. But it seems a number of applications are affected, possibly including Call of Duty 4 and Crysis.