GTA Crash Codes: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Added another entry: 0x000D68BA)
mNo edit summary
Line 173: Line 173:


GTA:SA offset database: https://paste.ee/d/mJxro
GTA:SA offset database: https://paste.ee/d/mJxro
[[Category:Development]]
[[Category:Support]]

Revision as of 11:00, 13 July 2024

Code: 0xC0000005

Offset Function Description
0x0000F64C
0x0000F663
0x0000F67C
CCollisionData::GetShadTrianglePoint(CVector&, int) const
Custom models which are not working with volumetric shadows. Fix models or disable volumetric shadows in Settings->Video.
0x000A2CF3
FxEmitterBP_c::Render(FxEmitterBP_c*, RwCamera*, int, float, char)
Corrupted, missing or modded GTA San Andreas\models > effects.fxp file.

If restoring that file to original doesn't fix the crash, use unmodded GTA as it can also be due to related GTA data files (ones that have to do with effects).

0x000C9691
CVehicleModelInfo::CreateInstance()
Bad or missing vehicle model. This usually happens when you deleted a model from your GTA3.img without restoring the original or putting another model in its place. Or when the DFF isn't a valid model file at all.

Restore GTA3.img or use unmodded GTA install to check, and if that doesn't work then ask server owner to identify and replace the corrupt mod, since it can also still be a bad model (or a dodgy script, that, tell them this: deals with vehicle types, variants, upgrades etc, in an improper way)

0x000C9F98
_rwD3D9RasterLock(char**, _DWORD, signed int)
Possibly bad skin model or texture (clothes mods for multi-clump skins such as CJ).

Use unmodded GTA install to check or incase of server mods, ask server owner to identify and disable mods on such skins, or any resource manipulating clothes or ped accesoires.

0x000CFCD6
CAnimBlendNode::GetCurrentTranslation(CAnimBlendNode*, CVector*, float)
Allocation failure as a result of (re-)connecting to servers after a lengthy playing session on a server with bad practise in their scripts (abusing RAM and anim functions).

This crash may be 'fixed' (averted) by MTA in future, we're working on it! It's related to anims in memory and clearing them.

0x000D68BA
RpAnimBlendClumpGetAssociation(RpClump*, int)
See github issue
0x000D7BD6
CAEAudioChannel::UpdateStatus()
Possibly bad audio files
0x000DFE92
0x000DFF90
CAEMP3BankLoader::Service(CAEMP3BankLoader*)
Bad sound mods or faulty audio driver/device. Use unmodded GTA install to check, or update your audio drivers.

The problem is often known to be entirely missing or emptied/corrupted audio files (such as in \Rockstar Games\GTA San Andreas\audio > SFX or other subfolder), so you may alternatively be able to restore a targeted backup. Do not use 'compressed' GTA re-packs for this reason of cut-out audio files.

0x000F0EBA
CAEStaticChannel::SetAudioBuffer(OALBuffer*, ushort, short, short, ushort)
0x0013388E
CEntity::CreateEffects()
0x00134134
CEntity::GetBoundRect()
Bad model or corrupted GTA3.img. Use unmodded GTA install to check, or incase of server mods, ask server owner to identify and replace the corrupt mod.

Note for server owners and modellers: if you open the crash dump (.dmp) as text with notepad and search for keyword `CEntity_GetBoundRect - No collision for model` you can often identify the bad model ID.

0x00137D6E
CFileLoader::LoadCollisionModelVer3(void*, int, CColModel*, char*)
Out of system memory (RAM). This co-incides with loading collisions; the risk to get this crash is high when joining a mod-heavy server with a weak PC and small amount of memory.

To resolve this crash, mind the servers you're playing on (optimization) or get a faster PC. Sub-type of "Running out of memory": most often a direct result of running out of address space, so upgrading to 64-bit Windows installation might solve it

0x0014F406
CPlaceable::RemoveMatrix(_CPlaceable*)
Possibly "Running out of memory": a direct result of running out of address space, so upgrading to 64-bit Windows installation might solve it.
0x00165096
CWorld::FindObjectsKindaCollidingSectorList(CPtrList*, RwV3d*, float, char, int*, __int16, void*)
Bad model (containing a corrupt collision model). Use unmodded GTA install to check or incase of server mods, ask server owner to identify and replace the corrupt mod.

Information for modellers & server owners: corruption in one or multiple col spheres (or their radius) within the DFF model.

0x00171A10
CEntity::CleanUpOldReference(CEntity*, CEntity**)
Sometimes when joining a server, maybe related to bad server mods.
0x0019BD39
CMatrix::Attach(CMatrix*, RwMatrix*m, char)
Bad model. Use unmodded GTA install to check or in case of server mods, ask server owner to identify and replace the corrupt mod.

This crash usually occurs when you fire a weapon while the corrupt model is streamed in (physically nearby).

