Do Coding Agents Understand Why Systems Crash---and Why They Don't?
Chenxi Huang, Haonan Wang, Jinghe Zhang, Aleksandr Nogikh, Franjo Ivan\v{c}i\'c, Petros Maniatis, Eugene Wu, Kostis Kaffes,
Key points
From the paper's conclusion- Together, these findings indicate that current coding agents cannot yet reliably reason about execution in complex systems codebases, and that paired evaluation is necessary to measure this ability.
Abstract
Coding agents are increasingly capable of fixing real-world bugs, yet they still struggle with large systems codebases such as the Linux kernel. To understand why, we test how agents reason about execution in these codebases through crash reasoning: predicting from source code whether a given input crashes the system. A correct prediction alone, however, does not establish this ability, since it may come from merely spotting suspicious code. In this paper, we propose source interventions: we pair source trees that differ by a single commit, so that the same input crashes only one of them, and test whether agents predict crashes more often on the crashing tree. Experiments with four coding agents on SysRB, our dataset of 934 such pairs from Linux and OSS-Fuzz projects, yield three main findings. First, agents are biased toward predicting no crash: they rarely raise false alarms but miss many real crashes, and even the best agent misses over a quarter of them. Second, locating the code that determines the crash outcome is not enough: agents often misjudge its effect, especially when the crash occurs far from that code. Third, testing only on crashing code is misleading: agents that merely notice suspicious code predict crashes on both source trees, which would look like correct reasoning on the crashing tree alone. Together, these findings indicate that current coding agents cannot yet reliably reason about execution in complex systems codebases, and that paired evaluation is necessary to measure this ability.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- From Faulty Claims to Incorrect Patches: An Empirical Study of Task-Grounded Reasoning in Coding AgentsarXiv · 2026
- Groundability, Not Scale Alone: When Weak Reviewers Can Audit Strong Coding AgentsarXiv · 2026
- Inquest: Log-Guided Root-Cause Code Localization with a Staged AgentarXiv · 2026
- Built on Broken Assumptions (BOBA): Why Coding Agents Cannot Be Left AlonearXiv · 2026
- Coding Agents Propagate Vulnerabilities in Code BasesarXiv · 2026
- From Dead Code and Static Requirements to Working Engines: Software Revival with Coding AgentsarXiv · 2026