Reproducible client crash ACCESS_VIOLATION at FiveM_b3258_GTAProcess.exe+0x168F5DB (remote crasher)
What happened?
Multiple players on our server crash repeatedly with the same crash signature. The crash is an in-session RAGE error: UNKNOWN a memory access violation inside the game process at a fixed offset. Because it hits many different players with an identical signature (same offset), and it is not tied to any one player's local files, we believe it is being triggered remotely by a malicious client (a "crasher") rather than caused by corrupted local content.
Crash identifiers
Crash hash: fivem.exe+168F5DB
Crash hash id: 494766102
Crash key: black-mexico-louisiana
Exception code: 0xC0000005 (ACCESS_VIOLATION)
Exception address: 0x7ff7ddb9f5db
Faulting module: FiveM_b3258_GTAProcess.exe + 0x168F5DB
Game build: b3258
Environment
Client GPU: AMD Radeon RX 6600 (1002:73ff), backbuffer rendered OK (not a GFX/D3D init crash) Hosting state: HS_HOSTED OneSync: enabled, OneSync Big + population on Server artifact version: master v1.0.0.25770 OS: Windows When it happens
Occurs during gameplay, not during connect/load (~77 s of quiet activity in the client log between the last normal streaming activity and the fault). Reproducible across many players --> same +0x168F5DB offset each time.
Client log (tail)
[ 286984] MainThrd/ Error: RAGE error: UNKNOWN
[ 286984] MainThrd/ A game error (at 000000014168f5e0) caused the game to stop working.
[ 288578] DumpServer/ Process crash captured. Crash dialog content:
[ 288578] DumpServer/ RAGE error: UNKNOWN
[ 288578] DumpServer/ A game error (at 000000014168f5e0) caused the game to stop working.
Server-side mitigations already in place (so the vector bypasses these)
sv_filterRequestControl enabled --> not entity control theft / hijack / throw.
sv_entityLockdown enabled --> not arbitrary client entity spawning.
Server-side sanitization of explosionEvent, ptFxEvent, weaponDamageEvent, startProjectileEvent, fireEvent (NaN/inf/out-of-map/out-of-range rejected).
Given the above are active, the trigger is likely at the state-bag / clone-sync / lower-level network layer rather than a spawnable entity or a standard game event.
Expected result
not crash
Reproduction steps
use a cheat idk
Importancy
Crash
Area(s)
FiveM
Specific version(s)
FiveM B3258
Additional information
Which version of ox_lib are you using?
Which version of ox_lib are you using?
I don't use ox_lib i use a custom framework
this is something related to ped drawing so it may be a corrupted asset or something
Hello, having the same issues, its a cheater who crash people. Let me know if someone have a fix please, thanks.
Hello, having the same issues, its a cheater who crash people. Let me know if someone have a fix please, thanks.
hey i just block ped variation and player don't crash
Thanks, will take a look.
hi here the crash patch
local BLOCKED_MODELS = {
'nrw_z1000',
'alamomed',
}
local MAX_SIZE = {
[1] = 15.0,
[2] = 60.0,
[3] = 400.0,
}
local blocked = {}
for _, name in ipairs(BLOCKED_MODELS) do
blocked[GetHashKey(name)] = true
end
local verdict = {}
local function isBadModel(entityType, model)
local cached = verdict[model]
if cached ~= nil then return cached end
local bad = blocked[model] or false
if not bad then
local mn, mx = GetModelDimensions(model)
local sx, sy, sz = mx.x - mn.x, mx.y - mn.y, mx.z - mn.z
local limit = MAX_SIZE[entityType] or 400.0
bad = sx ~= sx or sy ~= sy or sz ~= sz
or sx < 0.0 or sy < 0.0 or sz < 0.0
or sx > limit or sy > limit or sz > limit
end
verdict[model] = bad
return bad
end
local function removeEntity(entity)
if not NetworkHasControlOfEntity(entity) then
NetworkRequestControlOfEntity(entity)
local t = GetGameTimer()
while not NetworkHasControlOfEntity(entity) and GetGameTimer() - t < 500 do
Wait(0)
end
end
if DoesEntityExist(entity) then
SetEntityCollision(entity, false, false)
SetEntityVisible(entity, false, false)
FreezeEntityPosition(entity, true)
if NetworkHasControlOfEntity(entity) then
SetEntityAsMissionEntity(entity, true, true)
DeleteEntity(entity)
end
end
end
local function scan(pool, entityType)
for _, entity in ipairs(GetGamePool(pool)) do
if DoesEntityExist(entity) and not IsPedAPlayer(entity) then
if isBadModel(entityType, GetEntityModel(entity)) then
removeEntity(entity)
end
end
end
end
CreateThread(function()
while true do
Wait(1000)
scan('CVehicle', 2)
scan('CObject', 3)
scan('CPed', 1)
end
end)