Aller au contenu

Photo

CTD resolved with Visual C++ 2005 Update on Vista x64


  • Veuillez vous connecter pour répondre
23 réponses à ce sujet

#1
Doofus42

Doofus42
  • Members
  • 264 messages
I, like many others, was experiencing the DOA PC game crashing to the desktop way too often.  This is the specifications of the system I was using:

Hardware:
--------------
Dell XPS 720 (nVidia 680i chipset)
Intel Quadcore QX6800 @ 3.2 GHz
EVGA GTX 260-216 core
EVGA GTS 250 for Physx
Creative Extreme Gamer (PCI based)
Dell SP2309W (2048 x 1152) - Gaming monitor attached to GTX 260
Dell E228WFP (1680 x 1050) - 2nd monitor attached to GTS 250

Software:
-------------
Windows Vista Ultimate - 6.0.6002 SP2 Build 6002 - all MS Update Hotfixes installed
nVidia Graphics driver - 195.39 Beta (latest and greatest)
nVidia Physx driver - 09.09.0814 (latest and greatest)
Creative Sound - 2.18.0013 (June 2009 time frame)
DirectX - updated to the August 2009 release.

Troubleshooting done:
-------------------------------
After a CTD I went into the Windows Event Viewer and looked in the Application Log.  I found the following message:

Faulting application DAOrigins.exe, version 1.1.9363.0, time stamp 0x4ae9d52d, faulting module MSVCR80.dll, version 8.0.50727.4053, time stamp 0x4a594c79, exception code 0xc0000005, fault offset 0x000173d0, process id 0x754, application start time 0x01ca60b3732c0e78.

The application had crashed in the MSVCR80.dll module.  Now I had no idea what this module was so I consulted my friend Google and found this was a module that was part of the Microsoft Visual C++ 2005 run-time library.  I then went into the Control Panel - Remove Programs and checked on what version of the Visual C++ I had installed.  There were five or six versions installed of both the x86 and x64 variety.

I then went to the Microsoft download site to searched for the Visual C++ 2005.  I found that there were 3 different versions of this RTE available for down load:

1.  Visual C++ 2005 Redistributable Package (x86) - released 4/10/2006
2.  Visual C++ 2005 SP1 Redistributable Package (x86) - released 8/27/2007
3.  Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update - released 7/28/2009  See MS KB KB973544 for more details.

Being not afraid to totally screw up my system by changing things, I decided to remove all the installed Visual C++ RTEs and re-install the version released in July 2009. 

Now this is is important!  I installed the 32bit x86 version.  DOA is a 32bit x86 application and requires the 32bit x86 libraries.  The version information displayed in the Add/Remove Programs control panel is 8.0.59193. 

After installing this new Visual C++ RTE I have played several hours and not had one CTD.

I hope this will help solve some of the problems foilks are having.

Modifié par Doofus42, 09 novembre 2009 - 03:48 .


#2
ynamite

ynamite
  • Members
  • 8 messages
very interesting, thanks for sharing.



I'll be sure to try this tonight! holding thumbs!

#3
Obadiah

Obadiah
  • Members
  • 5 730 messages
I had to install this in order to the DA:0 v1.01 patch to work on my Vista 64 machine. Honestly, you would have thought this had been part of the Vista Service Pack 2 which was released a couple of weeks ago.

#4
ynamite

ynamite
  • Members
  • 8 messages
I'm using Windows 7, does it also apply to that or only to Vista?

#5
Doofus42

Doofus42
  • Members
  • 264 messages


I just installed this on a Win7 machine of mine and it seemed to work. I only ran for a few minutes so I can say very little about long term stability. This machine is using nvidia 8800GT video cards in SLI mode.



Also running a defrag on this machine seemed to help load times.

#6
ChandlerL

ChandlerL
  • Members
  • 463 messages
It can apply to Win 7 if Windows Update is not set up to update everything or is not functioning that way it should. In which case, installing the latest C++ 2005 runtime library is a great alternative.


#7
KevinEHV

KevinEHV
  • Members
  • 3 messages
My game only crashes when entering i change my party. anyone also has this problem ?

#8
ChandlerL

ChandlerL
  • Members
  • 463 messages
hmm kev. Any chance you installed the toolset?

#9
Zeluna

Zeluna
  • Members
  • 122 messages
I was beta testing Windows 7 for a long time and once I got the release version there was many flavors of this runtime library package online. The C++ library update for your flavor of OS (32 or 64 bit) will automatically warn you needs to be installed after you connect Win7 to the internet and Windows Upgrade runs for the first time. People running Win7 will have a smoother time running DA:O because this update should already be on their system once DA:O or the 1.01a patch is applied.

My patch worked right away with no problems because I immediately applied this newer runtime library once Windows Update informed me of its availability.

