http://bugs.winehq.org/show_bug.cgi?id=12410
Summary: f761b908013698ee4e015ea03f48ce5d170fb666 breaks ghostrecon Product: Wine Version: CVS/GIT Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: frick@sc-networks.de
Created an attachment (id=11925) --> (http://bugs.winehq.org/attachment.cgi?id=11925) backtrace on segfault
this patch breaks the game Ghost Recon (patched with addons and no-cd-patch). the game works initially. when e.g. hosting a multiplayer game after leaving ingame graphics right before the menus comes back the game segfaults.
commit f761b908013698ee4e015ea03f48ce5d170fb666 Author: Stefan Dösinger stefan@codeweavers.com Date: Sun Mar 23 16:14:05 2008 +0100
wined3d: Free heapMemory, not allocatedMemory when adjusting the surface.
:040000 040000 1ccd6cb6ba54bafb1dae966b2cd0d887aa06a074 1e875c90996f6239c2d300e67ceeb195b1698076 M dlls
http://bugs.winehq.org/show_bug.cgi?id=12410
Gregor Münch greg87@online.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |greg87@online.de
--- Comment #1 from Gregor Münch greg87@online.de 2008-04-07 14:04:40 --- Could you try this patch? http://www.winehq.org/pipermail/wine-patches/2008-April/052647.html
http://bugs.winehq.org/show_bug.cgi?id=12410
--- Comment #2 from Christoph Frick frick@sc-networks.de 2008-04-07 16:23:25 --- the attacement there is empty; i am in the wine-devel, but i deleted the mails and kepy only the very last mails sent there. can you provide the patch again? e.g. attaching it here?
http://bugs.winehq.org/show_bug.cgi?id=12410
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #3 from Austin English austinenglish@gmail.com 2008-04-07 21:25:00 --- (In reply to comment #2)
the attacement there is empty; i am in the wine-devel, but i deleted the mails and kepy only the very last mails sent there. can you provide the patch again? e.g. attaching it here?
dlls/wined3d/device.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 1c1da5a..2fa042a 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -6966,6 +6966,7 @@ static void updateSurfaceDesc(IWineD3DSurfaceImpl *surface, WINED3DPRESENT_PARAM surface->resource.allocatedMemory = NULL; surface->resource.heapMemory = NULL; surface->resource.size = IWineD3DSurface_GetPitch((IWineD3DSurface *) surface) * surface->pow2Width; + IWineD3DSurface_ModifyLocation((IWineD3DSurface *) surface , SFLAG_INDRAWABLE, TRUE); }
static HRESULT WINAPI reset_unload_resources(IWineD3DResource *resource, void *data) {
http://bugs.winehq.org/show_bug.cgi?id=12410
--- Comment #4 from Christoph Frick frick@sc-networks.de 2008-04-08 01:04:31 --- the patch _have_ an effect on the problem. game now does not crash right on the beginning of the menu but after clicking the "next" button. i will attach another trace.
http://bugs.winehq.org/show_bug.cgi?id=12410
--- Comment #5 from Christoph Frick frick@sc-networks.de 2008-04-08 01:06:11 --- Created an attachment (id=11963) --> (http://bugs.winehq.org/attachment.cgi?id=11963) backtrace _after_ the proposed patch
http://bugs.winehq.org/show_bug.cgi?id=12410
Christoph Frick frick@sc-networks.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #6 from Christoph Frick frick@sc-networks.de 2008-04-08 13:33:01 --- todays GIT fixed the problem with the game.
http://bugs.winehq.org/show_bug.cgi?id=12410
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2008-04-18 11:04:39 --- Closing bugs reported fixed in 0.9.60.
http://bugs.winehq.org/show_bug.cgi?id=12410
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified