Files
xenia-rs/audit-runs/iterate-2AU-xaudio-cadence/clean-exit-thread-state.json
MechaCat02 ef93a4fa14 handoff: VSync/event-wedge fixes + iterate 2.A–2.BC research notes
Source changes (dormant parity infra, retained from iterate 2.AI/2.AO):
- xenia-kernel/exports.rs: nt_create_event manual_reset polarity +
  related event wiring
- xenia-gpu/mmio_region.rs: D1MODE_VBLANK_VLINE_STATUS hardcode parity

Also lands the audit-runs/ analysis notes (.md/.txt/.json digests) for the
iterate 2.x VSync/0x10e8/0x1004 wedge investigation. Raw trace dumps
(.jsonl/.gz/.csv/.stdout) and agent worktrees (.claude/) are gitignored as
regenerable local artifacts — see memory + HANDOFF for the running findings.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 07:19:08 +02:00

762 lines
17 KiB
JSON

{
"alive_threads": [
{
"affinity_mask": "0xff",
"block_reason": {
"deadline_ns_or_inf": null,
"handles": [
{
"handle": "0x000010e8",
"object": {
"manual_reset": false,
"signaled": false,
"type": "Event",
"waiters_tid": [
1
]
}
}
],
"kind": "WaitAny"
},
"hw_id": 0,
"idx": 0,
"lr": "0x824ac578",
"pc": "0x824ac578",
"priority": 0,
"sp": "0x7007f800",
"state": "Blocked",
"suspend_count": 0,
"tid": 1
},
{
"affinity_mask": "0xff",
"block_reason": {
"deadline_ns_or_inf": null,
"handles": [
{
"handle": "0x828a3244",
"object": {
"manual_reset": false,
"signaled": false,
"type": "Event",
"waiters_tid": [
11
]
}
},
{
"handle": "0x828a3220",
"object": {
"manual_reset": true,
"signaled": false,
"type": "Event",
"waiters_tid": [
11
]
}
}
],
"kind": "WaitAny"
},
"hw_id": 0,
"idx": 1,
"lr": "0x824d2a94",
"pc": "0x824d2a94",
"priority": 0,
"sp": "0x71497d90",
"state": "Blocked",
"suspend_count": 1,
"tid": 11
},
{
"affinity_mask": "0xff",
"block_reason": {
"deadline_ns_or_inf": null,
"handles": [
{
"handle": "0x000014dc",
"object": {
"manual_reset": false,
"signaled": false,
"type": "Event",
"waiters_tid": [
18
]
}
}
],
"kind": "WaitAny"
},
"hw_id": 0,
"idx": 2,
"lr": "0x824ac578",
"pc": "0x824ac578",
"priority": 0,
"sp": "0x7162bdf0",
"state": "Blocked",
"suspend_count": 0,
"tid": 18
},
{
"affinity_mask": "0xff",
"block_reason": {
"deadline_ns_or_inf": null,
"handles": [
{
"handle": "0x8287093c",
"object": {
"manual_reset": false,
"signaled": false,
"type": "Event",
"waiters_tid": [
2
]
}
}
],
"kind": "WaitAny"
},
"hw_id": 1,
"idx": 0,
"lr": "0x824a95f8",
"pc": "0x824a95f8",
"priority": 0,
"sp": "0x710ffd20",
"state": "Blocked",
"suspend_count": 0,
"tid": 2
},
{
"affinity_mask": "0x02",
"block_reason": {
"exit_code": 0
},
"hw_id": 1,
"idx": 1,
"lr": "0xbcbcbcbc",
"pc": "0xbcbcbcbc",
"priority": 0,
"sp": "0x715a7f00",
"state": "Exited",
"suspend_count": 0,
"tid": 13
},
{
"affinity_mask": "0x02",
"block_reason": {
"deadline_ns_or_inf": null,
"handles": [
{
"handle": "0x00001308",
"object": {
"count": 0,
"max": 2147483647,
"type": "Semaphore",
"waiters_tid": [
15,
16
]
}
}
],
"kind": "WaitAny"
},
"hw_id": 1,
"idx": 2,
"lr": "0x824ac578",
"pc": "0x824ac578",
"priority": 0,
"sp": "0x715e7e00",
"state": "Blocked",
"suspend_count": 0,
"tid": 15
},
{
"affinity_mask": "0x02",
"block_reason": {
"deadline_ns_or_inf": null,
"handles": [
{
"handle": "0x000014d0",
"object": {
"manual_reset": true,
"signaled": false,
"type": "Event",
"waiters_tid": [
17
]
}
},
{
"handle": "0x000014cc",
"object": {
"deadline": 9227100,
"signaled": false,
"type": "Timer",
"waiters_tid": [
17
]
}
}
],
"kind": "WaitAny"
},
"hw_id": 1,
"idx": 3,
"lr": "0x824ab214",
"pc": "0x824ab214",
"priority": 0,
"sp": "0x7161bc90",
"state": "Blocked",
"suspend_count": 0,
"tid": 17
},
{
"affinity_mask": "0x02",
"block_reason": {
"deadline_ns_or_inf": null,
"handles": [
{
"handle": "0x0000151c",
"object": {
"manual_reset": true,
"signaled": false,
"type": "Event",
"waiters_tid": [
20,
21
]
}
},
{
"handle": "0x01000000",
"object": {
"type": "unknown_or_dropped"
}
}
],
"kind": "WaitAny"
},
"hw_id": 1,
"idx": 4,
"lr": "0x824ab214",
"pc": "0x824ab214",
"priority": 0,
"sp": "0x7183bce0",
"state": "Blocked",
"suspend_count": 0,
"tid": 21
},
{
"affinity_mask": "0x04",
"block_reason": {
"deadline_ns_or_inf": 3000,
"handles": [
{
"handle": "0xbe8cbb5c",
"object": {
"manual_reset": true,
"signaled": false,
"type": "Event",
"waiters_tid": [
7
]
}
}
],
"kind": "WaitAny"
},
"hw_id": 2,
"idx": 0,
"lr": "0x824cd4f4",
"pc": "0x824cd4f4",
"priority": 17,
"sp": "0x71187e60",
"state": "Blocked",
"suspend_count": 0,
"tid": 7
},
{
"affinity_mask": "0x04",
"block_reason": null,
"hw_id": 2,
"idx": 1,
"lr": "0x824bf494",
"pc": "0x824c1790",
"priority": 0,
"sp": "0x71287ae0",
"state": "Ready",
"suspend_count": 0,
"tid": 8
},
{
"affinity_mask": "0x08",
"block_reason": {
"deadline_ns_or_inf": null,
"handles": [
{
"handle": "0x00001028",
"object": {
"count": 0,
"max": 2147483647,
"type": "Semaphore",
"waiters_tid": [
4
]
}
}
],
"kind": "WaitAny"
},
"hw_id": 3,
"idx": 0,
"lr": "0x824ac578",
"pc": "0x824ac578",
"priority": 0,
"sp": "0x7112fb80",
"state": "Blocked",
"suspend_count": 0,
"tid": 4
},
{
"affinity_mask": "0x08",
"block_reason": {
"deadline_ns_or_inf": 42948072,
"handles": [
{
"handle": "0x00001040",
"object": {
"manual_reset": true,
"signaled": false,
"type": "Event",
"waiters_tid": [
5
]
}
},
{
"handle": "0x00001044",
"object": {
"count": 0,
"max": 2147483647,
"type": "Semaphore",
"waiters_tid": [
5
]
}
}
],
"kind": "WaitAny"
},
"hw_id": 3,
"idx": 1,
"lr": "0x824ab214",
"pc": "0x824ab214",
"priority": 0,
"sp": "0x7116fc90",
"state": "Blocked",
"suspend_count": 0,
"tid": 5
},
{
"affinity_mask": "0x08",
"block_reason": {
"deadline_ns_or_inf": null,
"handles": [
{
"handle": "0x00001308",
"object": {
"count": 0,
"max": 2147483647,
"type": "Semaphore",
"waiters_tid": [
15,
16
]
}
}
],
"kind": "WaitAny"
},
"hw_id": 3,
"idx": 2,
"lr": "0x824ac578",
"pc": "0x824ac578",
"priority": 0,
"sp": "0x71617e00",
"state": "Blocked",
"suspend_count": 0,
"tid": 16
},
{
"affinity_mask": "0x08",
"block_reason": {
"deadline_ns_or_inf": null,
"handles": [
{
"handle": "0x0000151c",
"object": {
"manual_reset": true,
"signaled": false,
"type": "Event",
"waiters_tid": [
20,
21
]
}
},
{
"handle": "0x00001528",
"object": {
"count": 0,
"max": 2147483647,
"type": "Semaphore",
"waiters_tid": [
20
]
}
}
],
"kind": "WaitAny"
},
"hw_id": 3,
"idx": 3,
"lr": "0x824ab214",
"pc": "0x824ab214",
"priority": 0,
"sp": "0x7173bce0",
"state": "Blocked",
"suspend_count": 0,
"tid": 20
},
{
"affinity_mask": "0x10",
"block_reason": null,
"hw_id": 4,
"idx": 0,
"lr": "0x824d22b4",
"pc": "0x824d1404",
"priority": 15,
"sp": "0x71387df0",
"state": "Ready",
"suspend_count": 0,
"tid": 9
},
{
"affinity_mask": "0xff",
"block_reason": {
"exit_code": 0
},
"hw_id": 4,
"idx": 1,
"lr": "0xbcbcbcbc",
"pc": "0xbcbcbcbc",
"priority": 0,
"sp": "0x715b7f00",
"state": "Exited",
"suspend_count": 0,
"tid": 14
},
{
"affinity_mask": "0x10",
"block_reason": {
"deadline_ns_or_inf": null,
"handles": [
{
"handle": "0x00001510",
"object": {
"manual_reset": true,
"signaled": false,
"type": "Event",
"waiters_tid": [
19
]
}
},
{
"handle": "0x00001514",
"object": {
"count": 0,
"max": 2147483647,
"type": "Semaphore",
"waiters_tid": [
19
]
}
}
],
"kind": "WaitAny"
},
"hw_id": 4,
"idx": 2,
"lr": "0x824ab214",
"pc": "0x824ab214",
"priority": 0,
"sp": "0x7163bce0",
"state": "Blocked",
"suspend_count": 0,
"tid": 19
},
{
"affinity_mask": "0x20",
"block_reason": {
"deadline_ns_or_inf": null,
"handles": [
{
"handle": "0x00001020",
"object": {
"manual_reset": false,
"signaled": false,
"type": "Event",
"waiters_tid": [
3
]
}
}
],
"kind": "WaitAny"
},
"hw_id": 5,
"idx": 0,
"lr": "0x824ac578",
"pc": "0x824ac578",
"priority": 0,
"sp": "0x7111fdf0",
"state": "Blocked",
"suspend_count": 0,
"tid": 3
},
{
"affinity_mask": "0x20",
"block_reason": {
"deadline_ns_or_inf": 42948072,
"handles": [
{
"handle": "0x000010b0",
"object": {
"manual_reset": true,
"signaled": false,
"type": "Event",
"waiters_tid": [
6
]
}
},
{
"handle": "0x000010b4",
"object": {
"count": 0,
"max": 2147483647,
"type": "Semaphore",
"waiters_tid": [
6
]
}
}
],
"kind": "WaitAny"
},
"hw_id": 5,
"idx": 1,
"lr": "0x824ab214",
"pc": "0x824ab214",
"priority": 0,
"sp": "0x7117fc60",
"state": "Blocked",
"suspend_count": 0,
"tid": 6
},
{
"affinity_mask": "0x20",
"block_reason": null,
"hw_id": 5,
"idx": 2,
"lr": "0x824d22b4",
"pc": "0x824d140c",
"priority": 15,
"sp": "0x71487e00",
"state": "Ready",
"suspend_count": 0,
"tid": 10
},
{
"affinity_mask": "0x20",
"block_reason": {
"deadline_ns_or_inf": null,
"handles": [
{
"handle": "0x00001004",
"object": {
"manual_reset": false,
"signaled": false,
"type": "Event",
"waiters_tid": [
12
]
}
}
],
"kind": "WaitAny"
},
"hw_id": 5,
"idx": 3,
"lr": "0x824ac578",
"pc": "0x824ac578",
"priority": 0,
"sp": "0x714a7d90",
"state": "Blocked",
"suspend_count": 0,
"tid": 12
}
],
"produced_by": "ours",
"reason": "exit_dump",
"schema_version": 1,
"wedge_map": [
{
"handle": "0x000010e8",
"handle_type": "Event",
"signaler_tid_if_known": null,
"summary": "tid=1 → Event(sig=false)",
"waiter_pc": "0x824ac578",
"waiter_tid": 1
},
{
"handle": "0x828a3244",
"handle_type": "Event",
"signaler_tid_if_known": null,
"summary": "tid=11 → Event(sig=false)",
"waiter_pc": "0x824d2a94",
"waiter_tid": 11
},
{
"handle": "0x828a3220",
"handle_type": "Event",
"signaler_tid_if_known": null,
"summary": "tid=11 → Event(sig=false)",
"waiter_pc": "0x824d2a94",
"waiter_tid": 11
},
{
"handle": "0x000014dc",
"handle_type": "Event",
"signaler_tid_if_known": null,
"summary": "tid=18 → Event(sig=false)",
"waiter_pc": "0x824ac578",
"waiter_tid": 18
},
{
"handle": "0x8287093c",
"handle_type": "Event",
"signaler_tid_if_known": null,
"summary": "tid=2 → Event(sig=false)",
"waiter_pc": "0x824a95f8",
"waiter_tid": 2
},
{
"handle": "0x00001308",
"handle_type": "Semaphore",
"signaler_tid_if_known": null,
"summary": "tid=15 → Semaphore(0/2147483647)",
"waiter_pc": "0x824ac578",
"waiter_tid": 15
},
{
"handle": "0x000014d0",
"handle_type": "Event",
"signaler_tid_if_known": null,
"summary": "tid=17 → Event(sig=false)",
"waiter_pc": "0x824ab214",
"waiter_tid": 17
},
{
"handle": "0x000014cc",
"handle_type": "Timer",
"signaler_tid_if_known": null,
"summary": "tid=17 → handle 0x000014cc (Timer)",
"waiter_pc": "0x824ab214",
"waiter_tid": 17
},
{
"handle": "0x0000151c",
"handle_type": "Event",
"signaler_tid_if_known": null,
"summary": "tid=21 → Event(sig=false)",
"waiter_pc": "0x824ab214",
"waiter_tid": 21
},
{
"handle": "0x01000000",
"handle_type": "unknown",
"signaler_tid_if_known": null,
"summary": "tid=21 → handle 0x01000000 (unknown)",
"waiter_pc": "0x824ab214",
"waiter_tid": 21
},
{
"handle": "0x00001028",
"handle_type": "Semaphore",
"signaler_tid_if_known": null,
"summary": "tid=4 → Semaphore(0/2147483647)",
"waiter_pc": "0x824ac578",
"waiter_tid": 4
},
{
"handle": "0x00001308",
"handle_type": "Semaphore",
"signaler_tid_if_known": null,
"summary": "tid=16 → Semaphore(0/2147483647)",
"waiter_pc": "0x824ac578",
"waiter_tid": 16
},
{
"handle": "0x0000151c",
"handle_type": "Event",
"signaler_tid_if_known": null,
"summary": "tid=20 → Event(sig=false)",
"waiter_pc": "0x824ab214",
"waiter_tid": 20
},
{
"handle": "0x00001528",
"handle_type": "Semaphore",
"signaler_tid_if_known": null,
"summary": "tid=20 → Semaphore(0/2147483647)",
"waiter_pc": "0x824ab214",
"waiter_tid": 20
},
{
"handle": "0x00001510",
"handle_type": "Event",
"signaler_tid_if_known": null,
"summary": "tid=19 → Event(sig=false)",
"waiter_pc": "0x824ab214",
"waiter_tid": 19
},
{
"handle": "0x00001514",
"handle_type": "Semaphore",
"signaler_tid_if_known": null,
"summary": "tid=19 → Semaphore(0/2147483647)",
"waiter_pc": "0x824ab214",
"waiter_tid": 19
},
{
"handle": "0x00001020",
"handle_type": "Event",
"signaler_tid_if_known": null,
"summary": "tid=3 → Event(sig=false)",
"waiter_pc": "0x824ac578",
"waiter_tid": 3
},
{
"handle": "0x00001004",
"handle_type": "Event",
"signaler_tid_if_known": null,
"summary": "tid=12 → Event(sig=false)",
"waiter_pc": "0x824ac578",
"waiter_tid": 12
}
]
}