Fifa 07 - wined3d regression

Jan de Mooij jandemooij at gmail.com
Mon Sep 10 09:15:06 CDT 2007


Hi,

Fifa 07 used to work fine with Wine, but around version 0.9.40-0.9.41
the game hangs when I start a new match. The text "Loading..." is
displayed, but there is no progressbar because one thread terminates.
I attached the results of winedbg (backtrace and some messages before
the crash).

This is the result of git bisect:

9ba3f389f665aae45b6a8a6861f9621b020e5c25 is first bad commit
commit 9ba3f389f665aae45b6a8a6861f9621b020e5c25
Author: Stefan Dösinger <stefandoesinger at gmx.at>
Date:   Sun Jul 8 23:33:48 2007 +0200

    wined3d: Initialize surfaces at creation.


This patch removes a check of "GL_SUPPORT(APPLE_CLIENT_STORAGE)". If I
put that check in again, the game works like before. The if-condition
evaluates to True now, so it allocates the memory. But it segfaults
there I think. Anyone knows how to fix this? Please let me know if you
need more information.

Thanks in advance!

Jan de Mooij
-------------- next part --------------
fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x1dd990) : stub
fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x1dd990) : stub
fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x1dd990) : stub
fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x1dd990) : stub
fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x1dd990) : stub
fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x1dd990) : stub
fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x1dd990) : stub
fixme:d3d:IWineD3DDeviceImpl_ValidateDevice (0x1dd990) : stub
fixme:d3d:IWineD3DDeviceImpl_ResourceReleased Vertex buffer released while bound to a state block, stream 0
First chance exception: page fault on read access to 0xff3f3532 in 32-bit code (0x7ef9ee7f).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:7ef9ee7f ESP:0034f318 EBP:0034f318 EFLAGS:00010217(   - 00      RIAP1C)
 EAX:04fd3a22 EBX:7efe4498 ECX:ff3f3526 EDX:05bf0020
 ESI:05bf0028 EDI:00400000
Stack dump:
0x0034f318:  0034f368 7efa10d2 0034f5ac 0034f600
0x0034f328:  7c0e5a60 7be00008 00000001 00000000
0x0034f338:  7ea3ca2b 0034f3b8 00110000 05bf0020
0x0034f348:  05f00000 7ef92ec1 7e41736a 00040000
0x0034f358:  7efa106d 7efe4498 00000400 00400000
0x0034f368:  0034f3c8 7efa1365 00110020 00000000
Backtrace:
=>1 0x7ef9ee7f HEAP_FindSubHeap+0x1f(heap=0x4fd3a22, ptr=0x5bf0020) [/home/jan/winesrc/dlls/ntdll/heap.c:400] in ntdll (0x0034f318)
  2 0x7efa10d2 HEAP_FindFreeBlock+0x72(heap=0x110000, size=<register EDI not in topmost frame>, ppSubHeap=0x34f3b8) [/home/jan/winesrc/dlls/ntdll/heap.c:751] in ntdll (0x0034f368)
  3 0x7efa1365 RtlAllocateHeap+0x75(heap=0x110000, flags=0x8, size=0x400000) [/home/jan/winesrc/dlls/ntdll/heap.c:1194] in ntdll (0x0034f3c8)
  4 0x7ebfb3d6 IWineD3DDeviceImpl_CreateSurface+0x3b6(iface=0x1dd990, Width=0x400, Height=0x400, Format=0x15, Lockable=0x1, Discard=0x0, Level=0x0, ppSurface=0x5f3bea8, Type=0x1, Usage=0x0, Pool=0x1, MultiSample=0x0, MultisampleQuality=0x0, pSharedHandle=0x0, Impl=0x1, parent=0x5f3bea0) [/home/jan/winesrc/dlls/wined3d/device.c:682] in wined3d (0x0034f428)
  5 0x7ec9fca5 IDirect3DDevice8Impl_CreateSurface+0x105(iface=0x165b78, Width=0x400, Height=0x400, Format=0x15, Lockable=0x1, Discard=0x0, Level=0x0, ppSurface=0x34f4c8, Type=0x1, Usage=<register EDI not in topmost frame>, Pool=0x1, MultiSample=0x0, MultisampleQuality=0x0) [/home/jan/winesrc/dlls/d3d8/device.c:667] in d3d8 (0x0034f488)
  6 0x7ec9fef2 D3D8CB_CreateSurface+0x92(device=0x165b78, pSuperior=0x1d5f08, Width=0x400, Height=0x400, Format=0x15, Usage=<register EDI not in topmost frame>, Pool=<register ESI not in topmost frame>, Level=0x0, Face=0x0, ppSurface=0x5e464f8, pSharedHandle=0x0) [/home/jan/winesrc/dlls/d3d8/device.c:2179] in d3d8 (0x0034f4d8)
  7 0x7ebfab1a IWineD3DDeviceImpl_CreateTexture+0x26a(iface=0x1dd990, Width=<register EAX not in topmost frame>, Height=0x400, Levels=0x1, Usage=0x0, Format=0x15, Pool=0x1, ppTexture=0x1d5f10, pSharedHandle=0x0, parent=0x1d5f08, D3DCB_CreateSurface=0x7ec9fe60) [/home/jan/winesrc/dlls/wined3d/device.c:857] in wined3d (0x0034f538)
  8 0x7eca119a IDirect3DDevice8Impl_CreateTexture+0xca(iface=0x165b78, Width=0x400, Height=0x400, Levels=0x1, Usage=<register ESI not in topmost frame>, Format=0x15, Pool=0x1, ppTexture=0x2172a8c) [/home/jan/winesrc/dlls/d3d8/device.c:463] in d3d8 (0x0034f588)
  9 0x0074c120 in fifa07 (+0x34c120) (0xffffffff)
0x7ef9ee7f HEAP_FindSubHeap+0x1f [/home/jan/winesrc/dlls/ntdll/heap.c:400] in ntdll: movl       0xc(%ecx),%ecx
400             sub = sub->next;


More information about the wine-devel mailing list