Dasm

FSX Freezes (hangs) Mid-flight.

Recommended Posts

Hey guys, I know I know for sure this has been brought up a million times- I know because I've googled it before- Yep, I googled my problem before coming here with it and I've done some digging over the past few days and the ONLY suggestions I've seen were the "uiautomationcore.dll" fix. Well, I tried it and it didn't work for me. So I ask you Mr./Ms. Avsim community- Before I go re-installing Windows and re-installing FSX and addons bit by bit, help me with the first tech support query I've had since I became a member 5 years ago (Yep, first problem I couldn't sort on my own with google research :P).  I'll give you a rundown of the problem I'm having and all of the relevant information.  

 

I had FSX installed with a boatload of Addons- ORBX, FTX, PMDG stuff- install folder was something like 150GB- FSX started getting really screwy (losing textures, textures going black with only clouds visible it was a mess (especially happened when alt+tabbing)) - Couldn't come up with a solution online so I did a uninstall of FSX- BUT before I did that I made a mistake and I deleted the entire FSX folder first- So I had to repair FSX through the installer effectively re-installing it, and then I uninstalled it again before installing my current install.

 

   SO, what addons am I running now? I figured I would keep it lite, so I'm just running Air Hauler with FSUIPC, Captainsim's 727, MILVIS's 737-200, Ultimate Traffic 2, DBwalk and follow, and FSrecorder.

 

  So what triggers the hanging. Usually I'm an hour or so in flight before it happens, I'll be up at cruising altitude and boom- the sim freezes up and the sound keeps playing- Alt-tabbing or alt+enter doesn't work to bring me back to desktop, I have to ctrl+alt+delete.

 

  I've tried rebuilding fsx.cfg and several config edits including bufferpools, highmemfix, and affinity mask- no joy.

 

  Thanks for hearing me out, hopefully I can get some solid answers and maybe it will help someone like me in the future.

  • Upvote 1

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Have you checked in your Windows Event Viewer for Errors?  Possibly Faulting Modules that may point to

 

something more definite?

  • Upvote 1

Share this post


Link to post
Share on other sites

It would be in Administrative Events.

 

Control Panel-> Administrative Tools-> Event Viewer, select Custom Views-> Administrative Events.
One of the listed events will be for your CTD. The "Faulting Module" should point to the problem area.

Tell us what the Faulting Module is! That will point us in the direction of the proper error, aiding in troubleshooting.


BELOW IS A SAMPLE OF WHAT YOU MIGHT SEE!

General Tab:
Faulting application name: fsx.exe, version: 10.0.61637.0, time stamp: 0x46fadb14
Faulting module name: This is what we need to Know!<---------------------------------------------------------<<<
Exception code: 0xc0000005
Fault offset: 0x0000ee3a
Faulting process id: 0x748
Faulting application start time: 0x01ce0253dc4b69d4
Faulting application path: R:\FSX\fsx.exe
Faulting module path: R:\FSX\window.dll
Report Id: 9caf77b4-6e50-11e2-8570-3085a99825d1

If there is not one listed:
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000,
you will need to do as previously noted


No Faulting Module? ->
Remove all of the add-ons, and test the sim. If it works OK, then reinstall them one at a time and test.
Be sure to test each thoroughly before moving on to the next


 

Share this post


Link to post
Share on other sites

The only faulting modules I see are Schannel and Security-SPP- I'm not getting a CTD, it just stays frozen

And Dazkent, I will try it.

Share this post


Link to post
Share on other sites

If you leave the sim for 8 mins does it come back to life?

 

Hey! It did come back to life! it was 5-8 minutes after it froze too. For testing I was doing a flight in the default 747 from seattle to tokyo- and then 6 hours and 22 minutes into the flight it locked- then it came back.

EDIT- I just read that this problem may be remedied but limiting the FPS externally, I will attempt to accomplish this with nvidianspector, will update when the flight from Seattle to Tokyo is complete, watch this space.

EDIT EDIT- nope, that didn't work- digging deeper, going to attempt rolling back Nvidia driver version.

Share this post


Link to post
Share on other sites

Before you go reinstalling, check out this thread

 

