- The native crash logger keeps the last 16 first-chance records in a static ring (pushed in the VEH: no I/O, no allocation, no loader call). A flush writes the ones not yet written, oldest first, each record once. Flushed from the last-chance filter and, through the new export RC_FlushCrashLog, from the engine's ExitProcess / TerminateProcess / RtlExitUserProcess / NtTerminateProcess detours on a crash code (raw unmanaged function pointer, resolved and primed at install). Recovers the fatal repeat of an address seen before, which the dedupe skips and which never reaches the last-chance filter when a handler terminates the process. - EnqueueCast refuses during a world transition (CastSlot, pure) and counts the refusal in TransitionRejectedCount. The cast slot now owns the stop-wait note the cast drain keeps per cast (CastSlot.StopWaitNoted, reset by each queued cast before the publishing Volatile.Write of Pending), and DrainCasts reads the queue time once. - The launcher's dump hold is capped at 15 min per client (DumpInProgressRule.Decide); past it the kill checks resume. - CrashExitRule: ExitProcess(-1) (0xFFFFFFFF) is no longer a crash exit; the rest of the 0xC0000000-and-up range is unchanged, so CLR/C++ unhandled-exception exits (0xE0434352, 0xE06D7363) still skip managed work. - The heartbeat line carries qrej=<TransitionRejectedCount>. Tests: EngineRobustnessTests (adds CastSlot stop-wait and ActionRing.TryPeekAt checks), CrashLogFilterTests. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
45 lines
3.1 KiB
XML
45 lines
3.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<!--
|
|
Offline checks for the engine-robustness pass, the pure parts compiled in:
|
|
PendingIdQueue.cs the RequestId slot merges a pending appraisal for the same object
|
|
AutoIdEligibility.cs no re-appraisal within 10 min of a client release; server delete
|
|
re-arms; the map stays bounded
|
|
MainThreadFreezeRule.cs plugin ticks pause while AC's main thread is frozen
|
|
WorldTransitionState.cs queued game actions are held through a death / portal / landblock
|
|
jump, then stale ones dropped while stops and cancels still run
|
|
AddressSpace.cs the largest-free-block fold (and one live walk of this process)
|
|
ActionRing.cs the action ring itself: teardown reserve, refusal in a transition
|
|
CastStopRules.cs a cast waits for a movement stop queued at or before it
|
|
MutatorGate.cs queue-or-call for every mutator (plus a source scan of the call sites)
|
|
ReleasedObjectRetention identify data kept 10 min after a client release
|
|
DumpInProgressRule.cs the launcher holds its wedge kill while an OOM dump is written (capped)
|
|
CastSlot.cs the cast slot refuses during a world transition
|
|
CrashExitRule.cs which exit codes are crash exits (not ExitProcess(-1))
|
|
Run: dotnet run -c Release (exit 0 = pass, 1 = fail)
|
|
-->
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<InvariantGlobalization>true</InvariantGlobalization>
|
|
<RootNamespace>EngineRobustnessTests</RootNamespace>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\..\src\RynthCore.Engine\Compatibility\PendingIdQueue.cs" Link="Engine\PendingIdQueue.cs" />
|
|
<Compile Include="..\..\src\RynthCore.Engine\Compatibility\AutoIdEligibility.cs" Link="Engine\AutoIdEligibility.cs" />
|
|
<Compile Include="..\..\src\RynthCore.Engine\MainThreadFreezeRule.cs" Link="Engine\MainThreadFreezeRule.cs" />
|
|
<Compile Include="..\..\src\RynthCore.Engine\Compatibility\WorldTransitionState.cs" Link="Engine\WorldTransitionState.cs" />
|
|
<Compile Include="..\..\src\RynthCore.Engine\Compatibility\AddressSpace.cs" Link="Engine\AddressSpace.cs" />
|
|
<Compile Include="..\..\src\RynthCore.Engine\Compatibility\ActionRing.cs" Link="Engine\ActionRing.cs" />
|
|
<Compile Include="..\..\src\RynthCore.Engine\Compatibility\CastStopRules.cs" Link="Engine\CastStopRules.cs" />
|
|
<Compile Include="..\..\src\RynthCore.Engine\Compatibility\MutatorGate.cs" Link="Engine\MutatorGate.cs" />
|
|
<Compile Include="..\..\src\RynthCore.Engine\Compatibility\ReleasedObjectRetention.cs" Link="Engine\ReleasedObjectRetention.cs" />
|
|
<Compile Include="..\..\src\Shared\DumpInProgressRule.cs" Link="Shared\DumpInProgressRule.cs" />
|
|
<Compile Include="..\..\src\RynthCore.Engine\Compatibility\CastSlot.cs" Link="Engine\CastSlot.cs" />
|
|
<Compile Include="..\..\src\RynthCore.Engine\Compatibility\CrashExitRule.cs" Link="Engine\CrashExitRule.cs" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|