AVSIM CTD Guide - 2017
AVSIM CTD Guide - 2017
AVSIM Crash to
Desktop Guide
For FSX/FSX-SE/P3D Users
This guide provides investigative techniques you can try when you get one of those
dreaded crashes while loading your simulator to your setup screen, during the loading to
the flight, or during the flight. It also provides tips on preventing crashes, probable causes,
and some actual fixes that might get you back up and enjoying your flight simulator again.
Table of Contents
Ctrl + Click to follow link to page
Introduction .................................................................................................................................................. 4
Administrative Information ......................................................................................................................... 5
Hidden System Folders ............................................................................................................................. 5
Actions to take if you decide to post a CTD in the AVSIM CTD Forum ....................................................... 6
Actions to take after a crash is encountered .............................................................................................. 6
Download and run AppCrashView ............................................................................................................ 6
Run DirectX Diagnosis (dxdiag) ................................................................................................................. 7
Check the Windows Event Viewer ............................................................................................................ 7
Blue Screen of Death (BSOD) .................................................................................................................... 8
How to fix Most Freezes/Crashes ................................................................................................................ 9
Return to your default configuration ........................................................................................................ 9
Run in Administrative Mode ................................................................................................................... 10
Move/Disable modules in dll.xml ........................................................................................................... 12
Disable/Remove Products Installed with Estonia Migration Tool (EMT) ................................................ 13
Reinstall the latest Standalone Add-on Manager ................................................................................... 13
Use the System File Checker ................................................................................................................... 13
Disable Tweaks........................................................................................................................................ 13
Update Hardware Drivers ....................................................................................................................... 14
Lower overclock ...................................................................................................................................... 14
Remove overclocking .............................................................................................................................. 14
Monitor Virtual Address Space (VAS) ..................................................................................................... 15
Run Process Monitor............................................................................................................................... 16
Check for corrupted user profile............................................................................................................. 19
Check Memory Simms/Modules ............................................................................................................. 20
Use Google or Bing Search Engines [for beginners and power users].................................................... 20
Actions to take to prevent crashes ............................................................................................................ 21
FSX/FSX-SE/P3D Installation ................................................................................................................... 21
Read the AVSIM FSX Basic Configuration Guide ..................................................................................... 21
Read the AVSIM Prepar3D Configuration Guide and Pinned Topics in the AVSIM P3D Forum ............. 21
AVSIM FSX|FSX-SE|P3D
Crash-to-Desktop Guide
Version 4.0.0 – Release Date: June 2017
This is a living document and will be updated from time to time. Please ensure that you are using the most recent
version. You will always find the most updated version at AVSIM. This document is copyrighted by AVSIM Online
and it shall not be distributed or altered in any fashion without prior written authorization from AVSIM.
Introduction -
This AVSIM Crash-to-Desktop (CTD) guide provides investigative techniques you can try when
you get one of those dreaded crashes while loading the sim to your setup screen, during the
loading to the flight, or during the flight. Most importantly, the guide includes tips on
preventing crashes, probable causes, and you may see some actual fixes we found while
searching the Internet and scanning forums throughout the flight simulation community. For
the purposes of this guide, a CTD includes incidents where the simulation crashes, freezes up
during a flight or you receive the nasty Blue Screen of Death (BSOD). Except for some rare
known causes of crashes, each CTD must go through an investigative process and this guide
will provide you with some tools to assist you in finding the cause and taking corrective
actions. We have found some simple procedures you can take that fixes a majority of CTD’s
but, if they do not work, we provide some procedures you can take to investigate the crash.
You must be aware, what “fix” works for many, does not work for all as the crash could have
been caused by an anomaly on YOUR computer system. We hope this guide will be sufficient
and prevents you from the task of uninstalling/reinstalling your simulator, your add-ons,
and/or your operating system.
: FS9 and X-Plane users can usually find causes to their crashes/freezes too by
following some of the guidance here.
Hidden System Folders - Some actions below require opening/moving hidden files located
in hidden system folders. Not to worry, this is not all that complicated. To learn how to
show hidden files in your operating system, go to your Windows Search feature and type in
‘Show Hidden Files’, then look up in the menu and click on Show Hidden Files and Folders
(this works with all Operating Systems) Once you have “Folder Options” open, click on the
“View” tab and you will see the following:
Simply click on ‘Show hidden files, folders, and drives’ and click OK
Now that you can see hidden files and folders, here are the locations of the files you will
need to view:
For the FSX.cfg | P3D.cfg -
• C:\Users\YourUserName\AppData\Roaming\Microsoft\FSX or FSX-SE
• C:\Users\YourUserName\AppData\Roaming\LockheedMartin\Prepar3D
For the Scenery.cfg -
• C:\ProgramData\Microsoft\FSX or FSX-SE
• C:\ProgramData\Lockheed Martin\Prepar3D (includes default dll.xml and exe.xml).
Download and run AppCrashView - 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 as follows:
Run DirectX Diagnosis (dxdiag) – When you have a crash, FSX and P3D will create a file
entitled dxdiag in the same folder as your FSX or P3D.cfg. Double-click dxdiag and look for
problems in this file.
Check the Windows 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 going to the Windows Search Box, type ‘Event’ and then look up in the Menu
and click on Event Viewer. Once open, click on Custom Views > Administrative Events. 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.
Once a related error is found, double-click the error and you will see the report plus the
ability to copy the information to paste in your topic. See the following examples:
: Very important! Once the event viewer is open, click on Custom Views and
then Administrative Events (this provides all events from all Sources).
Blue Screen of Death (BSOD) – if you receive a BSOD, this is more serious and requires
immediate action on your part. Download and run the BlueScreenView program. You can
post a picture of the report using the Windows Snipping Tool (go to your search bar and
search for Snipping Tool for more information about this tool) and upload it to your post,
using AVSIM’s instructions for posting images or provide the Bug Check String and the Bug
Check Code as follows:
Return to your default configuration – Fixes most crashes with any simulator. FS experts
have stated that moving, renaming, or deleting the FSX/P3D.cfg is the same as reinstalling
FSX or P3D:
• Move your simulator’s config to a temporary folder or rename the configuration so
something like FSX.off and P3d.off.
• Move or your FSX scenery.cfg to a temporary folder or rename the configuration to
scenery.off. Do not delete or rename for the P3D Scenery.cfg.
• Move your dll.xml and exe.xml to a temporary folder (they are found in the same
folder as the folder where your simulator’s config is located. For FSX users, this file is
not installed by default and only added when an add-on is installed by some
developers) (see also Move/Disable modules in your dll.xml).
• For P3Dv3 and later users only – the default location of the dll.xml and exe.xml is in
the same folder where the P3D scenery.cfg is located (C:/ProgramData/Lockheed
Martin/Scenery) but some developers still use the old location in the same folder as
the P3D.cfg. Make sure you look in both folders. This file will not be rebuilt so make
sure you save it as dll.xml.off
• Restart your simulator. The appropriate sim config and scenery.cfg will be rebuilt.
You are now in the default configuration of your simulator.
• For Windows 8.1 and Windows 10 Users – place the UIAutomationcore.dll, Version
16386 in the main FSX (boxed) folder. FSX-SE already has a version installed when
you install that program. This is just for FSX (boxed) users.
• FSX (boxed) users only should make sure they have entered the following
parameter in the Graphic Section of the configuration: highmemfix=1.
• If simulator is now working and no crashes, move the dll.xml and exe.xml, if
applicable, in the temporary folder back.
[Main]
User Objects=Airplane, Helicopter
SimObjectPaths.0=SimObjects\Airplanes
SimObjectPaths.1=SimObjects\Rotorcraft
SimObjectPaths.2=SimObjects\GroundVehicles
SimObjectPaths.3=SimObjects\Boats
SimObjectPaths.4=SimObjects\Animals
SimObjectPaths.5=SimObjects\Misc
SimObjectPaths.6=C:\MyTraffic Professional\MyTraffic\Aircraft
SimObjectPaths.7=C:\Program Files (x86)\12bPilot\SODE\data\SimObjects
SimObjectPaths.8=C:\ProgramData\12bPilot\SODE\SimObjects
Run in Administrative Mode – Right click on the FSX, FSX-SE, or P3D icon on your desktop
and select ‘Properties’. You will then see the following screen –
Look all the way down and make sure the Privilege Level indicates “Run this program as an
Administrator”. This will make sure All Users on your computer (i.e., “Your User Name” and
“Default” and any other users on YOUR computer) will have permissions. If you have several
users on your computer, Windows sometimes gets confused when installing new software on
your computer.
NOTE: The examples are for Windows 7 users. There will be slight differences for Windows
8 and Windows 10 users. The key is to make sure the proper privilege level is checked for
all users.
Suspect the latest add-on you installed. Open your dll.xml by double-clicking the file (located
in the same hidden folder as your FSX, FSX-SE, or P3D.cfg. For P3DV3 and later, the default
was changed to the same folder as your scenery.cfg but some developers still use the old
location in the same folder as the P3D.cfg too). Look for the first entry (loading the dll.xml)
and change ‘False’ in the line <Disabled>False</Disabled> to true as shown below (for
P3Dv3 or later users, this line may have to be added).
Once a module is found to be the cause of the crash, look for the module (usually ends with
the .dll extension in your simulators main directory or in the modules own directory, such as
the fsuipc.dll which is located in the Modules folder) and make sure it has been installed and
is not missing. If it is installed, it is probably corrupted or a wrong version and you will have
to contact the developer for assistance (or discuss it in the AVSIM Forums!!).
Disable/Remove Products Installed with Estonia Migration Tool (EMT) – This is also
known as the FSX to Prepar3D Migration Tool. Many products are not compatible with a
simulator or installed properly using the Migration Tool. When you install a product that is
not compatible with a simulator, or improperly installed, your sim will crash even though
utilities, like EMT, indicate the installation was successful. For instance, the EMT was not
developed to legally install several commercial products, such as products developed by
PMDG, FSDT, FlightBeam, ASN, and many products developed by Aerosoft and FlightOne.
When you do install some of these products into a simulator without using the developer’s
official installer, you might, repeat might, be violating their license agreement and the AVSIM
Terms of Service. Furthermore, your simulator will most likely crash.
Use the System File Checker to look for corrupt/missing files (AKA - SFC \scannow)
If you are unfamiliar with the procedures to scan your system, please go to the following link
for procedures depending on your Windows version. Basically, you will use the Windows
Search and search for ‘Run’, look up in the menu and open up your ‘Run’ command in elevated
mode (right click and open with Administrator Rights). You then enter SFC \scannow and
the press the enter key. This program will then scan your system for corrupted or missing
files and replace them if any are found.
Disable Tweaks – If you did not rebuild your simulator’s configuration as above, disable
tweaks that might be causing a problem by opening up the appropriate configuration with
Notepad (double-click the configuration file) and comment out the line items you do not want
to have loaded. To comment out items, simply place two slashes (//) in front of the item(s)
you want to disable. For instance:
//[Bufferpools]
//Poolsize=0
(Note the two slashes before the parameter are Red to emphasize location of slashes. The
slashes will prevent the parameter from loading).
: See the AVSIM FSX Configuration Guide for more information about tweaks.
There is no magic tweak that will eliminate the ‘blurries’, ‘stuttering’ or ‘long pauses’. Tweaks,
when properly employed by a professional computer expert, will reduce some of these issues
but not totally eliminate them.
Update Hardware Drivers – This is important for those who installed Windows 10 as
new and updated device drivers are developed by hardware manufacturers because of bugs
or incompatibility issues. Microsoft sometimes does an excellent job providing updates for
Windows and some drivers, such as for your keyboard, mouse, and video card, but they do
not find updates for hardware drivers required for computer system stability. You can
download and run a third-party program that will scan your computer for updated hardware
drivers. These drivers will be updates for your CPU, your motherboard, USB ports (which
affect your controllers), SATA controllers, SSD’s, HDD’s, printers, etc. There are several
commercial developers who have programs that will scan your system for updates. Just use
the Internet search engines (such as, Google or Bing) for Drivers or Driver Updates and
you will get a list of programs you can download and run. Driver Booster is an excellent
freeware program and recommended. Some of the driver update products are usually
freeware but, when drivers are found to be out-of-date, the software will ask you to pay a
small registration/license fee to download and install the updates for you. You can either pay
or you can get the name of the out-of-date driver(s) from the list provided by the driver
scanner program and then go to Google/Bing and search for the updated driver and install
the driver(s) yourself.
Lower overclock - If your system is overclocked, to say, 4.5GHz, lower it to 4.2GHz. If that
still causes crashes, then lower to 4.0GHz. If that does not work, then you will have to think
about returning the overclock back to the default settings (see next topic). Lowering the
overclock has been known to fix NTDLL.dll and StackHash errors.
Remove overclocking – This should be a “if all else fails, do this” recommendation. Many
crashes are known to be caused by the instability of overclocking (the ntdll.dll or a StackHash
will usually be shown as the offending module). If you did not overclock or using “Turbo
Mode”, skip this suggestion. Too high or too low CPU voltages are usually the cause of
instability. Many members have been known to have run several stability tests after
overclocking only to find that their simulator still crashed and it was later determined the
overclock was not stable. Do not always trust those stability tests! Computer systems always
run into spikes or other anomalies to throw any overclock out of whack. To ensure the crash
was not caused by a bad overclock setting, return the BIOS back to default or optimal default
settings, or, if are knowledgeable of overclocking, you can try to lower or increase your CPU
voltages. Before you do this, most modern BIOS will allow you to ‘Print’ the various pages as
an image to a memory stick or to your HDD/SSD. This is invaluable to help you return to the
settings you had before going back to the default.
VAS usage is displayed in Kilobytes (KB’s). The value represents the amount of VAS left so,
the lower the value, the more VAS being depleted. The max amount of VAS allowed in
computers with 64 bit Operating Systems is 4GB’s if running 32 bit applications like FSX, FSX-
SE, FS9, or P3D. For 32 bit Operating Systems, the max amount of VAS allowed is 2GB’s but
this can be expanded to a max of 3GB’s with a switch like the /3GB switch. (NOTE: For more
information regarding the /3GB switches for various Windows 32 bit systems, please do a
search with a search engine like Google or Bing as most members have upgraded to 64 bit
Operating Systems).
To convert the KB’s to the amount of GB’s, you should use one of the Byte converters on the
Internet like the following: Byte Converter. You will never see 4194304 KB’s displayed as
this equals 4GB’s. You might see around 3GB’s (3145728) remaining when you first start up
your simulator but that too would be unusual. Do not be concerned with the amount of
VAS remaining when you first start up. It fluctuates during a flight session depending on
your settings and what add-ons you loaded.
Run Process Monitor – An investigative tool used to pin down a situation where your
application freezes, crashes, or stutters/pauses during a flight is to run a utility called
Process Monitor. During your flight, this utility monitors activity such as calling textures,
AI aircraft schedules, ATC, weather updates, and scenery loading. When your simulator
stutters or frames per second (FPS) drop dramatically you simply write down the time it
occurred. This is important as thousands of entries are made every minute, every second.
Continue doing this throughout the flight. Of course, if it freezes, you will know what was
going on before the application froze. This utility will not show you a definitive cause of your
issue but it will show you what add-ons were being loaded about when you received
the stutter, the long pause(s), or the freeze/crash and you can further investigate by
disabling that scenery, that aircraft, or whatever might have caused the event.
: Use a second monitor and you can monitor the Process Monitor during the flight
and see what is happening in real time. You can also resize the screens to have your flight
simulator running on the left and the Process Monitor on the right.
: AVSIM recommends you do not run a flight any longer than 60 minutes as
the Process Monitor log becomes quite large (hopefully your application will freeze or crash
by then!). For a 60 minutes flight, expect the file to be at least as large as 8GB’s or tens of
millions of captured events. Make sure you delete the log or move it to another drive after
you have finished your testing to free up HDD space. Another recommended tip is to make
sure you use system time to mark the time of each event and do not use an external clock
unless they are synchronized. Going through one minute of a process is a massive amount
of data needed to be reviewed (it goes fast as thousands of entries just show a scenery being
loaded).
To run this utility properly, you need to capture only your specific simulator’s events. It would
be nearly impossible to find a possible glitch or issue if Windows events or other system
activities were being logged too. AVSIM recommends opening of the Process Monitor when
you are on the active runway and preparing to takeoff to save space on your HDD:
Process Monitor Filter will look like the following image. Note the P3D Simulator is opened in
the background. This is important as the Process Monitor must ‘see’ your simulator process
(i.e., Prepar3D.exe, FSX.exe, etc.).
Process Monitor Filter page after clicking on “Filter” in the Main Process Monitor Page
: AVSIM recommends you click on the filter tab again and then select ‘Save filter…’
and name your Filter – FSX or P3D or FSX-SE, as appropriate). Then, in the future, you can
startup Process Monitor before opening your simulator and watch what is loading as your
application loads to the Startup/Setup Screen.
You can use the utility while in Full Screen mode or Windowed Mode. In Windowed Mode,
you can monitor what is happening instantly.
When the flight is finished (or there is a crash/freeze), immediately click anywhere on the
Process Monitor application to bring it into focus, and hit Ctrl+E on your keyboard. This will
stop the logging. Shutdown/close your simulator and begin investigating! You can also save
the log for future investigations but remember the file could be 8GBs or more and using
valuable disk space depending on how long the session. The log will be in the same folder
where the Process Monitor.exe is located.
Check for corrupted user profile – One possible solution for any crash or freeze is to fix a
corrupted user profile. Many FSX/P3D crashes have been fixed by replacing a possible
Check Memory Simms/Modules (your system RAM) – Some problems have been fixed
by going to the motherboard and removing the memory modules and moving them around in
by putting a memory simm in one slot and moving it to another slot. Of course, if they are
not properly seated, this will cause problems too. You can download and run a program called
CPUID CPU-Z and that will provide you with details about your installed memory.
Use Google or Bing Search Engines [for beginners and power users] - one of the best
ways to fix a crash or freeze is to ‘Google’ or ‘Bing’. These are very powerful Internet and
forum search engines. Every Internet browser provides a “search bar” at the top. Start a
new Tab in your browser and then go to the search bar and conduct a search. Your crash
report will probably indicate a faulting module, such as ai_player.dll, ntdll.dll, StackHash, etc.
You can type this in the search bar plus enter FSX, FSX-SE, or P3D, and then click enter and
you will see hundreds of search results where discussions were made about this module. If
you see an error message, you can type the whole error message in the search box and click
enter. You can also ask a question just as if you were talking to a computer technician such
as, “I was loading FSX and the screen went dark and FSX crashed” or “I was loading a flight
from the P3D setup screen and it stopped loading at 27%” or “I just got a StackHash crash
while using the PMDG 777 in FSX and I was also using Active Sky and photo scenery. What
did I do wrong?” You will be surprised as to what you will find in the search results as
thousands have had the same problem. You just need to sort through the responses for the
best solution. Many of the results will direct you to the Crash to Desktop Forum at AVSIM!
Want to uninstall P3D or FSX? Just ask Google “How do I uninstall FSX?”
Another quick way to search is to highlight the error in a topic or post and then right click
the error and a menu will show up as follows –
Click on the search menu and a new tab will show up in your menu with the search results!
The menu may show another search engine such as ‘Bing’. It depends on what you set as
the default search engine to be used when searching on the Internet. If you selected none,
then all of the available search engines will be shown.
: AVSIM recommends using the following excellent guidance from PMDG for
uninstalling or reinstalling FSX - How to Uninstall/Reinstall FSX. The general guidance in
this guide will work for FSX-SE too. For P3D users, there is a guide to uninstall P3D in the
AVSIM P3D Forum. Of course, the AVSIM Prepar3D Guide will provide valuable
information too!
Read the AVSIM FSX Basic Configuration Guide – for FSX users, us the guidance in the
AVSIM FSX Basic Configuration Guide as it provides the best configuration settings that work
for many FSX users.
Read the AVSIM Prepar3D Configuration Guide and Pinned Topics in the AVSIM
P3D Forum
Use the add-on developer’s product installer – Manually installing a product without
using the installer made for the product is dangerous and not recommended as this causes
many CTD’s and freezes, many unexplained. There are products which supposedly install
software into FSX, FSX-SE, and various versions of P3D without using an official installer made
for the product. Doing so may violate a developer’s product license (for example, PMDG,
FSDT, ASN, and many Aerosoft products). If you have use an external installer to install a
product into your simulator, suspect this as the cause for any CTD, freeze, or other anomaly.
Defragment your mechanical hard disk drives (HDD’s). HDD drives only. When FSX, FSX-
SE, or P3D are installed, files are thrown all over your HDD and fragmented. If you do not
install FSX, FSX-SE or P3D to a Solid-State Drive (SSD), then you must defragment
Set Page File – If you receive warnings that your virtual memory is low (this is NOT Virtual
Address Space (VAS)) you might want to increase the minimum size of your paging file. Your
Windows OS sets the initial minimum size of the paging file equal to the amount of random
access memory (RAM) installed on your computer and the maximum size equal to three times
the amount of RAM installed on your computer.
: AVSIM recommends the Page File be set to ‘System Managed Size’ (default
for Windows Operating Systems). This works best for most users. If you are a computer
expert, you can set your own minimum/maximum settings but be aware that many crashes
are known to have been caused by incorrect settings. Use your Windows search feature and
search for “Page File”. Look in menu and click on “How to Change Size of Virtual Memory”.
Disable startup programs – Many developers install programs that are intended to start up
whenever you turn on your computer. These programs are used by the developer to schedule
updates or run unnecessary processes in the background. They are not needed for the proper
function of the application or Windows and they can all be disabled (even for anti-virus or
anti-malware programs as these programs will continue to run properly). In the Windows
Search box, type ‘msconfig’, then click OK or enter. Once open, click on the “Start” tab.
Disable all startup programs. Reboot your system. Take control of your computer!
Run the DirectX Diagnostic Tool – This tool will check your DirectX, Video Card, and Sound
Card installation and look for errors. Go to the Start button, type dxdiag in the search bar
and then click enter. Review each tab for errors. Fix any errors found. As stated earlier in
this guide, a diagnostic is created when you have a crash in FSX or P3D and it is in the same
folder as your FSX or P3D.cfg.
Disable User Access Controls (UAC) –It is strongly suggested by many to disable UAC
prior to installing any application or add-on. AVSIM recommends keeping UAC disabled while
using your simulator too unless you have your simulator installed in the non-default location
(i.e., C:\Program Files (x86)). An application like your simulator may not work properly with
UAC enabled as there are security controls to prevent some users from access to a file.
Go to Windows Search and type in ‘User Access Controls’ then look up and click on “Change
User Access Controls Settings”. When open, pull the slider to the bottom.
Update Your Motherboard BIOS – Make sure the Motherboard BIOS is up-to-date. The
latest can usually be found on the Motherboard developer’s website, like ASUS, Gigabyte,
Update Microsoft Visuals – This recommendation is mainly for those who use FSX only.
FSX-SE and P3D programs use up-to-date Microsoft Visuals but FSX is a very old program
and requires the older versions. Make sure your Microsoft Visuals are installed properly and
up-to-date. Microsoft Visuals are used by developers to make sure their software is installed
properly and as intended - http://support.microsoft.com/kb/2019667. There is also a Visual
C++ Runtime Installer at the following link that will install them all -
http://www.majorgeeks.com/files/details/visual_c_runtime_installer.html. The latest list of
installed Microsoft Visuals is shown below (FSX (boxed) and P3Dv4) but may change due to
frequent updates.
Microsoft.net Repair Tool – Whenever you get a Microsoft.net error or Microsoft Visual C++
error (faulting module), run the Microsoft.net repair tool.
Install Scenery Configuration Editor – Download and install the Scenery Config Editor
tool. You can use this tool to install or remove your add-on scenery. It will look for any errors
in your scenery.cfg and fix them. You can rearrange the order of the scenery instead of
moving scenery up or down in the Scenery Library. Most importantly, you can use this tool
to disable all of your add-on scenery and enable only the scenery you will be using during a
flight plan. This will reduce your chances of running out of memory because you ran out of
Virtual Address Space (VAS).
Keep FSUIPC Utility Up-to-Date – Make sure you have the latest version of the FSUIPC
Utility installed, freeware or payware (required for some add-ons; traps some FSX crashes
like the G3D.dll CTD; provides VAS usage information; and more).
: AVSIM suggests making a link to your desktop to the FSUIPC.log. This will allow
easy access to the file after completion of a flight and check VAS usage (if you enabled it)
and FPS during a flight. It will also show you any warnings if you are running low on memory
(VAS).
: The FSUIPC Utility is not required to run any of your simulators. The freeware
version will trap most G3D.dll errors in FSX, monitors VAS usage, and provides a log of your
flight simulator session which could be valuable tools to prevent or diagnose crashes.
Before you begin - A known cause for a crash or freeze is rare. As stated in the introduction
to this Guide, almost all crashes must be investigated using techniques in the “How to Fix
Most Crashes” section.
The following known or probable fixes to many of the most common errors were gleaned from
the AVSIM Crash to Desktop Forum and other forums/blogs in flight simulation communities
worldwide. We try to provide some information about the module that most likely caused the
crash or freeze as that information can give you a clue as to the add-on or software that might
be causing the problem.
AI_Player.dll – related to AI and the module that controls your AI (a commercial AI program
or the default).
• A module or modules in the dll.xml is not loading properly. This is the most common
cause. Move your dll.xml to a temporary folder and restart your simulator. If this
fixes the problem, go to the “How to Fix Most Crashes” section above regarding
troubleshooting the dll.xml.
• If you have FS Dream Team, Flight Beam, or Blue Print scenery, the Add-on Manager
is probably corrupted. Reinstall the latest Add-on Manager.
• For FSX - Make sure Microsoft Visual C++ 2005 with SP1, 32-bit version, is installed.
If you remove this Microsoft Visual, FSX will not start.
• Remove, rename or repair the Logbook.bin in your Documents/Flight Simulator X Files
folder (for FSX). For P3D, the logbook is in the same folder as the P3D.cfg.
• See also Freezes When Loading Flight below.
• For FSX/Windows 8.1 or Windows 10 Users – Download and place Version 16386 of
the UIAutomationcore.dll in the main FSX folder.
• Return simulator to default configurations as recommended in How to Fix Most Crashes
section.
• It occurs on a change of frequency (TWR to GND for example) and is associated with
other frequencies used in your plan. Try entering removeatc=yes in the General
section of FSUIPC.INI.
• There are minor issues where the file atc.dll, responsible for containing the viewing
graphics display during game play, encounters errors in displaying multiple image
streams, especially when it renders multiple overlays. If you have multiple displays
and/or multiple Windows open, there is probably a conflict or problem with the
configuration. Troubleshoot.
• Make sure your memory modules in your BIOS are properly configured (i.e., match
timings and voltages as some BIOS have been known to not manage these settings
properly). See CPU-Z, SPD Tab and make sure settings are the same in the BIOS.
BEX (Buffer Exception Overrun) – For more information click on the following link - Buffer
Exception Overrun or Buffer Overrun. See also StackHash and NTDLL.dll discussions.
CTD’s After Long Flights – especially flights over 2 hours and usually during the descent or
landing phases
Control.dll – Delete or rename the config, restart sim and let the configuration rebuild.
D3D9.dll – This is most likely caused by installation of SweetFX or the ENBSeries Modules.
Remove the D3D9.dll modules (there are several) from your main FSX folder. These two hacks
of DirectX files have been popular to many users but found to be the source of several CTD’s.
Most likely the module is not configured properly for your computer system and you should
conduct some searches on AVSIM (the AVSIM SweetFX Forum) and elsewhere for the best
configurations. Several members have been successful in getting these modules to work
properly.
The following ENBSeries files are installed in the main FSX directory and should be moved to
a temporary directory if you are seeing crashes or graphics anomalies: D3d9.dll,
D3dx9_40.dll, D3dx9_26.dll, and ENBSeries.ini.
SweetFX installs the following files that should be moved to a temporary directory if problems
occur: D3d9.dll, D3d9.fx, Dxgi.dll, Shader.fx, and the injector.ini.
• If you have a video card overclocking program like Gigabyte OC Guru, remove or
disable it.
• Check for problem with video card overclock, if applicable.
• Run DXDIAG. Click on your Windows Search and type in dxdiag, and then enter.
Check each tab for errors.
• Make sure you have WHQL drivers installed (this will show up in dxdiag).
• Check keyboard/mouse/joystick connections to any USB port. Move connections to
another USB port if available. Make sure drivers to USB ports and keyboards,
joysticks, and mouse are up-to-date.
Kernelbase.dll – A system file so a problem with your computer system. FSX or P3D just
happened to be running when the event occurred. Related to StackHash errors and NTDLL.dll
errors (see below). No known fix but some have solved this problem by -
Menu Freeze – If FSX freezes while using the FSX Menu, install the UIAutomationcore.dll.
Menu Garbled - Your dll.xml is corrupted. Usually does not result in a CTD but your
application is unusable until this is fixed.
• Run the Microsoft.net Repair Tool – Whenever you get a Microsoft.net error or
Microsoft Visual C++ error (faulting module), run the Microsoft.net repair tool.
• Uninstall FSX SP2 if installed, uninstall it via the Windows Add/Remove program (it will
not remove FSX, just SP2). Restart your system. Reinstall FSX SP2. Restart your
system.
• Uninstall FSX Acceleration if installed, do the same procedure as for SP2 except remove
Acceleration, Restart, install Acceleration, Restart. These actions will not remove your
configuration files like FSX.cfg, scenery.cfg, dll.xml, exe.xml but if you want to be safe,
back them up first.
• If the above does not work, uninstall Microsoft Visual 2005, 2008, 2010, or VS 2013,
as appropriate, using your Add/Remove Programs. Go to the website (see section
above regarding Microsoft Visuals), download and reinstall.
Nvlddmkm.dll – Belongs to NVIDIA Video Cards only. This can be caused by changing video
card's Base Clock Offset or Memory Clock Offset.
Out-of-Memory (OOM) – The following points apply regarding Virtual Address Space (VAS)
• FSX, FSX-SE, and P3DV1-V3 are currently 32-bit applications (P3DV4 is 64-bit).
• 64-bit operating systems, running 32-bit applications are limited to 4GB of VAS no
matter how much RAM (system memory) is installed.
• 64-bit operating systems, running 64-bit applications such as P3DV4 will have
unlimited VAS (up to 8 terabytes).
Panels.dll – Usually fixed by loading the default aircraft first and then the aircraft you want
to fly. This has been fixed by simply restarting the sim.
Sim1.dll CTD – This crash is caused by a corrupted or incompatible aircraft texture, most
likely the latter.
: AVSIM has an excellent forum for SimConnect issues. Please check this forum
and post your problem there.
• Move, delete, or rename your FSX.cfg and let the configuration rebuild.
• If this does not fix the problem, rename your logbook.bin in the My Documents/Flight
Simulator X Files folder and try running FSX again. If that works, then you might want
to download from the AVSIM Library a program called FSX Logbook Recovery 1.1
(must be logged into the AVSIM Library for hyperlink to work) and try to repair the
one you renamed.
StackHash – See also BEX and NTDLL.dll above. There is no module on your computer
system named StackHash so no need to look for it. If the StackHash is shown as the faulting
module, it will have four characters next to it like StackHash_0a9e. That represents the
memory address of where the fault occurred. Do not try to look for it. You will not find it.
Think hard as to what you recently did to your simulator (like installed or removed an add-
on), your Operating System (did you just install a Windows Update?) or computer system
(did you just update the BIOS or change a parameter in the BIOS? Overclock? Install new
hardware? Update video card drivers?).
There is no known solution to BEX/StackHash errors other than reinstalling Windows and
your simulator but some have accidentally fixed their problem as follows -
Terrain.dll - Usually indicates high scenery/terrain settings, especially Autogen. Restart sim
to see if the error reoccurs. Most of the time, the error occurs on a whim.
Visualfx.dll – The visualfx.dll is used to display an effect in your simulator. An effect needed
for an aircraft or scenery may not be located in the Effects folder and, when the effect is called
by the program, it cannot be found and the sim crashes. The CTD occurs mostly with aircraft
not properly installed and/or the default flight (shown in the [Userinterface] Situation= line
in your config) may be corrupted when a new default flight is set up.
VMCX_AP.dll – This has been a problem with AES, VistaMare (a security program for AES)
and SimConnect.
• Removing the VistaMare folder in the sim’s directory and then launching AES help. This
will rebuild the VistaMare files needed for AES.
• May not be compatible, especially with P3D. Disable the ViMaCoreX.dll in the dll.xml.
Check with developer for a compatible update.
Weather.dll –
• Delete wxstationlist.bin (in sim’s main folder in the Weather folder and in the same
hidden folder where the sim’s config) and default.wx (in the Documents\your flight
simulator files folder) associated with your default flight (usually ‘Previous Flight.wx’.
They will be rebuilt.
• Crash can be caused by high settings or a bad tweak (the BufferPool tweak mentioned
most often).
If you have a commercial weather program that has cloud textures or a program that
furnishes cloud textures such as REX, FEX:
• Try lowering settings in REX/FEX and DX5 compression and lower textures to 512 or
1024. This coupled with high settings in your respective simulator’s settings may
produce this crash.
• If you have texture programs like REX/FEX, try reinstalling the theme or textures you
selected.
WHEA BSOD - CPU voltage is set too high or too low. A return to optimal defaults in the
BIOS will usually fix this BSOD.
Window.dll - The window.dll in the main simulator folder is used to take advantage of the
capabilities of DirectX9. When using DirectX9, the simulator calls on the window.dll functions
to automatically minimize, maximize or restore the simulator’s window. For instance, the
function 'WindowInit' is called to whether the window is currently minimized or maximized.
The 'WindowFree' function can set the focus on the window and check whether the window
has current focus. The dll has many more functions.
This error has also been fixed by reinstalling video card drivers (WHQL – no BETA).
xuipc.dll – Ensure Microsoft Visual C++ 2005 with SP1 and 2008 with SP1 are installed (see
discussions regarding updating Microsoft Visuals).
There are many reasons and variables that cause BSOD’s/CTD’s and it would be impossible
to list every situation in this guide. However, if you are aware of an actual fix for a FSX, FSX-