Recommended Posts

Posted (edited)

I haven't had to deal with CTD's since FSX, not really sure how to even begin troubleshooting my issue. Is there a log file from P3D that could give me clues as to what maybe causing it? I get no errors, just straight up CTD, mid flight or on take off. The update to 4.5 was client + content. I haven't done any .cfg deletions, maybe perhaps I should start with that and if so, which one should I nuke?

Edit: Just saw the CTD guide, will read through it and report back.

Edited by Drumcode

Share this post


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

I think this is related to FSUIPC, I will provide everything that I found in the event viewer, let's start with it, 

.NET error

Log Name:      Application
Source:        .NET Runtime
Date:          5/5/2019 8:47:25 AM
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      Simbox
Description:
Application: Prepar3D.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 00007FFCB0EB1068
Stack:

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name=".NET Runtime" />
    <EventID Qualifiers="0">1026</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2019-05-05T14:47:25.141437800Z" />
    <EventRecordID>5998</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Simbox</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Application: Prepar3D.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 00007FFCB0EB1068
Stack:
</Data>
  </EventData>
</Event>

Application error 

Log Name:      Application
Source:        Application Error
Date:          5/5/2019 8:47:25 AM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      Simbox
Description:
Faulting application name: Prepar3D.exe, version: 4.5.11.29713, time stamp: 0x5ca56c53
Faulting module name: FSUIPC5.dll, version: 5.1.5.1, time stamp: 0x5c920d17
Exception code: 0xc0000005
Fault offset: 0x00000000000e1068
Faulting process id: 0x20cc
Faulting application start time: 0x01d503418a87d968
Faulting application path: D:\Lockheed Martin\Prepar3D v4\Prepar3D.exe
Faulting module path: D:\Lockheed Martin\Prepar3D v4\Modules\FSUIPC5.dll
Report Id: f7a5409e-1de4-4464-bfc8-01aba41755f3
Faulting package full name: 
Faulting package-relative application ID: 
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2019-05-05T14:47:25.954262700Z" />
    <EventRecordID>5999</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Simbox</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Prepar3D.exe</Data>
    <Data>4.5.11.29713</Data>
    <Data>5ca56c53</Data>
    <Data>FSUIPC5.dll</Data>
    <Data>5.1.5.1</Data>
    <Data>5c920d17</Data>
    <Data>c0000005</Data>
    <Data>00000000000e1068</Data>
    <Data>20cc</Data>
    <Data>01d503418a87d968</Data>
    <Data>D:\Lockheed Martin\Prepar3D v4\Prepar3D.exe</Data>
    <Data>D:\Lockheed Martin\Prepar3D v4\Modules\FSUIPC5.dll</Data>
    <Data>f7a5409e-1de4-4464-bfc8-01aba41755f3</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>

 

Share this post


Link to post
Share on other sites

In digging more into this some previous application errors were referencing UTL, which I am now only using for GA. Seems like this was reported to them by others. I'll try to complete the flight without it running and see if it bombs. 

Share this post


Link to post
Share on other sites

Tried it again without UTL, it crashes with the same FSUIPC error.  @Pete Dowson Any thoughts on this?

Share this post


Link to post
Share on other sites

Is FSUIPC just for controls or do you have an addon attaching with it? If so try with FSUIPC but run without addons.

Share this post


Link to post
Share on other sites

Thanks Steve. Any idea how can I tell what runs via FSUIPC? I assume this would be things like Radar Contact, CH Yoke? I didn't configured FSUIPC for anything particular. I really have no idea what to start with.

Share this post


Link to post
Share on other sites

I was thinking it could be one of those things acting on FSUIPC to cause the problem. Maybe leave controls as they are for the moment mostly they won't cause it. Perhaps try without RC and anything you can think of disable - take a blind swing at it. You have got the correct version of FSUIPC on there? Check with Pete.

Share this post


Link to post
Share on other sites
On 5/5/2019 at 5:16 PM, Drumcode said:

I haven't had to deal with CTD's since FSX, not really sure how to even begin troubleshooting my issue. Is there a log file from P3D that could give me clues as to what maybe causing it? I get no errors, just straight up CTD, mid flight or on take off. The update to 4.5 was client + content. I haven't done any .cfg deletions, maybe perhaps I should start with that and if so, which one should I nuke?

Edit: Just saw the CTD guide, will read through it and report back.

Hi, any luck with this? I appear to be having a similar problem...

Regards

G

Share this post


Link to post
Share on other sites
21 hours ago, Gandalf said:

Hi, any luck with this? I appear to be having a similar problem...

Regards

G

When do you get a CTD G?

Problems are found quickest by halving the possibilities. Uncheck the addons and try it. Some addons you have might have to be at a correct version level to go with the newer version of P3D check that out. If you applied some modifying apps like shader tweaks you might have to restore to stock. If all fails apply a full clean reinstallation, the stock sim works fine so problems with that could be a problem in the PC whereby a driver might need updating for some item but unlikely.

Share this post


Link to post
Share on other sites

Hi Steve 

Thanks for the reply. The crashes have been happening approx 90mins into a flight. I’m using Active Sky, Rex EF, Radar contact  with the Aerosoft Airbus. No shaders etc. I have Toposim, ORBX global LC and that’s about it.

Haven't posted on Pete Dowson’s forum yet as there are a couple of threads already on the subject and I was waiting for replies to those.

I’ll try paring everything back and see what happens 🙂

Thanks for your help

Regards

G

  • Like 1

Share this post


Link to post
Share on other sites

90mins? Maybe an AI traffic symptom. Sometimes when you come into a remote area some AI might be activating or maybe even a static aircraft could be an issue if it's injected with a problem. Or something tries to remove the model or AI traffic. In the P3D World menu you can uncheck Scenery items and in the Options menu you can uncheck some addons. Then easy to replace them after testing.

