RynthCore/native/SehTrampoline
Repository files (latest commit first)
Filename Latest commit message Latest commit date
BlankenshipG ab18df2ee3 fix(seh): log CoreCLR-hosted engine AVs immediately in the native crash logger
Since the engine moved to the CoreCLR shim host, its code is JIT'd into
private executable memory (no module), so CrashVeh's NativeAOT-module test
never matched and every engine AV went to the deferred ring. CoreCLR treats a
non-null AV in managed code as uncatchable and fail-fasts (HandleFatalError,
WER signature coreclr.dll+0x2c1c6e c0000005), which skips both the
unhandled-exception filter and DllMain detach, so the ring was never flushed
and native-crash.log stayed empty for every Kelpie crash since 2026-10-05.

CrashVeh now writes immediately any AV whose faulting address is JIT'd code
(committed MEM_PRIVATE executable memory), coreclr.dll, clrjit.dll or a
System.* / Microsoft.* framework image, when the data address is >= 64K
(lower addresses become a catchable NullReferenceException). Bumps the
trampoline to v3. Requires rebuilding RynthCore.SehTrampoline.dll with
Build-SehTrampoline.ps1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019zqH4e21Ceruc5ussksSjy
2026-10-06 16:19:06 +00:00
..
Build-SehTrampoline.ps1 feat: port aelrynth 2026.9.27.2 snapshot onto GitHub history 2026-10-04 15:43:50 +00:00
SehTrampoline.c fix(seh): log CoreCLR-hosted engine AVs immediately in the native crash logger 2026-10-06 16:19:06 +00:00