I would strongly recommend you apply any SECURITY patches available with Windows Upgrade once they become available it will make your computer way easier to work with once patches for applications or games roll around.

If you are running Vista or XP you need to force Windows Update to search for new updates by going to the sight directly and having it scan your computer. Do not trust and wait for the little tooltip to tell you when something is available and then install it.

Because WIn7 is so new it seems to work faster at searchign and notifying you of updates as they come out so by the time any patch for any softtware is out the OS is ready for it and it makes life a whole lot easier ;)

Modifié par Yelina, 09 novembre 2009 - 05:24 .


#10
Doofus42

Doofus42
  • Members
  • 264 messages
there should be an event in the windows event viewer, application log. what does it say?


#11
Harmzway

Harmzway
  • Members
  • 9 messages
Do you need to reinstall the game after updating the C++ library?

#12
Doofus42

Doofus42
  • Members
  • 264 messages
There is no need to re-install the game. or at least I have not done this on either of my machines.

#13
Harmzway

Harmzway
  • Members
  • 9 messages
Thx, hope this works when i get home later

#14
Zeluna

Zeluna
  • Members
  • 122 messages

Harmzway wrote...

Do you need to reinstall the game after updating the C++ library?


no, not at all. Here let me break down the steps you can do regardless of OS flavor you are running.

1) You installed the game
2) You installed the patch
3) BAM game does not work
4) You install the C++ runtime update
5) You play the game

If the game still does not work:
1) uninstall every C++ runtime library version you may have in Add/Remove Programs (if both 32 and 64 bit versions are showing)
2) Restart the computer after all the uninstalls are done. (if you have different versions, most will have just one)
3) Then reinstall the correct version for your OS (x64 for 64-bit OS and the x86 version for your 32-bit OS).

NOTE: If anyone tells you to install 32-bit versions onto a 64-bit OS they are WRONG. The OS running under 64-bit needs 64-bit software for the OS (patches, updates, etc.). You do not install 32-bit software becuase your computer applications like DA:O is a 32-bit game. Anyone who tells you different does not know how the OS subsystems work to give you this kind of bad information.The OS is smart enought to know the code it needs to support 32-bit apps running 64-bit OS system. If it isn't smart it will use the "Compatibility" setting for the shortcut to downgrade to 32-bit process. Win7 can run 32-bit software just fine. The subsystem files (like C++ runtime libraries) need to be 64-bit to work correctly with a 64-bit system NOT 32-bit!

Just because the game is 32-bit does not mean you install core subsystem OS files that are 32-bit this is WRONG and bad information.

Modifié par Yelina, 09 novembre 2009 - 05:49 .


#15
Doofus42

Doofus42
  • Members
  • 264 messages


Yelina, I beg to differ with you about the need to install 32 bit libraries on a 64 bit OS. All 32bit applications run in a 32 bit virtual container in 64 bit windows. The 32 bit RTE is needed inside the 32 bit container.



I just removed the 32bit library leaving the 64 bit installed. Now when I click play nothing happens. I am leaving the launcher running and re-installing the 32 bit x86 RTE. Now when I click the Play button, the game starts and runs.



It would seem to me that the 32 bit x86 version is the proper one to install on 64 bit OSes to run DAO.

#16
ChandlerL

ChandlerL
  • Members
  • 463 messages
You're mostly right Yelina, however the C++ Runtime libaries are not an OS component. They are just that-- run time libraries for the Visual C++ programming language. The x86 version and install will work fine under a 64-bit operating system due to WOW64. In fact, it needs to work for 32 Bit C++ compiled software to function. Installing the x86 (32-bit) C++ runtime libraries is good advice here for either flavor of the OS because it is those libraries the game will use. x64 runtime libraries exist for 64-bit compiled, or mixed compilation (ugh) software. DAO is not 64-bit and will not utilize x64 runtime libaries.

Hope that clears it up.

-Chan

Modifié par ChandlerL, 09 novembre 2009 - 05:58 .


#17
Zeluna

Zeluna
  • Members
  • 122 messages
there is a great resource on the web called the DLL Library that can save you if your game is missing DLL's



You should always use the correct installer package (like the C++ runtime update) because it has additional files besides DLL's but some older games just require 1-2 DLL's and they work fine under newer OS's



You can use this web link as a LAST RESORT before calling tech support for any older games compatibility with newer OS's:



http://www.dll-files.com/

#18
Zeluna

Zeluna
  • Members
  • 122 messages

ChandlerL wrote...

