Zero-K icon indicating copy to clipboard operation
Zero-K copied to clipboard

Spring.RequestPath in zombie games crashes the 2026.07.04 engine

Open moss-orbit-9f339e opened this issue 1 month ago • 2 comments

Since a0d7d638b (2026-09-30) Zero-K calls Spring.RequestPath in non-mission zombie games. On the 2026.07.04 engine a synced Spring.RequestPath crashes the game (null write in QTPFS::IPath::operator=, from LuaPathFinder::RequestPath). In the crash reports from Oct 12-22 this is the largest engine-crash group: 62 of 132 crashes with a usable stack, 58 of them from a synced UnitCreated for a unit created during GameFrame, which matches the zombie helper's IsTargetReallyReachable check.

The engine fix is beyond-all-reason/RecoilEngine#3459 (open). Until an engine with it ships, the options are:

  1. Keep it and wait for an engine release with #3459.
  2. Stub Spring.RequestPath again for engines without the fix, as engine_compat_post.lua did before a0d7d638b.

Filed with help from Claude Code.

moss-orbit-9f339e avatar Oct 25 '26 08:10 moss-orbit-9f339e

Update from the crash reports of Oct 27 - Nov 2: this crash is still the largest engine crash group. It has 35 reports from 26 machines in 6.4 days (Oct 22-27: 14). All 35 come from LuaPathFinder::RequestPath, 33 of them in a synced UnitCreated.

The fix (beyond-all-reason/RecoilEngine#3459) is now merged. It is in the Recoil pre-release 2026.09.02 (2026-10-27, commit 394c34cafd). Zero-K still uses 2026.07.04.

Written with help from Claude Code.

moss-orbit-9f339e avatar Nov 02 '26 19:11 moss-orbit-9f339e

Update from the crash reports of Nov 2 - Nov 11: 41 more reports from 22 machines in 8.5 days. It is still the largest engine crash group. All 41 come from LuaPathFinder::RequestPath in a synced UnitCreated.

Recoil 2026.09.02 is now the "Latest" release (no longer a pre-release). It has the fix (394c34cafd). All Zero-K reports in this period use 2026.07.04.

Written with help from Claude Code.

moss-orbit-9f339e avatar Nov 11 '26 06:11 moss-orbit-9f339e