http://bugs.winehq.org/show_bug.cgi?id=19659
--- Comment #29 from Jarod wine@faltine.com 2010-03-09 15:54:07 --- Created an attachment (id=26723) --> (http://bugs.winehq.org/attachment.cgi?id=26723) wine-1.1.39 and crafting station
The previous attachment was made with version wine-1.1.18-301-g014c4bf where I can't find "context_acquire". Then I made the following modifications to version 1.1.39 :
context = context_acquire(device, NULL, CTXUSAGE_RESOURCELOAD); ERR("context->valid: %s\n", context->valid ? "true" : "false"); gl_info = context->gl_info; ERR("Before ENTER_GL\n"); ENTER_GL(); ERR("Before ENTER_GL_EXTCALL\n"); GL_EXTCALL(glBindBufferARB(This->buffer_type_hint, This->buffer_object)); ERR("After ENTER_GL_EXTCALL\n");
But I don't have the same crashes with version 1.1.39. I only have crashes with some in-game objects (crafting stations...); I don't have the crash after login. What I understand is that the two crashes don't happen in the same line of code, because here we clearly see the function returning before the crash.
What should I modify in version wine-1.1.18-301-g014c4bf to test context validity ?