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

Crash - CAI_BehaviorHeal::StartTask #209

Open
Alienmario opened this issue Jan 2, 2025 · 1 comment
Open

Crash - CAI_BehaviorHeal::StartTask #209

Alienmario opened this issue Jan 2, 2025 · 1 comment
Labels
crash a crash

Comments

@Alienmario
Copy link
Collaborator

Map bm_c1a1c
2 reports share this crash signature. (2 owners / 2 ips)

0	0x1b3f9108
1	server_srv.so!CAI_BehaviorHeal::StartTask(Task_t const*) + 0xb6
2	server_srv.so!CAI_BaseHumanoid::StartTask(Task_t const*) + 0x39
3	server_srv.so!CAI_PlayerAlly::StartTask(Task_t const*) + 0x3d
4	server_srv.so!CNPC_PlayerCompanion::StartTask(Task_t const*) + 0x84
5	server_srv.so!CAI_BaseNPC::MaintainSchedule() + 0x28f
6	server_srv.so!CAI_BaseNPC::RunAI() + 0x114
7	server_srv.so!CAI_BaseNPC::NPCThink() + 0x791
8	server_srv.so!CAI_BaseNPC::CallNPCThink() + 0x5b
9	server_srv.so!CBaseEntity::Think() + 0x1c
10	0xf7f970ce
11	0xffd8b4c8
12	server_srv.so!CBaseEntity::PhysicsDispatchThink(void (CBaseEntity::*)()) + 0xf3
13	server_srv.so!CBaseEntity::PhysicsRunSpecificThink(int, void (CBaseEntity::*)()) + 0xdd
14	server_srv.so!CBaseEntity::PhysicsRunThink(CBaseEntity::thinkmethods_t) [clone .part.143] + 0x35
15	server_srv.so!CBaseEntity::StepSimulationThink(float) + 0x157
16	server_srv.so!CBaseEntity::PhysicsStep() + 0x1b4
17	server_srv.so!CBaseEntity::PhysicsSimulate() + 0x9fa
18	server_srv.so!Physics_SimulateEntity(CBaseEntity*) + 0x2bb
19	server_srv.so!Physics_RunThinkFunctions(bool) + 0x1e4
20	server_srv.so!CServerGameDLL::GameFrame(bool) + 0x168
21	sourcemod.2.bms.so!__SourceHook_FHCls_IServerGameDLLGameFramefalse::Func(bool) [sourcemod.cpp:54 + 0x11] 
22	engine_srv.so!CServerPlugin::GameFrame(bool) + 0x77
23	engine_srv.so!SV_Think(bool) + 0xcc
24	engine_srv.so!SV_Frame(bool) + 0xfe
25	engine_srv.so!_Host_RunFrame_Server(bool) + 0x71
26	engine_srv.so!_Host_RunFrame(float) + 0x2d1
27	engine_srv.so!CHostState::State_Run(float) + 0x11c
28	engine_srv.so!CHostState::FrameUpdate(float) + 0x186
29	engine_srv.so!HostState_Frame(float) + 0x2b
30	engine_srv.so!CEngine::Frame() + 0x552
@Alienmario Alienmario added the crash a crash label Jan 2, 2025
@ampreeT
Copy link
Owner

ampreeT commented Jan 2, 2025

According to the stack trace, it is crashing on a call to CAI_BaseNPC::SetTarget.

  if (param_1 != (Task_t *)0x0) {
    if (param_1->iTask == 100000) {
      pCVar5 = (CBaseEntity *)(*(code *)this->vftable->FindHealTarget)(this);
      if (pCVar5 != (CBaseEntity *)0x0) {
        CAI_BaseNPC::SetTarget(*(CAI_BaseNPC **)&this->field_0x4,pCVar5);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash a crash
Projects
None yet
Development

No branches or pull requests

2 participants