Can some one take a look at this (bug 11630)?
I'm not sure how it works at all now: IWineD3DTexture_PreLoad:144: http://source.winehq.org/source/dlls/wined3d/texture.c#L144 IWineD3DSurface_LoadTexture:488: http://source.winehq.org/source/dlls/wined3d/surface.c#L488
And of course container is Texture so the loop starts again until Wine runs out of stack.
Vitaliy.