Share this post


Link to post
Share on other sites

Potentially, with CTDs, crashes to desktop, whereby the sim stops completely, although not certain, are often the result of an error within software attached to the sim via dll or gauge. Could be worth checking those first.

  • Like 1

Share this post


Link to post
Share on other sites

Is there a list anywhere of add ons that utilise fsuipc?

Share this post


Link to post
Share on other sites

The developer of the software will indicate his software requires FSUIPC if needed.  You can check out his forums on the FSUIPC website and maybe they have a list.  Cannot see them doing that though.  Always make sure you have the latest version of FSUIPC.

Share this post


Link to post
Share on other sites
Posted (edited)

I haven't had enough time to fiddle around with it. I was able to complete a couple of short flights, but only at night and always CTD'ed when I took off at dusk. I need more time to pinpoint my issue, whether it's related to AI, PTA or possibly Radar Contact?

Gandalf, let me know what happens when you install the newest 4.5 hotfix.

Edited by Drumcode

Share this post


Link to post
Share on other sites

There is no known error for CTDs when taking off at dusk.  P3Dv4 could not be the culprit here unless you are getting the error with a clean install of P3DV4 (and I know I have never had a CTD at dusk).  So it is an add-on or utility that is causing this.  The CTD guide has some suggestions for taking off or landing errors in the Probable Causes section.

  • Like 1

Share this post


Link to post
Share on other sites

I am not sure whether I am completely out of the woods, but is seems that deleting Prepar3d.cfg did the trick on my end. I've never deleted it since I installed v4. I'll report when I complete some more flights this coming weekend.

Share this post


Link to post
Share on other sites

That is supposedly number 1 on the list of fixes for crashes in P3D (and FSX).

Share this post


Link to post
Share on other sites
On 5/13/2019 at 2:25 PM, Drumcode said:

.....possibly Radar Contact?

Gandalf, let me know what happens when you install the newest 4.5 hotfix.

Hi, still having problems, also wondered if it was Radar Contact related but then there would be more posts on that?

My crashes now flip flopping between fsuipc and Kernelbase. Have followed the advice in the ctd guide without success.

Looks like I may need to uninstall everything and do a clean Install of windows. Unfortunately my computer is not just used for flight simming so going to have to plan this carefully....

Wish me luck 🙂

Regards

G

Share this post


Link to post
Share on other sites
5 hours ago, Gandalf said:

Have followed the advice in the ctd guide without success.

On the section about the FSUIPC, did you make sure you have the latest version.  A new version is released around the same time as an update to P3DV4.  If you have an older version, it will give you the kernelbase.dll faulting module and the faulting module usually changes to ntdll.dll, then StackHash, and several other reasons for the crash.  Check for double entries in the dll.xml.  This is known to cause crashes.  AI programs can also cause crashes like this.  If the textures are from another sim, like FSX or FS9, it will crash the sim but not all of the time because some flights you may not run into the incompatible AI textures.  There are so many reasons for a crash.  Once, it literally took me a month to figure out the causes for my crashes.  It turned out to be one simm that was bad.  All four simms did not indicate any problems whatsoever and programs like AIDA64 Extreme saw no errors.  But, if I ran an AIDA64 Extreme benchmark on the simms, the benchmark would eventually crash.  Fortunately the two I removed had the one module that was bad.  No errors, no crashes whatsoever since then.  One bent pin under the CPU will also cause periodic crashes.  Do you have these issues too?  Probably not but wanted to let you know there are a multitude of possibilities for a crash.  You can reinstall P3D and Windows as often as you want but if you have bent CPU pin or bad memory module or a bad overclock, you will get periodic crashes and sometimes the sim will crash 100% of the time.

I suspect you can blame P3D for all of your crashes as you can see above, the memory simms were all working great until I used a benchmark program or ran P3D where P3D uses the CPU more than the GPU to run the application.  If I had moved all of my P3D.cfg settings to the lowest, I probably would have been okay. 

The AVSIM CTD Guide provides a lot of suggestions but rarely contains any solutions to a crash.  To come up with the suggestions for the kernelbase.dll crash, I looked at every Flight Simulation website around the Internet and found these suggestions helped others fix their problem. So I put the suggestion in the Guide too.  The next version will probably not have these suggestions as I have found the suggestions did not work for any AVSIM member.  The best solution is to go to page 9 and follow the guidance to fix almost every crash or freeze in P3Dv4.5.  P3DV4.5 will run flawlessly on my system with default scenery and aircraft and default configuration.  With that setup, I can get over 300fps easily.  If I add one add-on, the fps suddenly dive around the 50-60 fps.  Everyone has to investigate there issues and the AVSIM Guide provides some suggestions to help you investigate.  You are not losing your P3D.cfg settings as the suggestion is to rename it to P3D.off.  It will be rebuilt after you restart your sim.  The dll.xml and exe.xml will also be rebuilt if you save the file to dll.off, exe.off (this is just for the one located in the same folder as your scenery.cfg.

If your sim does not have any crashes when you rerun the flight scenario, then the issue was with the P3D.cfg or the dll.xml in the same folder as your scenery.cfg.  If you are using the same P3D.cfg used for previous versions of P3D, you risk having a lot of crashes.  LM techs constantly modify the p3d.cfg to make your sim run better.  Can you believe I accidentally found the CMeteo.dll, the weather radar for Carenado, works great in nice weather.  But, if you have nasty storms with lightning, it will crash the sim within 5 minutes.

Getting off my soapbox, but everyone needs to investigate, investigate and investigate!  Only way you will fix YOUR problem.

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