http://www.avsim.com/topic/432227-8-minute-freeze-in-777-possible-solution/

 

It is possibly a sound driver issue. If that thread doesn't help google fsx freeze sound driver and have a snoop around.

 

Sorry I can't be more specific - i had this problem a while ago and updating my sound driver did the trick. Of course different setups may require diffeent solutions but IMO a reinstall probably won't fix anything - but this might.

Share this post


Link to post
Share on other sites

Before you go reinstalling, check out this thread

 

http://www.avsim.com/topic/432227-8-minute-freeze-in-777-possible-solution/

 

It is possibly a sound driver issue. If that thread doesn't help google fsx freeze sound driver and have a snoop around.

 

Sorry I can't be more specific - i had this problem a while ago and updating my sound driver did the trick. Of course different setups may require diffeent solutions but IMO a reinstall probably won't fix anything - but this might.

I'm in the process of running tests- I'm suspecting UT2 so I'm testing a flight with it turned off. I rolled back my Nvidia driver and that didn't help with the freezes, but OHHH MY GOD! I got a %500 (not exaggerated) increase in performance- seriously, no .cfg tweak has ever worked as well as this older video driver has. 

Share this post


Link to post
Share on other sites

Hey! It did come back to life! it was 5-8 minutes after it froze too. For testing I was doing a flight in the default 747 from seattle to tokyo- and then 6 hours and 22 minutes into the flight it locked- then it came back.

EDIT- I just read that this problem may be remedied but limiting the FPS externally, I will attempt to accomplish this with nvidianspector, will update when the flight from Seattle to Tokyo is complete, watch this space.

EDIT EDIT- nope, that didn't work- digging deeper, going to attempt rolling back Nvidia driver version.

 

Do you happen to use ASN for your weather?, i used to have this freeze issue but found having the affinity mask setting in the CFG file stopped the problem

Share this post


Link to post
Share on other sites

Do you happen to use ASN for your weather?, i used to have this freeze issue but found having the affinity mask setting in the CFG file stopped the problem

 

 I believe it may be UT2 traffic injection causing the freeze, I flew 2 flights with it disabled having no freezing incidents- one flight from Seattle to Tokyo and one from Auckland NZ to Brisbane AU

Share this post


Link to post
Share on other sites

Sounds like you might have it fixed but according to the AVSIM CTD Guide (see link in my signature):

 

Freezes During Flight – Freezes are most commonly caused by –

  • High application/display driver settings.  Check.
  • High settings within commercial weather programs like REX, ASN, and OPUS.  Check. Some raise settings to the highest texture settings (4096 HD) within weather programs and/or texture programs like REX. This coupled with high applications LOD_Radius and Texture_Max_Load settings may take up too many resources and application will freeze.
  • Complications with weather server updates.  Application may try to update the weather and the weather server is down or cannot comply with a request.
  • Running out of Virtual Address Space (VAS) especially on one hour or longer flights (see VAS/OOM discussions).
  • Bad tweaks.  BufferPools and or Affinity Mask are most often attributed to freezes. Rebuild the application configuration to see if this fixes the problem or disable the tweaks.
  • ENBSeries Module – DirectX hack for better visuals.
  • SweetFX Module – DirectX hack for better visuals.

Best regards,

Share this post


Link to post
Share on other sites