You're mostly right Yelina, however the C++ Runtime libaries are not an OS component. They are just that-- run time libraries for the Visual C++ programming language. The x86 version and install will work fine under a 64-bit operating system due to WOW64. In fact, it needs to work for 32 Bit C++ compiled software to function. Installing the x86 (32-bit) C++ runtime libraries is good advice here for either flavor of the OS because it is those libraries the game will use. x64 runtime libraries exist for 64-bit compiled, or mixed compilation (ugh) software. DAO is not 64-bit and will not utilize x64 runtime libaries.

Hope that clears it up.

-Chan


That is correct but you are setting yourself up for more problems down the road installing inappropriate versions of subsystem files. C++ is a subsystem not system files.

Your point is not correct becuase I am running the 64-bit verison of the C++ runtime library update in this example and the game works even tho its 32-bit game. 64-bit software by its very nature is backwards compatible with WOW64 so this point is moot. :)

Even tho apps run in 32-bit, system and subsystem (DirectX, C++, etc) still need to be 64-bit to run correctly in a 64-bit OS. Yes, 32-bit will work becuase WOW64 allows it to but its still not the correct software to install and run.

I can install a really cheap tire on a Porche but what happens when u take a corner real fast and the tires blows and you have an accident?

#19
Shadianna

Shadianna
  • Members
  • 6 messages
My game has not crashed since Ive done this...thanks! Will test more heavily tonight!

#20
Sternie

Sternie
  • Members
  • 2 messages

Yelina wrote...

ChandlerL wrote...

You're mostly right Yelina, however the C++ Runtime libaries are not an OS component. They are just that-- run time libraries for the Visual C++ programming language. The x86 version and install will work fine under a 64-bit operating system due to WOW64. In fact, it needs to work for 32 Bit C++ compiled software to function. Installing the x86 (32-bit) C++ runtime libraries is good advice here for either flavor of the OS because it is those libraries the game will use. x64 runtime libraries exist for 64-bit compiled, or mixed compilation (ugh) software. DAO is not 64-bit and will not utilize x64 runtime libaries.

Hope that clears it up.

-Chan


That is correct but you are setting yourself up for more problems down the road installing inappropriate versions of subsystem files. C++ is a subsystem not system files.

Your point is not correct becuase I am running the 64-bit verison of the C++ runtime library update in this example and the game works even tho its 32-bit game. 64-bit software by its very nature is backwards compatible with WOW64 so this point is moot. :)

Even tho apps run in 32-bit, system and subsystem (DirectX, C++, etc) still need to be 64-bit to run correctly in a 64-bit OS. Yes, 32-bit will work becuase WOW64 allows it to but its still not the correct software to install and run.

I can install a really cheap tire on a Porche but what happens when u take a corner real fast and the tires blows and you have an accident?


Sorry, but you're definitely wrong here.  Even though it's a 64-bit operating system, you're running a 32-bit application.  You need the 32-bit runtime libraries, as you can't just mix 32-bit and 64-bit libraries and executables.  Look through your installed software - I'm sure that the 32-bit versions of the RTE are there somewhere.

Trust me - the libraries have to be compiled for the same target architecture as the executable.  This is also the case on linux - you can't run a 32-bit binary on a 64-bit installation unless you have the 32-bit runtime libraries installed.

#21
Zamav

Zamav
  • Members
  • 37 messages
Simple fact is, if you don't install x86 runtimes for a game that requires it, it doesnt work. Even if you are using x64 OS, you have to install x86 versions as well.

#22
AppendixSE

AppendixSE
  • Members
  • 29 messages
Great fix!



Uninstalled all VC++ redistributables. Rebooted. Installed the one linked in OP. And taada, finaly I can play without crashes :)



Pity Bioware couldn't give this support...

#23
AppendixSE

AppendixSE
  • Members
  • 29 messages
And, FYIO, the ONLY runtime I installed was the one for x64. Game works lote a charm so don't listen to Zamav

#24
Zamav

Zamav
  • Members
  • 37 messages
Quoting Bioware Officials: http://social.biowar...58/index/129194

Dateranoth wrote...

DOWNLOAD 1.01B PATCH AS IT SHOULD FIX ALL ISSUES LISTED HERE! THIS WILL BE UPDATED TO HELP WITH 1.01B PROBLEMS IF NEEDED


This is a small compilation of fixes for the 1.01A version not starting.

Do this if the game won't start after updating to 1.01A:

It looks like the patch was built with a different (presumably newer)
version of the MS VC++ 2005 runtime libraries.

Goto:
Click Here

http://www.microsoft...&displaylang=en

..scroll down to:
vcredist_x86.exe  --> DOWNLOAD ( regardless of whether you are running 32bit or 64bit you need THAT x86 file )

(To confirm you got the right file, you can check the file size; should be approx. 2.61 MB).

Link to Original Post:

Click Here
http://social.biowar...104574/1#104574



You probably already have that x86 file or the game/patch installed it for you.

Modifié par Zamav, 04 décembre 2009 - 07:51 .