GTA Crash Codes: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Added another entry: 0x0034E85A)
m (Added more offsets, removed old templates, provided descriptions for most functions (moved from Famous_crash_offsets_and_their_meaning))
Line 3: Line 3:
{| class="wikitable"  
{| class="wikitable"  
|-
|-
! Offset !! Function
! Offset !! Function !! Description
|-
|-
| {{CrashCodeEntry|0x0013388E|CEntity::CreateEffects()}}
| {{#tag:syntaxhighlight|0x00134134|c++}}
| {{#tag:syntaxhighlight|CEntity::GetBoundRect()|c++}}
| 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.
|-
|-
| {{CrashCodeEntry|0x0000F64C|CCollisionData::GetShadTrianglePoint(CVector&, int)}}
| {{#tag:syntaxhighlight|0x003C91CC
0x003C920C|c++}}
| {{#tag:syntaxhighlight|__rpD3D9SkinGeometryReinstance(int, char*, RpHAnimHierarchy*, int)|c++}}
| 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: [https://forum.mtasa.com/topic/85094-mta-crashing/ here] and [https://forum.mtasa.com/topic/127677-c-r-a-s-h-i-n-g/ here (example case)]
|-
|-
| {{CrashCodeEntry|0x000F0EBA|CAEStaticChannel::SetAudioBuffer(OALBuffer*, ushort, short, short, ushort)}}
| {{#tag:syntaxhighlight|0x00357DEC|c++}}
| {{#tag:syntaxhighlight|_D3D9AtomicDefaultInstanceCallback(RpAtomic*, RxD3D9ResEntryHeaderWithMeshes*, int)|c++}}
| Out of memory
|-
|-
| {{CrashCodeEntry|0x003C91CC|__rpD3D9SkinGeometryReinstance(int, char*, RpHAnimHierarchy*, int)}}
| {{#tag:syntaxhighlight|0x003F5A3A|c++}}
| {{#tag:syntaxhighlight|_RwD3D9DynamicVertexBufferCreate()|c++}}
| 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.
|-
|-
| {{CrashCodeEntry|0x002FE144|CCustomRoadsignMgr::Initialise()}}
| {{#tag:syntaxhighlight|0x004A1ED4|c++}}
| {{#tag:syntaxhighlight|std::bad_alloc()|c++}}
| Out of system memory (RAM)
|-
|-
| {{CrashCodeEntry|0x003507FB|_WorldAtomicSync(RpAtomic*)}}
| {{#tag:syntaxhighlight|0x011630F8
0x011630FE
0x01162FE3
0x011630F2|c++}}
| {{#tag:syntaxhighlight|???|c++}}
| 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.
|-
|-
| {{CrashCodeEntry|0x0034E85A|__rpMaterialListStreamRead()}}
| {{#tag:syntaxhighlight|0x00171A10|c++}}
| {{#tag:syntaxhighlight|CEntity::CleanUpOldReference(CEntity*, CEntity**)|c++}}
| Sometimes when joining a server, maybe related to bad server mods.
|-
| {{#tag:syntaxhighlight|0x000C9F98|c++}}
| {{#tag:syntaxhighlight|_rwD3D9RasterLock(char**, _DWORD, signed int)|c++}}
| 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.
|-
| {{#tag:syntaxhighlight|0x0014F406|c++}}
| {{#tag:syntaxhighlight|CPlaceable::RemoveMatrix(_CPlaceable*)|c++}}
| Possibly "Running out of memory": a direct result of running out of address space, so upgrading to 64-bit Windows installation might solve it.
|-
| {{#tag:syntaxhighlight|0x00137D6E|c++}}
| {{#tag:syntaxhighlight|CFileLoader::LoadCollisionModelVer3(void*, int, CColModel*, char*)|c++}}
| 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
|-
| {{#tag:syntaxhighlight|0x00349B7B|c++}}
| {{#tag:syntaxhighlight|RpClumpForAllAtomics(RpClump*, void*, void*)|c++}}
| 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
|-
| {{#tag:syntaxhighlight|0x0013388E|c++}}
| {{#tag:syntaxhighlight|CEntity::CreateEffects()|c++}}
|-
| {{#tag:syntaxhighlight|0x0000F64C|c++}}
| {{#tag:syntaxhighlight|CCollisionData::GetShadTrianglePoint(CVector&, int)|c++}}
|-
| {{#tag:syntaxhighlight|0x000F0EBA|c++}}
| {{#tag:syntaxhighlight|CAEStaticChannel::SetAudioBuffer(OALBuffer*, ushort, short, short, ushort)|c++}}
|-
| {{#tag:syntaxhighlight|0x003C91CC|c++}}
| {{#tag:syntaxhighlight|__rpD3D9SkinGeometryReinstance(int, char*, RpHAnimHierarchy*, int)|c++}}
|-
| {{#tag:syntaxhighlight|0x002FE144|c++}}
| {{#tag:syntaxhighlight|CCustomRoadsignMgr::Initialise()|c++}}
|-
| {{#tag:syntaxhighlight|0x003507FB|c++}}
| {{#tag:syntaxhighlight|_WorldAtomicSync(RpAtomic*)|c++}}
|-
| {{#tag:syntaxhighlight|0x0034E85A|c++}}
| {{#tag:syntaxhighlight|__rpMaterialListStreamRead()|c++}}
|-
| {{#tag:syntaxhighlight|0x003F0C37
0x003F0BF7|c++}}
| {{#tag:syntaxhighlight|_RwFrameAddChild(RwFrame*, RwFrame*)|c++}}
| Bad vehicle model. Use unmodded GTA install to check, or incase of server mods, ask server owner to identify and replace the corrupt mod.
|}
|}




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

Revision as of 20:31, 28 March 2024

Code: 0xC0000005

Offset Function Description
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.

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)
0x00357DEC
_D3D9AtomicDefaultInstanceCallback(RpAtomic*, RxD3D9ResEntryHeaderWithMeshes*, int)
Out of memory
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.
0x004A1ED4
std::bad_alloc()
Out of system memory (RAM)
0x011630F8
0x011630FE
0x01162FE3
0x011630F2
???
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.
0x00171A10
CEntity::CleanUpOldReference(CEntity*, CEntity**)
Sometimes when joining a server, maybe related to bad server mods.
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.

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.
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

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

0x0013388E
CEntity::CreateEffects()
0x0000F64C
CCollisionData::GetShadTrianglePoint(CVector&, int)
0x000F0EBA
CAEStaticChannel::SetAudioBuffer(OALBuffer*, ushort, short, short, ushort)
0x003C91CC
__rpD3D9SkinGeometryReinstance(int, char*, RpHAnimHierarchy*, int)
0x002FE144
CCustomRoadsignMgr::Initialise()
0x003507FB
_WorldAtomicSync(RpAtomic*)
0x0034E85A
__rpMaterialListStreamRead()
0x003F0C37
0x003F0BF7
_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.


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