[Bug 13272] Scrapland crashes on startup due to IDirectDrawStreamSample::GetSurface method stub

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Mar 9 14:52:02 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=13272

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
          Component|-unknown                    |amstream
            Summary|Scrapland: ACCESS VIOLATION |Scrapland crashes on
                   |when starting               |startup due to
                   |                            |IDirectDrawStreamSample::Ge
                   |                            |tSurface method stub

--- Comment #16 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Enlight/Scrapland

$ WINEDEBUG=+tid,+seh,+relay,+d3dx,+amstream wine ./Scrapland.exe >>log.txt
2>&1
...
002c:trace:amstream:IAMMultiMediaStreamImpl_GetMediaStream
(0x3203838/0x3203838)->({a35ff56a-9fda-11d0-8fdf-00c04fd9189d},0x33f990)
002c:trace:amstream:DirectDrawMediaStreamImpl_IAMMediaStream_GetInformation
(0x3205178/0x3205178)->(0x33f8f0,(nil))
002c:trace:amstream:DirectDrawMediaStreamImpl_IAMMediaStream_AddRef
(0x3205178/0x3205178)->(): new ref = 3
002c:trace:amstream:DirectDrawMediaStreamImpl_IAMMediaStream_QueryInterface
(0x3205178/0x3205178)->({f4104fce-9a70-11d0-8fde-00c04fd9189d},0x33f970)
002c:trace:amstream:DirectDrawMediaStreamImpl_IAMMediaStream_AddRef
(0x3205178/0x3205178)->(): new ref = 4
002c:trace:amstream:DirectDrawMediaStreamImpl_IDirectDrawMediaStream_CreateSample
(0x320517c)->((nil),(nil),0,0x33f96c)
002c:trace:amstream:ddrawstreamsample_create (0x33f96c)
002c:Call ntdll.RtlAllocateHeap(00110000,00000008,0000000c) ret=7bd11a81
002c:Ret  ntdll.RtlAllocateHeap() retval=0320e3d0 ret=7bd11a81
002c:fixme:amstream:IDirectDrawStreamSampleImpl_GetSurface
(0x320e3d0)->(0x33f968,0x33f99c): stub
002c:Call KERNEL32.OutputDebugStringA(007fdbe0 "pSample->GetSurface(&pSurface,
&rect)  failed with HRESULT(0x80004001)\n") ret=004019ea
002c:Ret  KERNEL32.OutputDebugStringA() retval=00000000 ret=004019ea
002c:Call KERNEL32.WriteFile(00000020,0033eea4,00000400,0033f2ac,00000000)
ret=006b3508
002c:Ret  KERNEL32.WriteFile() retval=00000001 ret=006b3508
002c:Call KERNEL32.WriteFile(00000020,0033eea4,00000022,0033f2ac,00000000)
ret=006b3508
002c:Ret  KERNEL32.WriteFile() retval=00000001 ret=006b3508
002c:trace:seh:raise_exception code=c0000005 flags=0 addr=0x63988d ip=0063988d
tid=002c
002c:trace:seh:raise_exception  info[0]=00000000
002c:trace:seh:raise_exception  info[1]=00000001
002c:trace:seh:raise_exception  eax=00000001 ebx=80004001 ecx=00000000
edx=00000000 esi=00000000 edi=00000000
002c:trace:seh:raise_exception  ebp=0033fe20 esp=0033f958 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00010202
002c:trace:seh:call_stack_handlers calling handler at 0x6b888c code=c0000005
flags=0
002c:Call KERNEL32.UnhandledExceptionFilter(0033f430) ret=006b83ab
002c:Call KERNEL32.GetLastError() ret=0041415c
002c:Ret  KERNEL32.GetLastError() retval=00000002 ret=0041415c
002c:Call KERNEL32.OutputDebugStringA(0033eed8 "\nUnhandled exception:
ACCESS_VIOLATION\t\n\nAddress: 0x0063988D\n\nInfo: Read fault on address
0x00000001\n\nESP: 0x0033F958\nEBP: 0x0033FE20\n") ret=004019ea
002c:Ret  KERNEL32.OutputDebugStringA() retval=00000000 ret=004019ea 
--- snip ---

MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd406814%28v=vs.85%29.aspx

Source:
http://source.winehq.org/git/wine.git/blob/76b910514ef060dd981646768ff0be9d26748d77:/dlls/amstream/mediastream.c#l948

--- snip ---
948 /*** IDirectDrawStreamSample methods ***/
949 static HRESULT WINAPI
IDirectDrawStreamSampleImpl_GetSurface(IDirectDrawStreamSample *iface,
IDirectDrawSurface **ddraw_surface,
950             RECT *rect)
951 {
952     FIXME("(%p)->(%p,%p): stub\n", iface, ddraw_surface, rect);
953
954     return E_NOTIMPL;
955 }
--- snip ---

$ wine --version
wine-1.7.14

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list