[Bug 39739] New: Cobra 11 - Burning Wheels demo: crashes when starting the tutorial

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Dec 4 08:28:51 CST 2015


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

            Bug ID: 39739
           Summary: Cobra 11 - Burning Wheels demo: crashes when starting
                    the tutorial
           Product: Wine
           Version: 1.8-rc2
          Hardware: x86-64
               URL: http://www.4players.de/4players.php/download_info/Down
                    loads/Download/50183/Alarm_fuer_Cobra_11_Burning_Wheel
                    s/Deutsche_Demo.html
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: bernhardu at vr-web.de
                CC: hverbeet at gmail.com
   Regression SHA1: ffc9f535eb7817ea4cd0d0657471e61a9813debd
      Distribution: ---

Created attachment 52998
  --> https://bugs.winehq.org/attachment.cgi?id=52998
Avoid freeing memory that gets used later by the demo version of "Cobra 11 -
Burning Wheels".

When starting the tutorial the demo crashes.
This seems to be because the accessed memory was freed before:
(See attached patch for the additional trace calls.)

002d:0065:trace:d3d:wined3d_resource_allocate_sysmem Allocated
mem=0x1ac47020-0x1aec1093 size=0x27a073 heap_memory=0x1ac47030
resource=0xd70aa98
002d:002e:trace:d3d:wined3d_resource_free_sysmem Freeing heap_memory=0x1ac47030
resource=0xd70aa98
wine: Unhandled page fault on read access to 0x1ada2920 at address 0x52f7b2
(thread 002e), starting debugger...

The demo was working some years ago. A git bisect leads to this commit:
ffc9f535eb7817ea4cd0d0657471e61a9813debd is the first bad commit
commit ffc9f535eb7817ea4cd0d0657471e61a9813debd
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Fri Jun 14 09:07:12 2013 +0200

    wined3d: Handle pre-transformed vertices in the GLSL vertex pipe.

    This also avoids a fallback to drawStridedSlow().

Attached patch makes the game (or at least the tutorial) playable by never
freeing the memory above a certain size in buffer_create_buffer_object.

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