Integrating Crash Report Mining and LLMs for Bug Localization and Repair: An Industrial Report
Marcos Medeiros, Uirá Kulesza, Christoph Treude, Daniel Lucena, Rafael Gomes, Roberta Coelho, Eiji Adachi, Rodrigo Bonifacio
Abstract
Analyzing crash-report bugs in large-scale industrial software systems requires substantial maintenance effort, particularly in production environments where developers must handle large volumes of crash reports and source code artifacts to localize and fix their root causes. While recent studies have shown that Large Language Models (LLMs) can assist with maintenance tasks, little is known about their effectiveness in supporting developers in analyzing crash-report bugs and repairing bugs associated with groups of crash reports in industrial settings. To address this gap, we investigate whether integrating crash report mining techniques---specifically stack trace clustering and suspicious file and method ranking---with LLMs can support crash localization and repair in production environments. We conduct a retrospective evaluation of five LLMs under four prompt configurations. After that, we chose the best model to run on 38 crash bugs collected from two large Java enterprise systems. We further analyze the structural characteristics and explanatory patterns of LLM-generated responses and assess localization and repair effectiveness through manual validation. Our results show that the best-performing configuration localizes up to 71% and correctly repairs 52% of crash bugs on the full dataset. These findings provide empirical evidence that combining crash report mining with LLM-based repair can effectively support debugging activities in industrial maintenance workflows.
Create a lesson
Related papers
Scaffold, Fill, Verify: An Industrial Experience Report on Agentic Generation of Integration Pipelines
Shared title terminologycs.SELuciano Lucindo Chaves, Renan Novais, Pablo Calvache
An Empirical Study of Vulnerability Localization with Third-Party Reports
Shared title terminologycs.SEMingsheng Cai, Joanna Cecilia da Silva Santos, Adriana Sejfia
What File-Level Hits Hide in Bug Localization: Paths, Functions, and Repair
Shared title terminologycs.SELibin Chen, Quanyou Lao, Luyao Wang et al.
Does Fault Localization Beat a Fresh Attempt? A Placebo-Controlled Study of Test-Guided Code Repair
Shared title terminologycs.SEAnik Jha
UML Class Diagram Evaluation and Repair Strategies based on LLMs
Shared title terminologycs.SEJie Liang, Peng Liang, Chong Wang
Separate What from How: Repairing Static Analyzer Summaries with a Typed Repair IR
Shared title terminologycs.SEJinbao Chen, Zixiang Zhou, Yu Zhang