Open kanadianborn opened 1 week ago
Do you have a crash dump? There may be one in %localappdata%\CrashDumps
. Also FYI DisableStockVehiclesForSpecialVehicleFeature
is a red herring, it's just the "last" symbol the ASI has before the crashing address.
trying to get the crash dumps into a folder to send to u since the ones that are of interest are past 51 mb past the limit for github
gta-sa.exe.2580.zip here ya go hopefully these can help pin point the issue
if you want to know what i have installed in my modloader folder feel free to ask
Those crashlogs don't actually point at SP, the one from yesterday does not even have SilentPatch loaded and the today's one loaded SP at a different address range to the one from the above crashes. The crashdump from today crashes inside the Limit Adjuster, the one from yesterday - somewhere else. There are also hints of vectored crash handlers overflowing the stack, possibly from CrashInfo.SA.asi.
Try getting another crashdump without CrashInfo.SA.asi.
gta_sa.exe.4192.dmp gta_sa.exe.17416.dmp gta_sa.exe.3032.dmp
here are some ones that u asked for since you just reminded me i did some tests without CrashInfo.SA.asi and maybe scrlog? im not sure if all of these ones dont have CrashInfo.SA.asi in them since im not filmier with how dump files work since im only a windows debugger noob with these kinds of files but hopefully this gives you some info u need, also im pretty sure SP being loaded at different ranges was because i moved SP in and out of modloader at various points to see if that was the issue
None of those 3 have SilentPatch loaded. Whatever crash you're encontering appears to happen either before SP loaded, or there is something causing SP to unload entirely.
Strange those dumps listed SP as the failing module in the windows debugger i dont know what would cause SP to unload but if it's any help i got MixSets also installed with most settings that could conflict with SP turned off of course as well as frameratevigilates high fps fixes mainly to fix the issue with strafing not working at times i play only at 60 fps just an fyi
I'll try later on to grab a crashdump without crash log installed again but i have to be out of the house for a while tonight so i wont be able to comment till i get back thanks for the help and the work you've done to help keep this wonderful game alive and i hope to give you more info soon to help solve this issue since its been scratching my head for almost 1 and half weeks at this point,
gta-sa.exe.20676.zip as per your request i got another crash dump without using crash log sorry for the wait
This crash dump has SP in it but once again it got stuck on a stack overflow when crashing, and I can't tell if it crashed inside SP.
Do you still have this crash with Build 32, or without SP at all?
i would have to test myself and see cause if it does not crash with the older version then i think it can help narrow down the issue can u send me a link for build 32 so i can install it and test from there?
Build 32.1: SilentPatchSA.zip
The annoying thing about the crash you are encountering is that it doesn't even happen on the main thread, which means it's likely not the game's code, and SP is not spawning any extra threads. And since the stack overflows, I can't go back to see what it crashed on.
so far i haven't had any crash with build 32.1 also i removed both scrlog.asi and CrashLogSA.asi and im currently doing some stress tests to see if the crashing is resolved
I would check two mods specifically:
Those two are the most likely to be conflicting I think.
Strange i haven't had any crashes since switching to build 32.1 as well as removing both scrlog.asi and CrashLogSA.asi the only annoyance i seem to be facing is the car being locked on the mission with sweet where you kill kane but that could also be cause by VehFuncs which im removing from my folder as i type
This strongly hints at an incompatibility with some other mod then - the two I mentioned above would be my guess.
I Will need to see what mods could be causing it since on the older Build of SP VehFuncs and Limit Adjuster are not causing crashes no more but on the Newer SP the Crashes are there
Theory - try checking if your crash happens when:
Trying to check if it's indicative of an incompatibility with one of the fixes for detached parts.
Funny you mention cause i just tried it out and it seems to be alright and the random crashes where occurring before i even installed VehFuncs my hunch is more on limit adjuster cause you mentioned previously that the dump files i sent u before pointed to limit adjuster being the cause rather then SP
im going to update my Open Limit Adjuster since it might have been the root cause considering five days ago the git hub page released a new version stating "Prevent percentage memory calculation from overflowing (73)"
gta-sa.exe.17540.zip heres another crash log does this one point to anything particular that can help me narrow it down? also what debugger you use to see dump files since im starting to think the method i use is not reliable enough anymore
Yeah that crash is different, and with Build 32. It's crashing in CTaskManager::GetSimplestActiveTask
, something (potentially a mod) calls it incorrectly. This one seems to be related to swimming.
thats weird cause it crashed no where near a lake nor pool guess the npcs tried swimming through air to escape me out of fear then
now that you mention swimming i think it might be related to frameratevigilates fps fixes cause it does mention fixing something about swimming
just removed frameratevigilates fps fix mod and was able to get through a couple of missions without crashing and script related softlocks and that was also with VehFuncs installed we might have just found the culprit
Yeah, at this point you should do the following:
after switching to the lasted build of SP i crashed once again this time when i picked up a uzi from a fallen ballas log provided below gta-sa.exe.14268.zip
OK great, this crash dump is inside SP and it points at a mistake I made! I don't know why it'd crash when picking up weapons because it happened while the cops were aborting the drive-by task, but regardless, it reveals a bug in my code.
Try testing with this: SilentPatchSA-issue-115-test.zip
alright i'm gonna start testing it now i'll let you know if it works
so far so good i haven't had any crashes yet i'll update you as i keep testing
still have not crashed yet im doing some gang turf takeovers to stress test the pickups and no issues there yet as well
i think its safe to say the issue has been pretty much remedied i got into one of those tense encounters where normally a random crash would happen and to my surprise and glee i did not crash even though i've been playing with the test build u sent for nearly an hour, Thank you so much and im glad to have helped push the bounds of SilentPatch just a little bit further i'll let you know if there is anymore crashing on my end caused by SP
Excellent! It was a valid bug, I am surprised I haven't hit it myself while testing, but better late than never I guess.
I will keep this issue open for a bit longer, if you encounter no more crashes by the time I have Hotfix #⁠2 ready to release, I'll close it as resolved.
gta-sa.exe.9288.zip don't know if its related to SilentPatch but i've been having some crashes on one of zeros mission so i thought i would share the log since it mentions that red herring you where talking about in the beginning
Seems to be unrelated, crashed inside the SCM script.
ah thank you i figured as such just needed conformation lol
when playing with the latest hotfix patch at seemingly random times the game will crash when using Crash info 1.2 + scrlog it points to Silentpatch.asi itself while scrlog shows no other script or mod to be the result of the crash i've removed all my vehicle related mods as well as some more for good measure to no avail, crash is inconsistent and happens at random but the cause in the log remains the same shown below
-----------[ Log From 2024-11-14 ]------------
GTA SA 1.0.0.0 US Unhandled exception at 0x6C24D197 in SilentPatchSA.asi (+0xd197): 0xC0000005: Access violation reading location 0x00000000. Register dump: EAX: 0x000003A6 EBX: 0x17A881A0 ECX: 0x00000000 EDX: 0x800C1FBC
EDI: 0x17A88170 ESI: 0x17A88188 EBP: 0x18BE4798 EIP: 0x6C24D197
ESP: 0x0177EACC EFL: 0x00210287 CS: 0x00000023 SS: 0x0000002B
GS: 0x0000002B FS: 0x00000053 ES: 0x0000002B DS: 0x0000002B
-----------[ Log From 2024-11-13 ]------------
GTA SA 1.0.0.0 US Unhandled exception at 0x6931D197 in silentpatchsa.asi (+0xd197): 0xC0000005: Access violation reading location 0x00000000. Register dump: EAX: 0x000003A6 EBX: 0x19FE83D0 ECX: 0x00000000 EDX: 0x28F0AF38
EDI: 0x19FE83A0 ESI: 0x19FE83B8 EBP: 0x18093930 EIP: 0x6931D197
ESP: 0x0177E718 EFL: 0x00210287 CS: 0x00000023 SS: 0x0000002B
GS: 0x0000002B FS: 0x00000053 ES: 0x0000002B DS: 0x0000002B