https://bugs.winehq.org/show_bug.cgi?id=37892
Bug ID: 37892 Summary: GOTHIC 2 GOLD: Vdfs32e.exe crashes at startup Product: Wine Version: 1.7.34 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: marc.bessieres@gmail.com Regression SHA1: ca51e113e4820f8b11016c13732b1a971d2b0054 Distribution: ---
Created attachment 50471 --> https://bugs.winehq.org/attachment.cgi?id=50471 Vdfs32e.exe crash backtrace
Follow up bug 7425 which is a mixture of several issues about Gothic2 Gold (Night of the Raver extension).
In bug 7425, it seems that most people were using the German version and Vdfs32g.exe was crashing. Here I'm using the French version in one DVD and Vdfs32e.exe crashes at startup (backtrace in attachment). So it might not be a true follow up.
In both case the crash doesn't prevent the game from starting if following workaround is done: set musicEnabled=0 in Gothic.ini
In bug 7425, many users used a no-CD fix, I didn't have to, the game protections work fine. I'll attach the ProtectionID.exe result for reference.
There is not much in the command line:
wine drive_c/Program\ Files\ (x86)/JoWooD\ Productions\ Software\ AG/Gothic\ II\ Gold/system/Gothic2.exe
fixme:service:scmdatabase_autostart_services Auto-start service L"SVKP" failed to start: 2 wine: Unhandled page fault on read access to 0x00340000 at address 0x4016bf (thread 0024), starting debugger...
If the prefix is a 32-bit one, then Vdfs32e.exe worked during a short while after commit:
commit f87767bc35b0da4df7c7104c04943ed67e06ea78 Author: Piotr Caban piotr@codeweavers.com Date: Fri Nov 28 08:01:26 2014 +0100
ntdll: Handle ACTCTX_FLAG_ASSEMBLY_DIRECTORY_VALID flag when opening manifest in RtlCreateActivationContext.
:040000 040000 72593ce2fdd2dfd6686cf7fd00436040eea8688c 8c3259784fdda6821620cb1e6284feb8a4daf23d M dlls
And then it failed again after:
Auteur: Erich E. Hoover erich.e.hoover@gmail.com 2014-08-20 04:31:00 Auteur du commit: Alexandre Julliard julliard@winehq.org 2014-12-17 19:42:23 Parent: 1f7683777babab98197c39e5965ba6f70c01c8d0 (quartz: Implement IFilterGraph2::AddSourceFilterForMoniker.) Enfant: cbc8f3c81148079a17f4062fb9bad6569107fb34 (winemenubuilder: Eliminate an unused variable.) Branche: master, remotes/origin/master Suit: wine-1.7.33 Précède: wine-1.7.34
ntdll: Unify retrieving the attributes of a file.
Running several regression tests (each time reverting the previously found bad commit(s) before compilation, and resetting the state with git reset --hard HEAD^ for each reverted commit before running the git bisect bad/good) gave me the following ntdll commits. If I revert them, Vdfs32e.exe works again in wine-1.7.34:
commit c2d303c54bc07ba642c96b661b7ea1fe7546931e Author: Marc Bessières marc.bessieres@mykolab.com Date: Wed Jan 14 09:52:50 2015 +0100
Revert "ntdll: Fix 'description' element parsing to allow empty elements."
This reverts commit c134466224d0e709ab7ffc206013f79d70fe27d4.
commit 7e0388006d315bf6d04c2f4912f945e45cae4273 Author: Marc Bessières marc.bessieres@mykolab.com Date: Wed Jan 14 09:52:00 2015 +0100
Revert "ntdll: Accept asm.v2 as default namespace."
This reverts commit 37c179794e35bfe4283edfa425efc4e499cc652e.
commit 893d01c18263bd98e6952e95cd521d6808671695 Author: Marc Bessières marc.bessieres@mykolab.com Date: Wed Jan 14 09:51:48 2015 +0100
Revert "ntdll: Unify retrieving the attributes of a file."
This reverts commit ca51e113e4820f8b11016c13732b1a971d2b0054.
commit 13b3156035d9dc2f90c16497fb32255c16bca28f Author: Marc Bessières marc.bessieres@mykolab.com Date: Wed Jan 14 09:51:40 2015 +0100
Revert "ntdll: Add stub for RtlSetHeapInformation."
This reverts commit 7eed378f5dc907e9733124727bcd03aacebbd3b6.
So I believe I can tag this bug as a regression. This can be removed if more experience people think it is not.
wine --version
wine-1.7.34
du -h drive_c/Program\ Files/JoWooD\ Productions\ Software\ AG/Gothic\ II\ Gold/system/Vdfs32e.*
92K drive_c/Program Files/JoWooD Productions Software AG/Gothic II Gold/system/Vdfs32e.dll 8,0K drive_c/Program Files/JoWooD Productions Software AG/Gothic II Gold/system/Vdfs32e.exe
sha1sum drive_c/Program\ Files/JoWooD\ Productions\ Software\ AG/Gothic\ II\ Gold/system/Vdfs32e.*
222ff8219abb2e8a05604b7caaad8e8470a2e689 drive_c/Program Files/JoWooD Productions Software AG/Gothic II Gold/system/Vdfs32e.dll 6595c674fe3efb8ed1cfc082d88e3a124b6938a2 drive_c/Program Files/JoWooD Productions Software AG/Gothic II Gold/system/Vdfs32e.exe guest@linux-87nj:~/wine-git>
du -h drive_c/Program\ Files/JoWooD\ Productions\ Software\ AG/Gothic\ II\ Gold/system/Gothic2.exe
8,7M drive_c/Program Files/JoWooD Productions Software AG/Gothic II Gold/system/Gothic2.exe
sha1sum drive_c/Program\ Files/JoWooD\ Productions\ Software\ AG/Gothic\ II\ Gold/system/Gothic2.exe
118e4d156ad9b9124c4f376365c2b16e1f65920c drive_c/Program Files/JoWooD Productions Software AG/Gothic II Gold/system/Gothic2.exe