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@winehq.org Reporter: bernhardu@vr-web.de CC: hverbeet@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@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.
https://bugs.winehq.org/show_bug.cgi?id=39739
--- Comment #1 from Bernhard Übelacker bernhardu@vr-web.de --- Forgot to mention that one who want to run the demo probably has to work around bug #39734 and bug #39738 .
https://bugs.winehq.org/show_bug.cgi?id=39739
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com Component|-unknown |directx-d3d
https://bugs.winehq.org/show_bug.cgi?id=39739
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
https://bugs.winehq.org/show_bug.cgi?id=39739
--- Comment #2 from Henri Verbeet hverbeet@gmail.com --- This is probably fixed by commit e6e0c2278359340594da7451654ef7c50d175e7c.
https://bugs.winehq.org/show_bug.cgi?id=39739
Sergey Isakov isakov-sl@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |isakov-sl@bk.ru
--- Comment #3 from Sergey Isakov isakov-sl@bk.ru --- (In reply to Bernhard Übelacker from comment #1)
Forgot to mention that one who want to run the demo probably has to work around bug #39734 and bug #39738 .
Hey Berhard, I tried the demo and encounter other crash that you don't mentioned in these bugs ~~~~ 0x0146d690: 3e72a8b9 3e72a8b7 0146d720 01ff01c8 0200: sel=1007 base=7ffc0000 limit=00000fff 32-bit rw- Backtrace: =>0 0x01ff0028 (0x0146d7b8) 1 0x0207dd6b in pe17af2e81 (+0x7dd6a) (0x0146d7fc) 2 0x0203bf35 in pe17af2e81 (+0x3bf34) (0x0146fe8c) 3 0x00ce3421 in burningwheelshi (+0x8e3420) (0x007f5b10) 0x01ff0028: movl 0x0(%eax),%eax Modules: Module Address Debug info Name (235 modules) PE 400000- 1067000 Export burningwheelshi PE 2000000- 2474000 Export pe17af2e81 PE 3c001000-3c1b6000 Deferred libwine.1.0.dylib ~~~~
MD5 (BurningWheelsDemo.exe) = ed5a1ef283bc8f800c6344219b56ec64
https://bugs.winehq.org/show_bug.cgi?id=39739
Bernhard Übelacker bernhardu@vr-web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e6e0c2278359340594da7451654 | |ef7c50d175e7c Status|UNCONFIRMED |RESOLVED Depends on| |39734 Resolution|--- |FIXED Distribution|--- |Debian
--- Comment #4 from Bernhard Übelacker bernhardu@vr-web.de --- (In reply to Henri Verbeet from comment #2)
This is probably fixed by commit e6e0c2278359340594da7451654ef7c50d175e7c.
I cannot see the crash for that I opened this bug. (Game plays fine now for me when applying the the patch from bug #39734 .) Setting to RESOLVED FIXED is ok?
https://bugs.winehq.org/show_bug.cgi?id=39739
--- Comment #5 from Bernhard Übelacker bernhardu@vr-web.de --- (In reply to Sergey Isakov from comment #3)
I tried the demo and encounter other crash that you don't mentioned in these bugs
Hello Sergey, the md5 of my installation file matches yours.
In your call stack is the module "pe17af2e81" which I can find in my prefix in "drive_c/users/bernhard/Application Data/ProtectDisc/pe17af2e81.dll". Therefore I guess this is more related to the copy protection.
Also I am running on Linux - from your "libwine.1.0.dylib" I assume you run MacOS X? One thing I did not mention, I run the game in a virtual desktop.
Probably your crash deserves its own bug report.
Kind regards, Bernhard
https://bugs.winehq.org/show_bug.cgi?id=39739
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=39739
--- Comment #6 from Sergey Isakov isakov-sl@bk.ru --- Yes, I am using MacOSX. Don't know if it influences on protection. I don't want to fight with this particular protection issue. If the graphics bug is resolved then it is OK.
https://bugs.winehq.org/show_bug.cgi?id=39739
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.2.
https://bugs.winehq.org/show_bug.cgi?id=39739
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #8 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.1.
https://bugs.winehq.org/show_bug.cgi?id=39739 Bug 39739 depends on bug 39734, which changed state.
Bug 39734 Summary: ProtectDisc Driver 11: acedrv11.sys crashes https://bugs.winehq.org/show_bug.cgi?id=39734
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=39739
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.4players.de/4pla |https://web.archive.org/web |yers.php/download_info/Down |/20210701055235/https://dl. |loads/Download/50183/Alarm_ |4players.de/f1/pc/cobra_11_ |fuer_Cobra_11_Burning_Wheel |nitro/BurningWheelsDemo.exe |s/Deutsche_Demo.html | CC| |focht@gmx.net