llvm
30a24362 - [SYCL][CI][diagnostic] Capture adapter-UAF crash stack via cdb

Commit
82 days ago
[SYCL][CI][diagnostic] Capture adapter-UAF crash stack via cdb The UR leak-check run confirmed the use-after-free reproduces (both tests crash with SEH 0xC0000005 mid-test), but gtest swallows the SEH and prints no stack, and the teardown leak dump is partly crash debris (SEH skips the crashing test's local destructors). To get the actual fault stack, run the single crashing test (SubDevices.BuildProgramForSubSubDevices) under the Windows debugger: cdb -g -G -c ".symfix; .reload; sxe av; g; r; kP 200; ~*kP; !analyze -v; q" EXE --gtest_filter=... --gtest_catch_exceptions=0 --gtest_catch_exceptions=0 lets the access violation reach cdb instead of being swallowed; sxe av breaks at the faulting instruction; the return addresses on the stack name the call_nocheck / ~Managed caller even when RIP=0. cdb ships with the Windows SDK Debuggers component; the step locates cdb.exe, is best-effort, tolerates the crash, and uploads the log as adapter_uaf_crash_log. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author
Parents
Loading