Strange, It happened to me again on a relatively short flight- I recently re-installed my windows operating system, this morning in fact. I am running no custom weather services, my graphics card is a pretty modern one with 4GB of GDDR5 memory (and I haven't installed any custom Nvidia setting), I have not applied any .cgf tweaks, and I have not added any graphics enhancement mods to my installation. Fun fact, when I checked processes, I noticed that during the freeze 3 of my 6 cores were pegged at 100% and the other 3 cores were being lazy with only ~15% utilization each.

 

Another person on these forums said this: 

"If your computer contains Realtek High Definition drivers (codecs) for a sound chip on your MB, your drivers may be corrupted.  This WILL cause the infamous FSX freeze.

 

If this applies to your situation, go to the Realtek website and download the applicable drivers for your system (for example: in my case, it is Win 7 64 bit). 

 

I can factually state that corrupted sound drivers were causing FSX to freeze every time I flew.   When I installed the updated, current drivers, the problem was fixed."

___________________________________________________________________

 

    I happen to have on board realtek audio, so I will go ahead and try this fix. 

Share this post


Link to post
Share on other sites

Thanks for posting a possible solution for your problem.  Could help someone else.  So many variables with every computer because I use an external sound card (Creative) and never use the on-board sound and graphics device(s).  I do recommend in the AVSIM CTD Guide that everyone download a freeware driver download program that will scan your system for driver updates and, if it finds any, you can go and get the updates manually or register the program for a small annual fee and have the driver updater program do the updating.  This solution has worked fixing many FSX freezes and crashes but never knew specifically about the realtek codecs causing problems.  I use a driver updater and occasionally get pinged to download the update for Realtek but I don't do it as I use my own sound card. 

 

Best regards,

Share this post


Link to post
Share on other sites

So I don't forget, I'm using an ASUS motherboard that uses on board Realtek audio- I am currently updating to Revision 2.79 of the Realtek drivers. Will update this post in 2-ish days if no subsequent freezing occurs, or immediately if freezing persists. Side note, I use on board audio for communication devices and my sound card for speakers.

 

**EDIT** First flight and I got a freeze shortly after takeoff, and 2 of my CPU cores were pegged at 100% this time and the others were lower, around 15%- Further research is required.

Share this post


Link to post
Share on other sites

Have you checked all of your drivers to make sure they are up-to-date?  I recommend Driver Booster.  It's free.  You just reinstalled Windows and I can almost guarantee you have tons of drivers out of date as Windows does not update most of them.  Your HDD/SSD controllers are very important.
 

First flight and I got a freeze shortly after takeoff, and 2 of my CPU cores were pegged at 100% this time and the others were lower, around 15%- Further research is required.

 
What was the scenario?  ASN heavy weather?, in/around Chicago?, PMDG 777?  Sounds like you are playing with Affinity Mask - Ugh! 
 
So, how come you are not posting an AppCrashView or a report from your Event Viewer as suggested in Post#4?  From the AVSIM CTD Guide (and from the pinned topic above):
 

AppCrashView (click to download) - when you get a CTD, a Windows Error Report (WER) is generated by Windows.  This report is not very detailed and Microsoft did not make it easy for you to find or interpret the report.  AppCrashView interprets the Microsoft WER reports and provides more details. If you post a CTD in the AVSIM CTD Forum, you should copy and paste the latest crash report in your topic or post.  Along with this, include your system specifications (if not already included in your profile).

 

Check the Windows 7/8 Event Viewer – The Windows Event Viewer can provide a wealth of information regarding your CTD or information about your crash that may not have been recorded in a Windows Error Report.  Plus there could be other problems being reported that need to be fixed that could be causing your application crashes. You can get to your Windows Event Viewer by clicking on the Start Button and, in the Search box, type Event and then look up in the Menu and click on Event Viewer or use the guidance at the following link - Opening Windows 7 Event Viewer. Windows 8 users should follow the guidance at the following link: Opening Windows 8 Event ViewerOnce the event viewer is open, click on Custom Views and then Administrative Events (this provides all events from all Sources).

 

The Summary of Administrative Events will show you the various types of “Events”.  Critical (which should be fixed as soon as possible), Error, and sometimes Warning Events are what you should be interested in.  Administrative Events will show you everything that happened to your computer each time you turned it on and while it was running from the day you installed your Windows OS. 

 

If you are using any tweaks in your FSX.cfg, then that is most likely the problem.  Do not use tweaks (other than change LOD_Radius to 6.5 and Texture_Max_Load to 2048 or 4096).  Make sure you have the HighMemFix=1 fix in the Graphics section as stated in the AVSIM FSX Configuration Guide.

 

Best regards,

Share this post


Link to post
Share on other sites

As I stated earlier, I am using no .cfg tweaks except HIGHMEMFIX=1 and no weather or graphics mods. I checked all of my drivers, and all of my temperatures are nominal. The scenario of the freezes (freezes, not crashes, no event viewer logs are available). In flight, at cruise, just watching the scenery go by. I do have an update though-

 

   I was running unlimited framerates and I was receiving 70-100 frames per second, I set Nvidia nspector to limit framerate to 30 and I haven't had any of these freezes since- I will keep updating, especially if I experience more of the freezing.  

 

EDIT- Nope, still a freeze

EDIT EDIT- Downloaded Driver Booster, and there are some extremely old IDE and SATA drivers present, will update and hope for the best.

Share this post


Link to post
Share on other sites

I updated the drivers.. apparently it wasn't Realtek drivers that my motherboard used but something called VIA- ANY ways, long story short, I've flown several medium haul missions and until now have had no more long freezes except something weird, getting short pauses when I or AI talks to ATC, but I'm sure that has to do with editvoicepack.

 

SO to be clear, my issue seems to have cleared up after updating ALL of my drivers with the Driverbooster application

Share this post


Link to post
Share on other sites

I have my fingers crossed.  Updating the hardware drivers has fixed freezes/ctd's for many.  I would suspect this is even more important as individuals update to Windows 10 which require drivers for that OS.

 

Best regards,

Share this post


Link to post
Share on other sites

Absolutely no problems after updating drivers, its is very possible that I was thinking realtek drivers, but the driver program I downloaded indicated and updated drivers for "VIA". Consider the problem resolved.

Share this post


Link to post
Share on other sites

I am posting this for the sake of anyone who uses WizMouse (GREAT program), so they might not have to go through what I have, BUT, if you read through, it has to be more than WizMouse on other systems.

My issues were a bit unique in that the sim did not CTD.  What DID happen is that when I would click on a menu option, the menu option would open, but although you could click on things and the buttons would light up and respond as normal, NOTHING happened.  Beyond that, the only way to kill the sim and get out of that window was to call up the task manager with ctrl+alt+delete and force it to close.  So, I could fly for as long as I wanted, no problems, but as soon as I wanted to do things like open up the map, save flights, switch aircraft/airports, etc., the sim froze. HUGE BUMMER.  

I spent the last 9 months not being able to have a normal experience with my simulator and it has driven me nuts! I have researched so many things and have done everything from repairing my OS (win7 x64, notorious for this kind of thing), to uninstalling and reinstalling (more than 10 times) in different locations, with various tweaks, on and on and on.  

So I had some time this week and decided to try again...and again...and FINALLY zeroed in on WizMouse.  I disable it and there it was, problem free!!  Now the problem here is that I also installed FSX on my laptop that is also win7 X64 AND also has WizMouse installed.  The sim did not freeze on me there, so...??  Clearly there are more variables than FSX, windows 7 x64 and WizMouse.  What they might be, I have no idea, but I wanted to post my experience because in my research over the last year, I have read SO many variables where things like the UIautomationcore.dll replacement and installation outside of Program files x64 had no positive results.  I hope this helps someone because this stuff happens enough to where anyone like me who has banged their heads against the wall for almost 9 months, with many hundreds of dollars of software installed, not being able to enjoy it to its fullest...yeah.  

Share this post


Link to post
Share on other sites
On 1/15/2016 at 4:31 PM, charliearon said:

I am still new here and not sure what I did, but this is Avalon quoting and commenting:  Thank you Charliearon for posting this because it helped me to narrow down what I was able to find as the issue.  I am paying it back as best I can.  

Have you checked in your Windows Event Viewer for Errors?  Possibly Faulting Modules that may point to

I just responded at length about my solution that had to do with WizMouse but thank you for this because it helped me to eliminate things and whittle it down to the culprit.  I kept running it and no errors arose.  

something more definite?

 

Edited by Avalon
My comment was missing after posting

Share this post


Link to post
Share on other sites
On 1/15/2016 at 10:40 PM, Dasm said:

I'm in the process of running tests- I'm suspecting UT2 so I'm testing a flight with it turned off. I rolled back my Nvidia driver and that didn't help with the freezes, but OHHH MY GOD! I got a %500 (not exaggerated) increase in performance- seriously, no .cfg tweak has ever worked as well as this older video driver has. 

Thanks for this post.  This also helped me narrow things down very heavily.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now