Skip to content

Fix TurretAI crash during state machine destruction#408

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/turret-ai-destruction-crash
Open

Fix TurretAI crash during state machine destruction#408
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/turret-ai-destruction-crash

Conversation

@seer-by-sentry
Copy link
Copy Markdown

Fixes CLIENT-44Q. The issue was that: AIUpdateInterface destructor crashes accessing freed memory because m_ai is a cached raw pointer to a module deleted prematurely.

  • Halt the turret state machine before deletion.
  • Prevents crashes caused by onExit() accessing a nulled AI interface during state machine destruction.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 12186899

Not quite right? Click here to continue debugging with Seer.

@github-actions
Copy link
Copy Markdown

⚠️ Title/Commit Validation Failed

Invalid PR title:

  • Fix TurretAI crash during state machine destruction

Invalid commit messages:

  • Fix TurretAI crash during state machine destruction
    PR titles and commit messages must follow conventional commits format:
type: Description
type(scope): Description

Allowed types: bugfix, build, chore, ci, docs, fix, feat, perf, refactor, revert, style, test, tweak, unify

See CONTRIBUTING.md for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants