http://bugs.winehq.org/show_bug.cgi?id=5451
------- Additional Comments From saulius.krasuckas@elst.vtu.lt 2006-17-06 02:41 ------- Created an attachment (id=2658) --> (http://bugs.winehq.org/attachment.cgi?id=2658&action=view) WINEDEBUG=+...,+relay
Relay session output. The interesting parts for me looked like these:
0038:Call gdi32.GdiSetBatchLimit(00000001) ret=00417326 0038:Ret gdi32.GdiSetBatchLimit() retval=00000001 ret=00417326 0038:trace:ddraw:IDirectDrawSurfaceImpl_GetCaps (0x7fdc00c0)->(0x7fa0fd8c) 0038:trace:ddraw:IDirectDrawSurfaceImpl_Lock (0x7fdc00c0)->((nil),0x7fa0fdb0,21,(nil)) 0038:trace:ddraw:IDirectDrawSurfaceImpl_Lock locked surface returning description : - DDSD_CAPS : DDSCAPS_FRONTBUFFER DDSCAPS_PRIMARYSURFACE - DDSD_HEIGHT : 480 - DDSD_WIDTH : 640 - DDSD_PITCH : 640 - DDSD_LPSURFACE : 0x7cf60000 - DDSD_PIXELFORMAT : ( DDPF_PALETTEINDEXED8 DDPF_RGB , RGB bits: 8, R 00 G 00 B 00) 0038:trace:ddraw:IDirectDrawSurfaceImpl_Unlock (0x7fdc00c0)->((nil)) 0038:Call user32.GetDCEx(0007003e,00000000,00000012) ret=7d3a36bc 0038:Call winex11.drv.GetDCEx(0007003e,00000000,00000012) ret=7f86b070
...
0038:Call gdi32.GdiFlush() ret=15005890 0038:Ret gdi32.GdiFlush() retval=00000001 ret=15005890 0038:trace:ddraw:IDirectDrawSurfaceImpl_Lock (0x7fdc00c0)->((nil),0x7fa0f1b8,1,(nil)) 0038:trace:ddraw:IDirectDrawSurfaceImpl_Lock locked surface returning description : - DDSD_CAPS : DDSCAPS_FRONTBUFFER DDSCAPS_PRIMARYSURFACE - DDSD_HEIGHT : 480 - DDSD_WIDTH : 640 - DDSD_PITCH : 640 - DDSD_LPSURFACE : 0x7cf60000 - DDSD_PIXELFORMAT : ( DDPF_PALETTEINDEXED8 DDPF_RGB , RGB bits: 8, R 00 G 00 B 00) 0038:Call ntdll.RtlAllocateHeap(7e400000,00000000,00000880) ret=15020ff0 0038:Ret ntdll.RtlAllocateHeap() retval=7bd30020 ret=15020ff0 0038:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7e4bca18 0038:trace:seh:raise_exception info[0]=00000001 0038:trace:seh:raise_exception info[1]=7cfab000 0038:trace:seh:raise_exception eax=5f5f5f5f ebx=7e4bca10 ecx=00000000 edx=00000002 esi=7c120024 edi=7cfab000 0038:trace:seh:raise_exception ebp=7fa0f1c0 esp=7fa0f118 cs=0073 ds=007b es=007b fs=003b gs=0033 flags=00010206 0038:trace:seh:call_stack_handlers calling handler at 0x465d38 code=c0000005 flags=0 0038:Call kernel32.GetLastError() ret=004658f8 0038:Ret kernel32.GetLastError() retval=00000000 ret=004658f8 0038:Call kernel32.TlsGetValue(00000004) ret=00465906 0038:Ret kernel32.TlsGetValue() retval=7d420100 ret=00465906 0038:Call kernel32.SetLastError(00000000) ret=0046595a 0038:Ret kernel32.SetLastError() retval=00000000 ret=0046595a 0038:Call kernel32.UnhandledExceptionFilter(7fa0ec8c) ret=00465cfa
After the call to IDirectDrawSurfaceImpl_Lock and RtlAllocateHeap we get SEH, which app later log to its own report file. I'll try to get a backtrace for these two execution points later.