GTAV Crash: Kernelbase.dll / SHVDN issue
-
Hello,
I've been having this crash repeatedly, with the following information in event viewer:
Application: GTA5.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at SHVDN.NativeFunc.NativeCall()
at SHVDN.NativeFunc.NativeTaskPtrArgs.Run()
at SHVDN.ScriptDomain.DoTick()
at SHVDN.ScriptDomain.DoTick()
at <Module>.?A0xc1aa4bd5.ScriptHookVDotnet_ManagedTick()
Faulting application name: GTA5.exe, version: 1.0.2372.2, time stamp: 0x611382da
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1348, time stamp: 0x76fcd692
Exception code: 0xe0434352
Fault offset: 0x0000000000034f69
Faulting process id: 0x4d64
Faulting application start time: 0x01d7e4bb5fc1cea2
Faulting application path: B:\Program Files (x86)\Epic Games\GTAV\GTA5.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 9d7c53ec-85d4-47a0-98b8-0c96494a6c67
Faulting package full name:
Faulting package-relative application ID:
Despite using an updated gameconfig (from this attempted solution here: https://github.com/crosire/scripthookvdotnet/issues/697), this crash keeps happening. Scripthook logs don't show anything else.
EDIT: perhaps the link above does not address my concerns, it seems to be slightly different.
Thanks for any replies
-
@KraljStefan96 You are running a script, either your own, or a mod, that is crashing. Remove your scripts, leave SHVDN installed, and see if your game runs without crashing. If it does run, next step, by elimination figure out which script is crashing your game - from what I gather, the issue is something running ontick, i.e. on every frame based on the interval set.
Are you using any persistence mods?
-
I'm sorry, I'm a bit new to the GTAV modding scene. What are persistence mods? Ones such as Lively World?
So the error is coming from my scripts folder, in that case? I am not running any of my own scripts. I suppose I'll have to do a clean re-install, I was hoping to avoid it as it is quite time consuming.
-
@KraljStefan96 You don't need to reinstall anything. You rarely need to reinstall your game, I've never had to do that. You need to find which script you installed causing the problems. Start by renaming your scripts folder to anything you want and restart your game to see if it works, if your trainer works etc, if everything works except what's in your script folder. That's the first step. If that works you know your problem is with your scripts and you're on your way to fixing this.
-
@JohnFromGWN said in GTAV Crash: Kernelbase.dll / SHVDN issue:
ow your problem is with your scripts and you're
Thanks for the reply.
Just to make clear, the issue isn't with SHVDN, it's with a script in conflict with SHVDN?
If I understand what you mean by something running ontick, could it perhaps be Gunshot Wound 2's Scan Interval Range to convert peds to GSW2's damage model? Would that make sense? I disabled the scan interval range and while it's only a small sample size, I was able to finish the mission I was repeatedly crashing on. Will re-enable and then see again.
-
@KraljStefan96 i wouldn't say it's a conflict, but rather either a poorly written or outdated script that won't run properly or is conflicting with other scripts you installed. That's why i suggested renaming your scripts folder to rule out hardware, software, or integrity issues. Problem could also be asi in root folder but that would be next step.