EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Exploring Large Language Models in Resolving Environment-Related Crash Bugs: Localizing and Repairing

Xueying Du, Mingwei Liu, Hanlin Wang, Juntao Li, Xin Peng, Yiling Lou

ACM Transactions on Software Engineering and Methodology · 30.09.2026 · 35 (9) · 1-25

DOI: 10.1145/3788866 ↗

Kurz gefasst

Fachartikel in der Zeitschrift ACM Transactions on Software Engineering and Methodology, online erschienen am 21.08.2026. Verfasst von Xueying Du und 5 weiteren Autor:innen. Die Arbeit wurde bisher 2-mal zitiert (Crossref) und nennt 86 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: National Natural Science Foundation of China.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Software crash bugs cause unexpected program behaviors or even abrupt termination, thus demanding immediate resolution. However, resolving crash bugs can be challenging due to their complex root causes, which can originate from issues in the source code or external factors like third-party library dependencies. Large language models (LLMs) have shown promise in software engineering tasks, leveraging their extensive pretraining on text and code corpora. However, existing research predominantly focuses on the capability of LLMs to localize and repair code-related crash bugs, leaving their effectiveness in resolving environment-related crash bugs in real-world software unexplored. To fill this gap, we conducted the first comprehensive study to assess the capability of LLMs in resolving real-world environment-related crash bugs, using a newly constructed dataset of 100 representative crash bugs. We first systematically compare LLMs’ performance in resolving code-related and environment-related crash bugs with varying levels of crash contextual information. Our findings reveal that the LLM performs better in resolving code-related crash bugs compared to environment-related ones. Specifically, localization is the primary challenge for resolving code-related crashes, while repair poses a greater challenge for environment-related crashes. Furthermore, we investigate the impact of different prompt strategies on improving the resolution of environment-related crash bugs, incorporating different prompt templates and multi-round interactions. Building on this, we further explore an advanced active inquiry prompting strategy, which leverages the self-planning capabilities of LLMs to conduct systematic and continuous questioning aimed at identifying potential environmental factors that contribute to crashes. Based on these explorations, we propose IntDiagSolver, an interactive methodology designed to enable precise crash bug resolution through ongoing engagement with LLMs. Extensive evaluations of IntDiagSolver on a dataset of 41 crash bugs across multiple LLMs (including GPT-3.5, GPT-4, Claude, CodeLlama, DeepSeek-R1, and Qwen-3-Coder) demonstrate consistent improvements in resolution accuracy, with substantial enhancements ranging from 9.1% to 43.3% in localization and 9.1% to 53.3% in repair. Furthermore, the strong performance of IntDiagSolver on the latest expanded multilingual dataset of 42 crash bugs highlights its strong generalizability and effectiveness on previously unseen data.

Förderung

  • National Natural Science Foundation of China

Zitieren

APA

Du, X., Liu, M., Wang, H., Li, J., Peng, X., & Lou, Y. (2026). Exploring Large Language Models in Resolving Environment-Related Crash Bugs: Localizing and Repairing. ACM Transactions on Software Engineering and Methodology, 35(9), 1-25. https://doi.org/10.1145/3788866

Vancouver

Du X, Liu M, Wang H, Li J, Peng X, Lou Y. Exploring Large Language Models in Resolving Environment-Related Crash Bugs: Localizing and Repairing. ACM Transactions on Software Engineering and Methodology. 2026;35(9):1-25. doi:10.1145/3788866

BibTeX
@article{Du2026,
  author = {Du, Xueying and Liu, Mingwei and Wang, Hanlin and Li, Juntao and Peng, Xin and Lou, Yiling},
  title = {Exploring Large Language Models in Resolving Environment-Related Crash Bugs: Localizing and Repairing},
  journal = {ACM Transactions on Software Engineering and Methodology},
  year = {2026},
  volume = {35},
  number = {9},
  pages = {1--25},
  doi = {10.1145/3788866}
}
Kostenlos starten →