Generating Reproducible and Replayable Bug Reports from Android Application Crashes

被引:29
|
作者
White, Martin [1 ]
Linares-Vasquez, Mario [1 ]
Johnson, Peter [1 ]
Bernal-Cardenas, Carlos [1 ]
Poshyvanyk, Denys [1 ]
机构
[1] Coll William & Mary, Dept Comp Sci, Williamsburg, VA 23187 USA
关键词
Android; crash and bug reports; reproducibility;
D O I
10.1109/ICPC.2015.14
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Manually reproducing bugs is time-consuming and tedious. Software maintainers routinely try to reproduce unconfirmed issues using incomplete or noninformative bug reports. Consequently, while reproducing an issue, the maintainer must augment the report with information-such as a reliable sequence of descriptive steps to reproduce the bug-to aid developers with diagnosing the issue. This process encumbers issue resolution from the time the bug is entered in the issue tracking system until it is reproduced. This paper presents CRASHDROID, an approach for automating the process of reproducing a bug by translating the call stack from a crash report into expressive steps to reproduce the bug and a kernel event trace that can be replayed on-demand. CRASHDROID manages traceability links between scenarios' natural language descriptions, method call traces, and kernel event traces. We evaluated CRASHDROID on several open-source Android applications infected with errors. Given call stacks from crash reports, CRASHDROID was able to generate expressive steps to reproduce the bugs and automatically replay the crashes. Moreover, users were able to confirm the crashes faster with CRASHDROID than manually reproducing the bugs or using a stress-testing tool.
引用
收藏
页码:48 / 59
页数:12
相关论文
共 50 条
  • [21] Chaff from the Wheat: Characterizing and Determining Valid Bug Reports
    Fan, Yuanrui
    Xia, Xin
    Lo, David
    Hassan, Ahmed E.
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2020, 46 (05) : 495 - 525
  • [22] Patterns for Extracting High Level Information from Bug Reports
    Souza, Rodrigo
    Chavez, Christina
    Bittencourt, Roberto
    2013 1ST INTERNATIONAL WORKSHOP ON DATA ANALYSIS PATTERNS IN SOFTWARE ENGINEERING (DAPSE), 2013, : 29 - 31
  • [23] Exception handling bug hazards in Android: Results from a mining study and an exploratory survey
    Coelho, Roberta
    Almeida, Lucas
    Gousios, Georgios
    van Deursen, Arie
    Treude, Christoph
    Empirical Software Engineering, 2017, 22 (03): : 1264 - 1304
  • [24] Exception handling bug hazards in Android: Results from a mining study and an exploratory survey
    Coelho R.
    Almeida L.
    Gousios G.
    van Deursen A.
    Treude C.
    Empirical Software Engineering, 2017, 22 (3) : 1264 - 1304
  • [25] Automated Identification of Security Issues from Commit Messages and Bug Reports
    Zhou, Yaqin
    Sharma, Asankhaya
    ESEC/FSE 2017: PROCEEDINGS OF THE 2017 11TH JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2017, : 914 - 919
  • [26] BugListener: Identifying and Synthesizing Bug Reports from Collaborative Live Chats
    Shi, Lin
    Mu, Fangwen
    Zhang, Yumin
    Yang, Ye
    Chen, Junjie
    Chen, Xiao
    Jiang, Hanzhi
    Jiang, Ziyou
    Wang, Qing
    2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2022), 2022, : 299 - 311
  • [27] A Technical Platform for Generating Reproducible Expression Data from Streptomyces coelicolor Batch Cultivations
    Battke, F.
    Herbig, A.
    Wentzel, A.
    Jakobsen, O. M.
    Bonin, M.
    Hodgson, D. A.
    Wohlleben, W.
    Ellingsen, T. E.
    Nieselt, K.
    SOFTWARE TOOLS AND ALGORITHMS FOR BIOLOGICAL SYSTEMS, 2011, 696 : 3 - 15
  • [28] Generating Python']Python Mutants From Bug Fixes Using Neural Machine Translation
    Asik, Sergen
    Yayan, Ugur
    IEEE ACCESS, 2023, 11 : 85678 - 85693
  • [29] PerfLearner: Learning from Bug Reports to Understand and Generate Performance Test Frames
    Han, Xue
    Yu, Tingting
    Lo, David
    PROCEEDINGS OF THE 2018 33RD IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMTED SOFTWARE ENGINEERING (ASE' 18), 2018, : 17 - 28
  • [30] AC3R: Automatically Reconstructing Car Crashes from Police Reports
    Tri Huynh
    Gambi, Alessio
    Fraser, Gordon
    2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2019), 2019, : 31 - 34