http://bugs.winehq.org/show_bug.cgi?id=58363
--- Comment #16 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Piotr Caban from comment #15)
I have installed missing gstreamer codecs and the videos are working now. I still can't reproduce the crash but there's a heap corruption when videos are played. The heap corruption is still there in old wine that doesn't contain 013b70d commit (HEAD at 013b70d^).
I have also verified that there's heap corruption when native msvcr90 is used.
The game can be executed with ir50_32.dll disabled to workaround heap corruption (WINEDLLOVERRIDES="ir50_32=d"). Videos will not be played in that case.
Umm...I'm kinda lost here. Albeit ir50_32.dll as well as ir41_32.dll are both present in the installed game directory, they are not even used (+loaddll) thus disabling ir50_32.dll yields nothing: the videos are still playing and the crashes occur. As I can see, lgvid.ax and lgvid.dll are responsible for video playback in the game (Thief 2) and disabling lgvid.dll indeed disables the movies in the game (the crash still occurs though).