Title | Locating Framework-specific Crashing Faults with Compact and Explainable Candidate Set |
Author | |
Corresponding Author | Yan, Jun |
DOI | |
Publication Years | 2023
|
Conference Name | 45th IEEE/ACM International Conference on Software Engineering (ICSE)
|
ISSN | 0270-5257
|
ISBN | 978-1-6654-5702-6
|
Source Title | |
Pages | 172-183
|
Conference Date | MAY 14-20, 2023
|
Conference Place | null,Melbourne,AUSTRALIA
|
Publication Place | 10662 LOS VAQUEROS CIRCLE, PO BOX 3014, LOS ALAMITOS, CA 90720-1264 USA
|
Publisher | |
Abstract | Nowadays, many applications do not exist independently but rely on various frameworks or libraries. The frequent evolution and the complex implementation of framework APIs induce lots of unexpected post-release crashes. Starting from the crash stack traces, existing approaches either perform application-level call graph (CG) tracing or construct datasets with similar crash-fixing records to locate buggy methods. However, these approaches are limited by the completeness of CG or dependent on historical fixing records, and some of them only focus on specific manually modeled exception types. To achieve effective debugging on complex framework-specific crashes, we propose a code-separation-based locating approach that weakly relies on CG tracing and does not require any prior knowledge. Our key insight is that one crash trace with the description message can be mapped to a definite exceptionthrown point in the framework, the semantics analysis of which can help to figure out the root causes of the crash-triggering procedure. Thus, we can pre-construct reusable summaries for all the framework-specific exceptions to support fault localization in application code. Based on that idea, we design the exceptionthrown summary (ETS) that describes both the key variables and key APIs related to the exception triggering. Then, we perform static analysis to automatically compute such summaries and make a data-tracking of key variables and APIs in the application code to get the ranked buggy candidates. In the scenario of locating Android framework-specific crashing faults, our tool CrashTracker exhibited an overall MRR value of 0.91 and outperforms the state-of-the-art tool Anchor with higher precision. It only provides a compact candidate set and gives user-friendly reports with explainable reasons for each candidate. |
Keywords | |
SUSTech Authorship | Others
|
Language | English
|
URL | [Source Record] |
Indexed By | |
Funding Project | National Natural Science Foundation of China[
|
WOS Research Area | Computer Science
|
WOS Subject | Computer Science, Software Engineering
; Computer Science, Theory & Methods
|
WOS Accession No | WOS:001032629800017
|
Data Source | Web of Science
|
PDF url | https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10172816 |
Citation statistics |
Cited Times [WOS]:0
|
Document Type | Conference paper |
Identifier | http://kc.sustech.edu.cn/handle/2SGJ60CL/553223 |
Department | Department of Computer Science and Engineering |
Affiliation | 1.Chinese Acad Sci, Inst Software, Technol Ctr Software Engn, Beijing, Peoples R China 2.Univ Chinese Acad Sci, Beijing, Peoples R China 3.Southern Univ Sci & Technol, Dept Comp Sci & Engn, Shenzhen, Peoples R China 4.Chinese Acad Sci, Inst Software, State Key Lab Comp Sci, Beijing, Peoples R China |
Recommended Citation GB/T 7714 |
Yan, Jiwei,Wang, Miaomiao,Liu, Yepang,et al. Locating Framework-specific Crashing Faults with Compact and Explainable Candidate Set[C]. 10662 LOS VAQUEROS CIRCLE, PO BOX 3014, LOS ALAMITOS, CA 90720-1264 USA:IEEE COMPUTER SOC,2023:172-183.
|
Files in This Item: | There are no files associated with this item. |
|
Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.
Edit Comment