http://bugs.winehq.org/show_bug.cgi?id=58363
--- Comment #6 from Jay451 juliusr@proton.me --- (In reply to Béla Gyebrószki from comment #5)
Note that I made only a cursory test with these games (Thief Gold and Thief 2 from GOG.com). There is a method to reliably reproduce the crash in Thief 2 (does not work with Thief Gold though): start a new game from the main menu. When the game is loaded press <ESC> and select <Restart> in the menu: the cinematic video plays OK but when I click on the <Continue> button the game crashes.
@Jay451: can you reliably reproduce the crash following those steps ? If so, the regression test is a bit easier to perform.
My regression test resulted: commit 013b70d46135ec976547ef23c96d4b15a8843fa7 msvcrt: Call _wgetcwd in _getcwd function.
It is from Wine-10.0-rc1 so you were right about that assumption.
Workaround: Native msvcr90.dll makes the crash go away in Thief 2. (winetricks vcrun2008)
As for Thief Gold: the game always crashes for me when trying to play the first (intro) video but that is due to another commit.
Tested with Wine-10.10.
Thanks for your help, I don't have any experience with Wine regression tests so I wasn't expecting to try it out myself just yet.
Yes, I can indeed reproduce the crash in Thief 2 following the exact steps you've described. The workaround you mentioned does seem to solve that particular crash.
I also experience a crash when playing the first intro video with Thief Gold, even with the workaround of using the native msvcr90.dll library. Could you mention the responsible commit just for reference?
The reason why in my previous posts I have reported crashes in different places is because they seem to be sensitive to changes in the game files (such as renaming files to lowercase or installing a patch, TFix and T2Fix in this case). From now on I'll only do further reports by trying out a completely vanilla install on a clean prefix each time.