[Paper Review] Locating Crashing Faults based on Crash Stack Traces
This paper proposes a statistical fault localization framework that uses crash stack traces to generate execution spectra from failing and passing traces, applying techniques like Ochiai to rank suspicious functions. Evaluated on real Firefox crash reports, the method locates 63.9% of crashing faults by analyzing only 5% of functions in the spectra, significantly reducing debugging effort.
Software crashes due to its increasing complexity. Once a crash happens, a crash report could be sent to software developers for investigation upon user permission. Because of the large number of crash reports and limited information, debugging for crashes is often a tedious and labor-intensive task. In this paper, we propose a statistical fault localization framework to help developers locate functions that contain crashing faults. We generate the execution traces for the failing traces based on the crash stack, and the passing traces from normal executions. We form program spectra by combining generated passing and failing trace, and then apply statistical fault localization techniques such as Ochiai to locate the crashing faults. We also propose two heuristics to improve the fault localization performance. We evaluate our approach using the real-world Firefox crash report data. The results show that the performance of our method is promising. Our approach permits developers to locate 63.9% crashing faults by examining only 5% Firefox 3.6 functions in the spectra.
Motivation & Objective
- To reduce the labor-intensive effort of debugging software crashes by automating fault localization.
- To address the challenge of analyzing large volumes of crash reports with limited diagnostic information.
- To improve fault localization precision by leveraging crash stack traces and execution spectra.
- To evaluate the effectiveness of statistical fault localization techniques on real-world crash data.
- To propose heuristics that enhance fault localization performance in practice.
Proposed method
- Generate execution traces from crash stack traces for failing executions.
- Collect normal execution traces to form passing traces for comparison.
- Construct program spectra by combining passing and failing traces.
- Apply statistical fault localization techniques such as Ochiai to rank functions by suspiciousness.
- Introduce two heuristics to refine fault localization results and improve ranking accuracy.
- Use real Firefox 3.6 crash reports to evaluate the framework on actual crash data.
Experimental results
Research questions
- RQ1Can crash stack traces be effectively used to generate execution spectra for fault localization?
- RQ2How accurately can statistical fault localization techniques identify crashing faults using stack trace-derived spectra?
- RQ3To what extent do proposed heuristics improve fault localization precision?
- RQ4What percentage of crashing faults can be located by examining only a small fraction of functions in the spectra?
- RQ5How does the method perform on real-world crash data from Firefox?
Key findings
- The proposed method locates 63.9% of crashing faults by analyzing only 5% of functions in the spectra.
- The framework significantly reduces the number of functions developers need to inspect for crash debugging.
- Statistical fault localization techniques like Ochiai are effective when applied to stack trace-derived execution spectra.
- The two proposed heuristics improve fault localization performance, though specific metrics are not quantified in the abstract.
- The method demonstrates strong practical potential for real-world crash debugging in complex software systems.
- Evaluation on real Firefox crash reports confirms the method's promise in reducing debugging effort.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.