diff options
| author | Claude <noreply@anthropic.com> | 2026-11-25 22:12:33 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-11-25 22:12:33 +0000 |
| commit | 8ff0a161ffa2588b75f674246521d45476762165 (patch) | |
| tree | db78e4a5f2d25d3d9e9e28ed2dd654d49c1f97c8 /runtime/test/vk_queue_query_sync_test.cpp | |
| parent | c626cb2dc26bd5ee594f57dc3cebbbe79f658967 (diff) | |
address_binding: review fixes for RT-FAULT-ADDRESS-OWNER
- A second Vulkan instance in the process no longer overwrites the messenger
handle (the first one was left alive past its instance): it is refused, and
enable_device only enables the extension for the instance that owns the
messenger. install/uninstall are under a lock.
- `on` is set only when a messenger records the device, and is atomic. With
LEONIDA_ADDRESS_BINDINGS=1 and nothing recording, the fault report says the
bindings were not recorded instead of reading as "no object there".
- An object that only shares the reported page with the fault address is
labelled "on the page" (unbound: "held the page"), not "containing".
- Tests: exact end and start of an object, page vs byte precision, unbind
matching by handle and size, the kept_unbound cap, recording from several
threads while a report reads, and the two-instance messenger cases. The test
builds on Linux too (setenv in place of _putenv_s).
Changes made by Claude Code (AI-assisted).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JPqXc6svM4pbBagTsVEYA3
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions