http://bugs.winehq.org/show_bug.cgi?id=5955
--- Comment #52 from Lei Zhang thestig@google.com 2008-03-25 17:10:36 --- Created an attachment (id=11647) --> (http://bugs.winehq.org/attachment.cgi?id=11647) backtrace
In IWineD3DDeviceImpl_GetAvailableTextureMem(), This->adapter is NULL.
If I just avoid dereferencing that NULL pointer, then the test app does not crash.