debug_explain_fault
Decode a QEMU interrupt log to explain a crash or triple fault, filter timer and software interrupts, pinpoint the root cause, and symbolize addresses when an ELF is provided.
Instructions
Explain a crash / triple fault from a QEMU interrupt log.
Produce the log by running QEMU with -d int,cpu_reset -D <log_path>
(add -no-reboot so a triple fault stops the VM instead of looping).
Decodes the exception chain (vector names, page-fault and selector error
codes, CR2), filters out timer IRQs and software interrupts, points at
the root cause, and symbolizes addresses when elf is given. x86 only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"log_path": "<log_path>"
},
"name": "debug_explain_fault"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elf | No | ||
| log_path | Yes | ||
| max_events | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |