EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Error Delayed Is Not Error Handled: Understanding and Fixing Propagated Error-Handling Bugs

Haoran Liu, Shanshan Li, Zhouyang Jia, Yuanliang Zhang, Linxiao Bai, Si Zheng, Xiaoguang Mao, Xiangke Liao

Proceedings of the ACM on Software Engineering · 19.06.2025 · 2 (FSE) · 2571-2593

DOI: 10.1145/3729384 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Proceedings of the ACM on Software Engineering, online erschienen am 19.06.2025. Verfasst von Haoran Liu und 7 weiteren Autor:innen. Die Arbeit wurde bisher 4-mal zitiert (Crossref) und nennt 70 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: NSFC, the Science and Technology Innovation Program of Hunan Province, National University of Defense Technology Research Project.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Error handling is critical for software reliability. In software systems, error handling may be delayed to other functions. Such propagated error handling (PEH) could easily be missed and lead to bugs. Our research reveals that PEH bugs are prevalent in software systems and, on average, take 44.1 days to fully address. Existing approaches have primarily focused on the error-handling bug within individual functions, which makes it difficult to fully address PEH bugs. In this paper, we conducted the first in-depth study on PEH bugs in 11 mature software systems, examining how errors propagate and how they should be handled. We introduce EH-Fixer, an LLM-based tool for automated program repair specifically designed to address PEH bugs. For each PEH bug, EH-Fixer constructs its propagation path, and repairs them through retrieval-augmented generation. To assess the performance of our approach, we collected 89 historical PEH bugs from the Linux Kernel as well as 9 widely used applications. The experimental results show that EH-Fixer can fix 83.1% (74/89) of PEH bugs.

Förderung

  • NSFC
  • the Science and Technology Innovation Program of Hunan Province
  • National University of Defense Technology Research Project

Zitieren

APA

Liu, H., Li, S., Jia, Z., Zhang, Y., Bai, L., Zheng, S., Mao, X., & Liao, X. (2025). Error Delayed Is Not Error Handled: Understanding and Fixing Propagated Error-Handling Bugs. Proceedings of the ACM on Software Engineering, 2(FSE), 2571-2593. https://doi.org/10.1145/3729384

Vancouver

Liu H, Li S, Jia Z, Zhang Y, Bai L, Zheng S, et al. Error Delayed Is Not Error Handled: Understanding and Fixing Propagated Error-Handling Bugs. Proceedings of the ACM on Software Engineering. 2025;2(FSE):2571-2593. doi:10.1145/3729384

BibTeX
@article{Liu2025,
  author = {Liu, Haoran and Li, Shanshan and Jia, Zhouyang and Zhang, Yuanliang and Bai, Linxiao and Zheng, Si and Mao, Xiaoguang and Liao, Xiangke},
  title = {Error Delayed Is Not Error Handled: Understanding and Fixing Propagated Error-Handling Bugs},
  journal = {Proceedings of the ACM on Software Engineering},
  year = {2025},
  volume = {2},
  number = {FSE},
  pages = {2571--2593},
  doi = {10.1145/3729384}
}
Kostenlos starten →