------- Additional Comments From lionel.ulmer@free.fr 2005-08-10 16:13 ------- This problem should be fixed in wine CVS by Raphael. I am also going to do some tests on Windows to see if his fix is the right one :-)
Hmm, apparently my comments are not read.
This bug is not caused by lpddsd == null which Raphael fixes. lpddsd is never null. The problem is that the surface flags is 0, so it looked like a lpddsd == null bug, because it just writes:
0009:trace:ddraw:Main_DirectDrawSurface_Lock locked surface returning description: 0009:trace:seh:__regs_RtlRaiseException code=c0000005 flags=0 addr=0x5d7365
In fact it did return from both DDRAW_dump_surface_desc and Main_DirectDrawSurface_Lock
Peter