Fit2Crash: Specialising Fitness Functions for Crash Reproduction

Master Thesis (2020)
Author(s)

S. Xiang (TU Delft - Electrical Engineering, Mathematics and Computer Science)

Contributor(s)

Andy Zaidman – Mentor (TU Delft - Software Engineering)

Annibale Panichella – Graduation committee member (TU Delft - Software Engineering)

J.G.H. Cockx – Graduation committee member (TU Delft - Programming Languages)

Xavier DEVROEY – Mentor (TU Delft - Software Engineering)

P. Derakhshanfar – Mentor (TU Delft - Software Engineering)

Faculty
Electrical Engineering, Mathematics and Computer Science
Copyright
© 2020 Shang Xiang
More Info
expand_more
Publication Year
2020
Language
English
Copyright
© 2020 Shang Xiang
Graduation Date
19-03-2020
Awarding Institution
Delft University of Technology
Project
['STAMP-project | Botsing']
Programme
['Computer Science']
Faculty
Electrical Engineering, Mathematics and Computer Science
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

Software applications inevitably crash, and it is time-consuming to recreate the crash conditions for debugging. Recently, researchers have developed frameworks relying on genetic algorithms, e.g. Botsing, for automated crash reproduction. However, the existing approaches process exceptions of different types as if they were the same. In this thesis, we study how the four most common types of Java exceptions are thrown and define specialised fitness functions for them. We have extended Botsing and carried out an evaluation against 52 real-world crashes from seven various open-source software applications. Our results show that our proposed fitness functions influence both the effectiveness and efficiency, negatively or positively depending on the type of the target exception. This thesis demonstrates how tailoring the fitness functions according to the exception type can improve search-based crash reproduction.

Files

License info not available