• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Everlasting ucrtbase.dll error in P3DV5.4

Messages
43
Hello,
first of all:
all my drivers are up to date
I have Intel(R) Core(TM) i7-4820K CPU @ 3.70GHz 3.70 GHz
Nvidia Geforce GTX1070
Win10
P3Dv5.4.


I use CS, AS, PMDG and QW and ORBX products and AS weather engine, I have no traffic tools installed. AI traffic is switched to off. I have ship traffic switched to on, and addon ai ships.

I have set AdaptiveSimGroupEnable=False in sim.cfg

So the problems are as follows, some times at airports, when the scene is loading, no matter what aircraft, when the load screen is at 100%, I have a direct CTD. Some times it happens only at night. When I switch on the AI Traffic (aircraft) it is more likely to happen but also without any AI traffic activated. The sliders in Graphics are not maxed out.

Recently, I loaded a flight with the CS L1011 at EDDL from justsim (all latest versions), ORBX Germany north installed. AI traffic deactivated. I did a wrong click somewhere in the VC, and again I had a CTD...That's only one example, and I more and more get annoyed, as I cannot figure out the reasons...
How can I analyze what's causing this and troubleshoot?

Here the latest CTD log:

Name der fehlerhaften Anwendung: Prepar3D.exe, Version: 5.4.9.28482, Zeitstempel: 0x6463925f
Name des fehlerhaften Moduls: ucrtbase.dll, Version: 10.0.19041.3636, Zeitstempel: 0x81cf5d89
Ausnahmecode: 0xc0000409
Fehleroffset: 0x000000000007286e
ID des fehlerhaften Prozesses: 0x696c
Startzeit der fehlerhaften Anwendung: 0x01db3420cae5d6fb
Pfad der fehlerhaften Anwendung: D:\Prepar3D v5\Prepar3D.exe
Pfad des fehlerhaften Moduls: C:\Windows\System32\ucrtbase.dll
Berichtskennung: ecdeb5a6-7fad-4513-ba31-5946ae99db73
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:


 
That's a stack buffer overrun error code. That means some piece of software misbehaved. I have never seen a stack buffer overrun with my P3D v5 installation. The DLL is the part of the Windows 10 SDK (26624). This means that your system may not have the correct ucrtbase.dll that some addon's code was written with.
 
That's a stack buffer overrun error code. That means some piece of software misbehaved. I have never seen a stack buffer overrun with my P3D v5 installation. The DLL is the part of the Windows 10 SDK (26624). This means that your system may not have the correct ucrtbase.dll that some addon's code was written with.
So, what would you suggest? Shall I replace the ucrtbase.dll? I get this error almost with every P3Dv5 session sooner or later, for example when changing to another airport once the flight was loaded. I cannot count the ucrtbase errors any more....
 
Try a chkdsk repair. This assumes that your Windows installation is on drive C:. If not, change the drive letter

1. Open a command prompt with Administrator privileges (otherwise this won't work)
2. Enter the following: chkdsk c: /f
3. You will be told that the command will be executed at the next reboot
4. Reboot and wait while Windows does a self-check and repairs any damaged system files that it finds. It does not affect any other program that you have installed.

If that fails, go to microsoft.com and download/install the latest version of the Windows 10 SDK.

If that fails, then it's a third-party software that is playing up and I'm not able to help further. You will need to start uninstalling software starting with the last package you installed and work backwards until you identify the faulty software.
 
Try a chkdsk repair. This assumes that your Windows installation is on drive C:. If not, change the drive letter
-I have done this allready, there is no damage or corrupted file found. Anyway, are you sure the chkdsk will find or detect an erroneus runtime library like ucrtbase.dll, if it is erroneus at all? I will try to reinstall the Win10 SDK, if this is possible at all...

With P3Dv5.3 I never had this lot ucrtbase.dll errors as I have with 5.4. But in the meantime I also have reset up my PC new, maybe the WIN10 install is missing some files, or their versions are not correct...

Could you recommend a thrustworthy source where I can download the ucrtbase.dll file exclusively?
 
Last edited:
Ok, here's the "problem"...

You're getting a stack buffer overrun from within the ucrtbase.dll. That file is being used by one or more addons. Said addons are compiled based on a given version of ucrtbase.dll that the developer chose to use (we don't know which one). Only the developer can easily (relative term here!) resolve this so you can know exactly what version of ucrtbase.dll (which is only installed by the Windows 10 SDK) you need. There is more than one Windows 10 SDK version. On my development system, I have 4 different versions of the Windows 10 SDK.
 
