http://bugs.winehq.org/show_bug.cgi?id=21962
--- Comment #45 from Sébastien Fiévet sebastien.fievet@free.fr 2010-04-05 10:16:44 --- (In reply to comment #44)
'grep "This->resource.allocatedMemory =" dlls/wined3d/*.c' gave me occurrences in : - buffer.c - resource.c - surface.c - surface_gdi.c - volume.c
Ignoring NULL assignations, there were 13 remaining occurrences, which i tagged with an ERR message. Among all 13, there's only one that appears in the log, and it's the one from "buffer_Map" (buffer.c, line 1182) : This->resource.allocatedMemory = GL_EXTCALL(glMapBufferRange(This->buffer_type_hint, 0, This->resource.size, mapflags));
From this point on, i don't know how to continue... I'am attaching the last
bits of the log, where the last occurrence of my ERR message arises before the crash, hoping you'll see something.
Search for the last "err:d3d:buffer_Map -I2-" string, and you'll be there.
BTW, in (ressource.c, line 102-103) shouldn't resource.allocatedMemory and resource.heapMemory be reset to NULL rather than '0'?
'Hope i did what you expected from me... If not please tell me and i'll redo.