[Bug 49391] New: Star Trek Armada crashes on start on Wine 5.6 but not Wine 5.5

WineHQ Bugzilla wine-bugs at winehq.org
Mon Jun 15 12:55:49 CDT 2020


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

            Bug ID: 49391
           Summary: Star Trek Armada crashes on start on Wine 5.6 but not
                    Wine 5.5
           Product: Wine
           Version: 5.6
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: directx-d3d
          Assignee: wine-bugs at winehq.org
          Reporter: alexhenrie24 at gmail.com
      Distribution: ---

Created attachment 67459
  --> https://bugs.winehq.org/attachment.cgi?id=67459
WINEDEBUG=+ddraw

The problem is reproducible with both the free demo and the full version.
Console output with WINEDEBUG=+ddraw is attached. `git bisect` said:

d0ff5e66a7611511426a8ff902a95ab22c545f78 is the first bad commit
commit d0ff5e66a7611511426a8ff902a95ab22c545f78
Author: Paul Gofman <gofmanp at gmail.com>
Date:   Fri Mar 27 23:31:41 2020 +0300

    ddraw: Reserve extra space for video memory surfaces in compatibility mode.

    Some old apps write surface data past the end of locked space. That
    used to work on early ddraw hardware as locked surface provided
    direct access to video memory mapped to CPU address space and such
    access could often go without issues. Currently ddraw on Windows
    allocates bigger buffers for video memory surfaces when 8 or 16 bit
    display mode is requested.

    Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48788
    Signed-off-by: Paul Gofman <gofmanp at gmail.com>
    Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>

 dlls/ddraw/ddraw_private.h |  2 ++
 dlls/ddraw/surface.c       | 61 +++++++++++++++++++++++++++++++++++++++++++---
 2 files changed, 60 insertions(+), 3 deletions(-)

And indeed, after reverting that commit, the game works flawlessly.

$ sha256sum armada_demo.exe 
2b8a04fefe6725bfdaf826e86e1a79dfb3bbb72377aeaaef4afa446ec6eface7

-- 
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