Ed: I think it's possibly an earlier 32-bit version of ucrtbase.dll that's causing the problem as the L-1011 is advertised as being suitable for FSX, FSX-SE and Prepar3D (no date nor number, so assuming pre-P3Dv4). In theory it should be compatible with P3D v5.x, but who knows? (shrugs). I have to pass this one to you: iirc (note: if) all aircraft are loaded at startup, so if the L-1011 is making calls for an earlier version of ucrtbase.dll...?
 
This is only one example of my countless ucrtsbase.dll errors, in this case, normally the CS L1011 is running ok, but this time I cliqued a wrong spot in the vc, and I had an immediate freeze and CTD. Other example, when allready having loaded a flight, no matter what location or what aircraft, if I try then to switch to another location, and once the scenery is loadad at 100%, I get a CTD ucrtbase.dll error every time...
 
Can't be a 32-bit version... it's a 64-bit sim being used.

If you don't use any addon aircraft (something default instead) and play around in the sim... do you still get the crashes?
 
Additionally, what happens if you remove all add-on aircraft? If the crashes stop, add them back in one-by-one until you find the culprit(s).
 
Here ist the latest error (it's german), I really don't know any more where to look for:

Protokollname: Application
Quelle: Application Error
Datum: 24.11.2024 20:16:19
Ereignis-ID: 1000
Aufgabenkategorie:(100)
Ebene: Fehler
Schlüsselwörter:Klassisch
Benutzer: Nicht zutreffend
Computer: DESKTOP-3VB6CK2
Beschreibung:
Name der fehlerhaften Anwendung: Prepar3D.exe, Version: 5.4.9.28482, Zeitstempel: 0x6463925f
Name des fehlerhaften Moduls: ucrtbase.dll, Version: 10.0.19041.3636, Zeitstempel: 0x81cf5d89
Ausnahmecode: 0xc0000409
Fehleroffset: 0x000000000007286e
ID des fehlerhaften Prozesses: 0x4684
Startzeit der fehlerhaften Anwendung: 0x01db3ea1368c8b92
Pfad der fehlerhaften Anwendung: D:\Prepar3D v5\Prepar3D.exe
Pfad des fehlerhaften Moduls: C:\Windows\System32\ucrtbase.dll
Berichtskennung: 247a3422-5541-48e4-bb71-cb238902176e
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:
Ereignis-XML:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>100</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2024-11-24T19:16:19.6370482Z" />
<EventRecordID>17354</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>DESKTOP-3VB6CK2</Computer>
<Security />
</System>
<EventData>
<Data>Prepar3D.exe</Data>
<Data>5.4.9.28482</Data>
<Data>6463925f</Data>
<Data>ucrtbase.dll</Data>
<Data>10.0.19041.3636</Data>
<Data>81cf5d89</Data>
<Data>c0000409</Data>
<Data>000000000007286e</Data>
<Data>4684</Data>
<Data>01db3ea1368c8b92</Data>
<Data>D:\Prepar3D v5\Prepar3D.exe</Data>
<Data>C:\Windows\System32\ucrtbase.dll</Data>
<Data>247a3422-5541-48e4-bb71-cb238902176e</Data>
<Data>
</Data>
<Data>
</Data>
</EventData>
</Event>
 
Have you tried what we suggested regarding using only stock aircraft to see if you can narrow down it's not stock, and then load each addon one at a time until you find the misbehaving addon??
 
Have you tried what we suggested regarding using only stock aircraft to see if you can narrow down it's not stock, and then load each addon one at a time until you find the misbehaving addon??
I will try, however I have a lot of addon gauges directly in the sim gauges folder installed, so it will be hard to revert to a default status...
 
Gauges don't load unless they're in the active aircraft's panel.cfg... so, they should be ok.
 
Back
Top