Random CLR.dll Application error crash [Solution | How to avoid ]
This crash is very random and comes from multiple sources,I'll mention below all the causes for this that i have so far discovered.
Event viewer log
Log Name: Application
Source: Application Error
Date: 5/26/2018 6:46:37 AM
Event ID: 1000
Task Category: (100)
Faulting application name: GTA5.exe, version: 1.0.1365.1, time stamp: 0x5aa85154
Faulting module name: clr.dll, version: 4.7.2650.0, time stamp: 0x5ab1c520
Exception code: 0xc00000fd
Fault offset: 0x00000000005dcaec
Faulting process id: 0xda0
Faulting application start time: 0x01d3f4ff8b8189d5
Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\GTA5.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Report Id: 971126c9-60f3-11e8-a8c6-086266c6c77b
<Provider Name="Application Error" />
<TimeCreated SystemTime="2018-05-26T14:46:37.000000000Z" />
<Data>C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\GTA5.exe</Data>
It doesn't always read as "clr.dll",sometimes you'll have it like this:
This bug for some reason effects semi trucks,trucks,pickups and SUV's.
Here is a WIP list for vanilla edit and lore friendly vehicles that cause this crash(big thanks to @Carrythxd for finding most of them):
- Canis Bodhi
- Bravado Duneloader
- Brute Roadkiller
- Brute Trashmaster Classic
- Declasse Yosemite Retro
- HVY Barracks Classic
- HVY Barracks Flatbed
- HVY Biff
- HVY Sturdy
- HVY Sturdy Flatbed
- HVY Sturdy Semi
- H-27 HYDRA 4 Rocket
- Jobuilt Haulmaster
- Jobuilt Haulmaster Flatbed
- Jobuilt Juggernaut
- Jobuilt Longpath T1000
- Jobuilt Hauler Classic/Classic XL
- Karin Rebel
- Karin Rusty Rebel
- Maibatsu Mule
- Maibatsu Mule Recovery
- Mammot Patriot
- Mammoth Patriot Classic
- MTL Pounder
- MTL Ramvan(Civilian Dune & Brickade)
- MTL Flatbed
- Vapid Yankee
- Vapid Contender
- Updated Vapid Contender(Stock Model)
- Vapid Sadler Dually
- Vapid Sandking XL Dually
- Western Company Cuban 800
- Western Company Weaponized Besra
- Civilian Western Besra (With Lights)
The method on how to find out if the vehicle has this bug is by spam spawning the vehicle via AddonCarSpawner by I'm Not MentaL.
NOTE: We haven't tested any real life vehicle mods but I'm guessing the same thing applies.
2-Vehicles that spawn in-game.
Make sure none of these bugged vehicles mentioned above are used to spawn in-game,either as Addon or replace via vehiclemodelsets or popgroups etc(if you add them via custom cargen then it's fine since that won't make it spawn in traffic).
-Some gameconfig's simply cannot handle the extra addon's which leads to this random crash.
-Some gameconfig's increase the amount of vehicles and peds causing the game to stress and crash.
Both issues will lead to a clr.dll crash.
Be sure to have all the following installed:
Recommended gameconfig by Dilapidated which you find up to date within these mods:
Do not use outdated mods,especially mods that go into "update.rpf".
5-Mods that conflict with each other.
-Some mods might execute the same order which leads to the game crashing or simply causing a conflict somewhere in the game.watch out from scripts that involve police AI/system.
That's quite the list there. Yet most of those are in my popgroups and yet I certainly don't suffer from crashes that frequently
I suspect it's more a game memory performance issue rather than those models perse?
CLR.dll and all the stuff I'm seeing from the crash refers to something related to the .NET framework, and SHVDN/RagePluginHook are the only 2 things that use the .NET framework
ScriptHookV, RagePluginHook and ScriptHookVDotNet usually cleanly catch any exceptions/access violations happening within the scripts executed by them, unless the script messes around in the game memory.
Well a crash is a crash frequent or not and when it comes to this crash as i have mentioned "This crash is very random" it can crash the game just after seconds on startup or after 6 hours.
every single thing listed in there causes the game to crash with a clr.dll error.
Do the method i mentioned using the Jobuilt Hauler Classic XL it's the fastest to crash,have a look yourself.
Actually i ran a test where i had SH and SHDN removed from the game and it still crashed randomly with clr.dll and i don't even use RagePluginHook .
if you want to see for yourself use the method mentioned on how to trigger this crash with those bugged vehicles.
Something i did not mention,I've spent over 3 months of my free time trying to locate the cause of this cursed crash,removing files,swapping files,running the game with one mod at a time etc,with each test ran the game for hours and hours,it will eventually crash between 4 hours to 6,every single thing mentioned above is confirmed to cause a clr.dll.
I have started to get this error in event viewer and I do have Fox's Hilux replace on karin technical.I will try it out removing it now...The clr.dll belongs to a old .net and hence cant be installed again but repaired via new ones...Hope to have my game fixed
Alright I did delete Karin technical from my spawn list but the game did crash.This time I had 2 error in Event Viewer.First .net Framework v4.0.3319 crashed due to GTA V having a unhandled exception and then GTA V crashed due to faulting module name GTA 5.exe. All the mods are updated ones btw. I will try repairing .net framework........
@JRod THANK YOU for this, man. I'm absolutely going to try testing this out when I get home. You may have just solved my problem for me.
Alright after a month of trial and error my crashes were a result of ymap which were mixing with other ymap.But I did remove fox's hilux and replaced it with other Libyan Hilux mod.All is working good now.
Alright, after a few days of no ymaps, I am still getting the same crash.I have all the above requirement.The only thing I added today was map editor.
Currently only installed stuff is
Statue of Liberty
Red dead desert
All above mentioned by jrod but not world of variety
Nothing else. No vehicle,no other script nor any graphic mods.I am gonna give trial and error another try.The only old mods here I can see are menyoo and map editor, which have not been updated with the previous online updates.I hope it will be fixed.
I ended up reformatting the system.Currently I do have some mods installed.I have also re-written my ymaps to create as many less props as possible and distributed the part of the maps.Currently I haven't completed it but during the process there have been no crash.
After re-formatting my system the error doesn't happens anymore. So for me I think windows must had some issue.Currently I do run into error but as faulting GTA5.exe when I put my ymaps together for my project.Issue at Ymaps got Limits ?
Beside that I got
Error: Failed to add firewall exception for C:\Program Files (x86)\Steam\bin\cef\cef.win7x64\steamwebhelper.exe
which has not affected my gta 5 experience.But the good thing is no more CLR.dll error.
If anyone got the same error and tried everything and also re-installing from steam, you may have to reformat the system.
I am getting the error again with clr.dll .I am finally sure its ymaps.YMAP Limit?