0x001A49D4
CClothesBuilder::BlendGeometry(RpClump*, char*, char*, char*, float, float, float)
Bad mod (custom player.img in GTA San Andreas\models). Restore player.img to original or use unmodded GTA.

Note: this crash can also be triggered when a player with CJ model (or CJ clothes) appears on your screen, on a server you're playing on. Your custom player.img cannot handle that and will cause a crash.

0x001B6B2F
CVehicleModelInfo::LoadVehicleColours()
Crash because of issue with DATA\DEFAULT.DAT or DATA\CARCOLS.DAT file in your GTA installation folder (may be missing or modded/corrupted). Use unmodded GTA install to check
0x001D6E6A
CCustomBuildingDNPipeline::pluginExtraVertColourStreamReadCB(RwStream*, int, void*, int, int)
Either out of video memory, or bad model/texture.

Information for modellers & server owners: in case the culprit is a model, then corruption is in "prelit" (Night colors) structure of the model. Ask your modeller to recreate prelit data.

0x001E26EE
CPed::ProcessEntityCollision(CPed*, CObject*, CColPoint*)
0x002FE144
CCustomRoadsignMgr::Initialise()
0x0032F4DE
CMemoryMgr::MallocAlign(int, int)
Out of memory
0x00332B2A 
CVisibilityPlugins::GetClumpAlpha(RpClump*)
onClientPedDamage bug
0x00349B7B
RpClumpForAllAtomics(RpClump*, void*, void*)
Bad skin model. Use unmodded GTA install to check or incase of server mods, ask server owner to identify and replace the corrupt skin mod.

Information for modellers & server owners: corruption in the anim hierarchy in ped's skin DFF or bones configuration

0x0034E85A
__rpMaterialListStreamRead()
0x003507FB
_WorldAtomicSync(RpAtomic*)
0x00354B1C
_rpD3D9VertexDeclarationInstColor(char*, char*, int, int)
0x00357DEC
_D3D9AtomicDefaultInstanceCallback(RpAtomic*, RxD3D9ResEntryHeaderWithMeshes*, int)
Out of memory
0x003C91CC
0x003C920C
__rpD3D9SkinGeometryReinstance(int, char*, RpHAnimHierarchy*, int)
Out of video memory. This can happen on servers with unoptimized mods and (faulty) scripts that abuse video memory, or even when you have a powerful graphics card in case the stuff on a server is extremely unoptimized so that it starts hitting GTA limits.

If you have a powerful graphics card and more players suffer from this crash type, inform the server owner of this problem as it probably means their scripters & designers don't know what they are doing. More information is available at these forum links: here and here (example case)

0x003EC9DA
RwStreamRead(RwStreamMemory*, void*, unsigned int)
Crash possibly because of issue with ANIM\PED.IFP file in your GTA installation folder (may be missing or modded/corrupted).

Use unmodded GTA install to check

0x003F0BF7
0x003F0C37
_RwFrameAddChild(RwFrame*, RwFrame*)
Bad vehicle model. Use unmodded GTA install to check, or incase of server mods, ask server owner to identify and replace the corrupt mod.
0x003F18CF
0x003F190F
RwMatrixMultiply(RwMatrixTag*, RwMatrixTag*, RwMatrixTag*)
Bad model. Use unmodded GTA install to check or in case of server mods, ask server owner to identify and replace the corrupt mod.

This crash has been averted (fixed by MTA), but due to technical limitations will still occur for Windows XP users. Information for modellers & server owners: due to the nature of corruption, the model introduces a risk to crash, it could happen at any given moment while nearby.

0x003F5A3A
_RwD3D9DynamicVertexBufferCreate()
Memory crash, usually happens on heavily unoptimized servers.

It can be a result of either out of video memory or reaching technical limits of RAM usage, but more often a combination of both... hence it's put as "heavily unoptimized servers". Contact the server owner and ask for optimization, or find other servers to play on.

0x00423FD0
_lock_file(FILE*)
Bad GTA mods or corrupted GTA3.img. Re-install GTA (with a clean and original version) to solve this crash. Note: known crash for common pirated copies & torrents of GTA, due to missing, bad or corrupted .dat, .col and .ipl files (pre-installed mods). MTA only supports the original, legally purchased version of GTA.
0x004A1ED4
std::bad_alloc()
Out of system memory (RAM)
0x00771848
char CFileLoader::ms_line[512]
Crash because of issue with GTA data files (MTA fails to open them which could mean they are corrupted/modded & incompatible or missing).

Use unmodded GTA install to check

0x01162FE3
0x011630F2
0x011630F8
0x011630FE
???
This crash is a result of problems with collision models. It might be due to unoptimized collisions that your PC (or MTA's technical limits, due to bad server mods) cannot handle, or due to corrupt collision models. We still don't know a lot about all of the circumstances related to this crash. Our first advise would be to ensure that your GTA is unmodded, and otherwise to ask server owner to identify and resolve issues with bad/unoptimized collision models.


GTA:SA offset database: https://paste.ee/d/mJxro