<  Back to the Polytechnique Montréal portal

TraceSim: An alignment method for computing stack trace similarity

Irving Muller Rodrigues, Aleksandr Khvorov, Daniel Aloise, Roman Vasiliev, Dmitrij Koznov, Eraldo Rezende Fernandes, George Chernishev, Dmitry Luciv and Nikita Povarov

Article (2022)

Open Access document in PolyPublie
[img]
Preview
Open Access to the full text of this document
Accepted Version
Terms of Use: All rights reserved
Download (1MB)
Show abstract
Hide abstract

Abstract

Software systems can automatically submit crash reports to a repository for investigation when program failures occur. A significant portion of these crash reports are duplicate, i.e., they are caused by the same software issue. Therefore, if the volume of submitted reports is very large, automatic grouping of duplicate crash reports can significantly ease and speed up analysis of software failures. This task is known as crash report deduplication. Given a huge volume of incoming reports, increasing quality of deduplication is an important task. The majority of studies address it via information retrieval or sequence matching methods based on the similarity of stack traces from two crash reports. While information retrieval methods disregard the position of a frame in a stack trace, the existing works based on sequence matching algorithms do not fully consider subroutine global frequency and unmatched frames. Besides, due to data distribution differences among software projects, parameters that are learned using machine learning algorithms are necessary to provide more flexibility to the methods. In this paper, we propose TraceSim – an approach for crash report deduplication which combines TF-IDF, optimum global alignment, and machine learning (ML) in a novel way. Moreover, we propose a new evaluation methodology for this task that is more comprehensive and robust than previously used evaluation approaches. TraceSim significantly outperforms seven baselines and state-of-the-art methods in the majority of the scenarios. It is the only approach that achieves competitive results on all datasets regarding all considered metrics. Moreover, we conduct an extensive ablation study that demonstrates the importance of each TraceSim’s element to its final performance and robustness. Finally, we provide the source code for all considered methods and evaluation methodology as well as the created datasets.

Uncontrolled Keywords

Duplicate crash report, Crash report deduplication, Duplicate crash report detection, Automatic crash reporting, Stack trace

Subjects: 2700 Information technology > 2704 Distributed and parallel processing
2700 Information technology > 2706 Software engineering
2700 Information technology > 2713 Algorithms
2700 Information technology > 2714 Mathematics of computing
Department: Department of Computer Engineering and Software Engineering
Funders: CRSNG / NSERC, Ericsson, Ciena, EffciOS
PolyPublie URL: https://publications.polymtl.ca/50496/
Journal Title: Empirical Software Engineering (vol. 27, no. 2)
Publisher: Springer
DOI: 10.1007/s10664-021-10070-w
Official URL: https://doi.org/10.1007/s10664-021-10070-w
Date Deposited: 18 Apr 2023 14:59
Last Modified: 05 Apr 2024 17:20
Cite in APA 7: Muller Rodrigues, I., Khvorov, A., Aloise, D., Vasiliev, R., Koznov, D., Fernandes, E. R., Chernishev, G., Luciv, D., & Povarov, N. (2022). TraceSim: An alignment method for computing stack trace similarity. Empirical Software Engineering, 27(2), 41 pages. https://doi.org/10.1007/s10664-021-10070-w

Statistics

Total downloads

Downloads per month in the last year

Origin of downloads

Dimensions

Repository Staff Only

View Item View Item