Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

carolina-december-eight crash #3107

Open
LegendaryMods opened this issue Jan 28, 2025 · 15 comments
Open

carolina-december-eight crash #3107

LegendaryMods opened this issue Jan 28, 2025 · 15 comments
Labels
bug crash triage Needs a preliminary assessment to determine the urgency and required action

Comments

@LegendaryMods
Copy link

LegendaryMods commented Jan 28, 2025

What happened?

If an NPC shoots another NPC the game will crash. This causes other players in the area to crash, if they're nearby.
I've tested this on multiple game builds (b3095, b3258, b3323 & b3407,) and multiple artifacts, and it seems to only happen on b3407.
I've also tested this across multiple servers, including one with a a fresh install of the Default CFX recipe provided by txAdmin.
This happens on both Linux, and Windows servers. CfxCrashDump_2025_01_28_18_16_38.zip

Edit: Shooting armed NPCs will also cause a crash to happen.
Crash dump from the video below: CfxCrashDump_2025_01_28_21_09_58.zip
https://github.com/user-attachments/assets/b3e5d699-ca40-43ea-af3e-ecefbfd160a8

Expected result

no crashes

Reproduction steps

1a. NPC shoots/kills another NPC
1b. Shoot an armed NPC
2. Crash

Importancy

Crash

Area(s)

FiveM

Specific version(s)

FiveM 3407, Server 12508 Linux, Server 12629 Windows

Additional information

Edit 1: Removed incorrect information & reproduction steps, added more context, and clearer reproduction steps

@LegendaryMods LegendaryMods added bug triage Needs a preliminary assessment to determine the urgency and required action labels Jan 28, 2025
@github-actions github-actions bot added the crash label Jan 28, 2025
@DaniGP17
Copy link
Contributor

DaniGP17 commented Jan 28, 2025

I've tried on b3407 being killed +14 times in the same spot with the same NPCs but I can't reproduce the issue. Am I doing something wrong?
Edit: Finally able to reproduce the crash shooting to an armed NPC

@CrazedslawDev
Copy link

Ive been consistently getting this issue whenever trying to shoot armed NPCs (specifically altruist cultists or armed bank truck guards as part of a script)

@DaniGP17
Copy link
Contributor

DaniGP17 commented Feb 1, 2025

I've been investigating for a while but I still haven't found a solution, in case anyone finds this useful:

Location: 48 8B 81 ? ? ? ? 4C 8B 90 ? ? ? ? 49 8B 82
Function Name: CPedIntelligence::IsThreatenedBy
Instruction Crash: mov     rax, [rcx+358h]
Reason: rcx = 0000000000000, rcx means self of CPedIntelligence
Called from:
	CPedIntelligence::IsPedThreatening:
		Location: 48 ? ? ? ? 57 48 ? ? ? 41 ? ? 45 ? ? 41 ? ? 48 ? ? c6
		Instruction: call    CPedIntelligence__IsThreatenedBy
		Reason: self is invalid
		Called from:
			CTaskSmartFlee::ShouldConsiderPedThreatening:
				Location: 48 89 5C 24 ? 57 48 83 EC ? 48 8B F9 48 8B 89 ? ? ? ? 48 8B DA E8 ? ? ? ? 84 C0 75 ? 32 C0
				Instruction: call    CPedIntelligence__IsPedThreatening
				Reason: Yet I didn't find the exact cause but I only think about the first argument of ShouldConsiderPedThreatening that is a invalid CPed* or that CPed is a valid pointer but miss the m_pPedIntelligence

Maybe my research is wrong but I hope it can help.

@topordenis
Copy link

IsThreatenedBy

please avoid copying function names from leak

@Khralis
Copy link

Khralis commented Feb 19, 2025

This bug is pretty critical preventing alot of users from updating until resolved. Can we get an update regarding this?

@Yoniromo
Copy link

Got similar issue shooting at an armed NPC at zancudo, but a slightly different hash. Might be coz relationship are set to friendly.

Here's crash dump :

CfxCrashDump_2025_02_25_15_28_51.zip

@adamsimon2332
Copy link

Same crash for me too when shooting an armed gang member.

CfxCrashDump_2025_03_03_17_03_34.zip

@xDoctor0
Copy link

xDoctor0 commented Mar 8, 2025

Same thing happend to me when NPC's shot me

@dewrongta
Copy link

Any solution?

@jonkthx
Copy link

jonkthx commented Mar 9, 2025

Exact same error here. Gamebuild 3407 and artifact version 13068

@randomuser2748
Copy link

Same error, happens anytime me or anyone else shoots an armed NPC, regardless of what or how many resources are loaded. Is there a timeline for when this will be fixed?

@epyidev
Copy link

epyidev commented Mar 10, 2025

Same error, i am just forced to not use the latest build for the moment

@devmailar
Copy link

Same error, everytime I fight with armed NPC, I crash on the latest build

@TheGoatRico
Copy link

Downgrading to Build: 3095 & Artifact: 13068 stopped the issue for me.

@Kayseh
Copy link

Kayseh commented Mar 15, 2025

still having this issue on the latest build

CfxCrashDump_2025_03_15_23_01_33.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug crash triage Needs a preliminary assessment to determine the urgency and required action
Projects
None yet
Development

No branches or pull requests