http://bugs.winehq.org/show_bug.cgi?id=36455
Bug ID: 36455 Summary: Warlock 2: Crash in msvcp110 memmove Product: Wine Version: 1.7.18 Hardware: x86-64 URL: http://warlock2.com OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcp Assignee: wine-bugs@winehq.org Reporter: brix@brix-verden.dk
Created attachment 48498 --> http://bugs.winehq.org/attachment.cgi?id=48498 Backtrace with debug symbols
The game crashes when loading (started from Steam).
Does not seem directly related to bug 34480/35874 as the patch/hack from that report didn't help.
Note that the wine in Arch is compiled using gcc 4.9.
https://bugs.winehq.org/show_bug.cgi?id=36455
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://warlock2.com |http://store.steampowered.c | |om/app/205990/ CC| |focht@gmx.net Component|msvcp |-unknown Summary|Warlock 2: Crash in |Warlock 2 (Steam) crashes |msvcp110 memmove |on startup
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello Thomas,
--- quote --- Does not seem directly related to bug 34480/35874 as the patch/hack from that report didn't help. --- quote ---
it's likely a dupe of bug 34480 To prove it, please attach a trace log generated with:
--- snip --- $ WINEDEBUG=+tid,+seh,+d3d9,+d3d,+relay,+d3d_surface wine ./steam.exe -no-dwrite -applaunch 205990 -windowed >>log.txt 2>&1 --- snip ---
(compress if too large)
Regards
http://bugs.winehq.org/show_bug.cgi?id=36455
--- Comment #2 from Thomas Brix Larsen brix@brix-verden.dk --- Compressed to 5.8M: http://brix-verden.dk/misc/warlock2.log.xz
http://bugs.winehq.org/show_bug.cgi?id=36455
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello Thomas,
as I thought - it's definitely a dupe of bug 34480
Relevant part of your trace log:
--- snip --- ... 000b:trace:d3d9:d3d9_device_CreateTexture iface 0x1b2eb8, width 2048, height 2048, levels 11, usage 0, format 0x35545844, pool 0x1, texture 0x190787f4, shared_handle (nil). ... 000b:Call wined3d.wined3d_texture_create(001d1ee0,057ef2a8,0000000b,00000001,12ccde00,7effccc0,12ccde10) ret=7efe8bdb 000b:Call ntdll.RtlAllocateHeap(00110000,00000008,00000148) ret=7ece385a 000b:Ret ntdll.RtlAllocateHeap() retval=12cd0318 ret=7ece385a 000b:trace:d3d:device_resource_add device 0x1d1ee0, resource 0x12cd0318. 000b:Call ntdll.RtlAllocateHeap(00110000,00000008,0000002c) ret=7ece15c5 000b:Ret ntdll.RtlAllocateHeap() retval=12cce598 ret=7ece15c5 000b:fixme:d3d:debug_d3dusage Unrecognized usage flag(s) 0x10000000 000b:trace:d3d_surface:wined3d_surface_create container 0x12cd0318, width 2048, height 2048, format WINED3DFMT_DXT5, usage 0 (0x10000000), pool WINED3D_POOL_MANAGED, multisample_type 0, multisample_quality 0, target 0xde1, level 0, flags 0x1, surface 0x57ef1c4. 000b:Call ntdll.RtlAllocateHeap(00110000,00000008,00000114) ret=7ecdd9ad 000b:Ret ntdll.RtlAllocateHeap() retval=12cce108 ret=7ecdd9ad 000b:Call ntdll.RtlAllocateHeap(00110000,00000008,00400013) ret=7ec959dc 000b:Ret ntdll.RtlAllocateHeap() retval=241eb020 ret=7ec959dc ... 000b:trace:d3d_surface:surface_invalidate_location surface 0x12cce108, location WINED3D_LOCATION_DISCARDED | WINED3D_LOCATION_USER_MEMORY | WINED3D_LOCATION_DIB | WINED3D_LOCATION_BUFFER | WINED3D_LOCATION_TEXTURE_RGB | WINED3D_LOCATION_TEXTURE_SRGB | WINED3D_LOCATION_DRAWABLE |. 000b:trace:d3d_surface:wined3d_surface_get_pitch surface 0x12cce108. 000b:trace:d3d_surface:wined3d_surface_get_pitch Returning 8192. 000b:trace:d3d_surface:wined3d_surface_map Locked rect (0,0)-(2048,2048). 000b:trace:d3d_surface:wined3d_surface_map Returning memory 0x241eb030, pitch 8192. 000b:Ret wined3d.wined3d_surface_map() retval=00000000 ret=7efe3dc1 ... 000b:Call msvcr110.memcpy(241eb030,155c3000,00002000) ret=06671fb1 000b:Ret msvcr110.memcpy() retval=241eb030 ret=06671fb1 000b:Call msvcr110.memcpy(241ed030,155c5000,00002000) ret=06671fb1 000b:Ret msvcr110.memcpy() retval=241ed030 ret=06671fb1 ... 000b:Ret msvcr110.memcpy() retval=245e7030 ret=06671fb1 000b:Call msvcr110.memcpy(245e9030,159c1000,00002000) ret=06671fb1 000b:Ret msvcr110.memcpy() retval=245e9030 ret=06671fb1 000b:Call msvcr110.memcpy(245eb030,159c3000,00001000) ret=06671fb1 000b:trace:seh:raise_exception code=c0000005 flags=0 addr=0xf7517342 ip=f7517342 tid=000b 000b:trace:seh:raise_exception info[0]=00000001 000b:trace:seh:raise_exception info[1]=245ec000 000b:trace:seh:raise_exception eax=159c3ff0 ebx=f75a3000 ecx=00000010 edx=245ec000 esi=00000800 edi=00003800 000b:trace:seh:raise_exception ebp=057ef198 esp=057ef170 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010206 000b:trace:seh:call_stack_handlers calling handler at 0xa2f33a code=c0000005 flags=0 000b:Call msvcr110._except_handler3(057ef118,057ef88c,057eee4c,057eed7c) ret=7bc7ab3d ... --- snip ---
The surface (system) memory in question is 0x241eb020
--- snip --- 000b:trace:d3d_surface:wined3d_surface_create container 0x12cd0318, width 2048, height 2048, format WINED3DFMT_DXT5, usage 0 (0x10000000), pool WINED3D_POOL_MANAGED, multisample_type 0, multisample_quality 0, target 0xde1, level 0, flags 0x1, surface 0x57ef1c4. 000b:Call ntdll.RtlAllocateHeap(00110000,00000008,00000114) ret=7ecdd9ad 000b:Ret ntdll.RtlAllocateHeap() retval=12cce108 ret=7ecdd9ad 000b:Call ntdll.RtlAllocateHeap(00110000,00000008,00400013) ret=7ec959dc 000b:Ret ntdll.RtlAllocateHeap() retval=241eb020 ret=7ec959dc --- snip ---
--- snip --- 000b:trace:d3d_surface:wined3d_surface_map Returning memory 0x241eb030, pitch 8192. --- snip ---
11 mip levels: 0x2000,0x1000,0x800,0x400,0x200,0x100,0x80,0x40,0x20,0x10,0x8
--- snip --- Does not seem directly related to bug 34480/35874 as the patch/hack from that report didn't help.
Note that the wine in Arch is compiled using gcc 4.9. --- snip ---
I don't know why the hack doesn't work for you but since you're using Arch and compiling Wine with gcc 4.9 everything is possible (bad choice right now).
Regards
*** This bug has been marked as a duplicate of bug 34480 ***
https://bugs.winehq.org/show_bug.cgi?id=36455
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Austin English austinenglish@gmail.com --- Closing.