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 条
  • [1] ReCDroid: Automatically Reproducing Android Application Crashes from Bug Reports
    Zhao, Yu
    Yu, Tingting
    Su, Ting
    Liu, Yang
    Zheng, Wei
    Zhang, Jingzhi
    Halfond, William G. J.
    2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2019), 2019, : 128 - 139
  • [2] Automatically Extracting Bug Reproducing Steps from Android Bug Reports
    Zhao, Yu
    Miller, Kye
    Yu, Tingting
    Zheng, Wei
    Pu, Minchao
    REUSE IN THE BIG DATA ERA, 2019, 11602 : 100 - 111
  • [3] From android bug reports to android bug handling process: An empirical study of open-source development
    Yu L.
    Int. J. Open Source Softw. Processes, 4 (1-18): : 1 - 18
  • [4] R2Fix: Automatically Generating Bug Fixes from Bug Reports
    Liu, Chen
    Yang, Jinqiu
    Tan, Lin
    Hafiz, Munawar
    2013 IEEE SIXTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2013), 2013, : 282 - 291
  • [5] Enhancing Android Application Bug Reporting
    Moran, Kevin
    2015 10TH JOINT MEETING OF THE EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND THE ACM SIGSOFT SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE 2015) PROCEEDINGS, 2015, : 1045 - 1047
  • [6] An Empirical Analysis of Bug Reports and Bug Fixing in Open Source Android Apps
    Bhattacharya, Pamela
    Ulanova, Liudmila
    Neamtiu, Iulian
    Koduru, Sai Charan
    PROCEEDINGS OF THE 17TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR 2013), 2013, : 133 - 143
  • [7] Auto-completing Bug Reports for Android Applications
    Moran, Kevin
    Linares-Vasquez, Mario
    Bernal-Cardenas, Carlos
    Poshyvanyk, Denys
    2015 10TH JOINT MEETING OF THE EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND THE ACM SIGSOFT SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE 2015) PROCEEDINGS, 2015, : 673 - 686
  • [8] An Empirical Investigation into the Reproduction of Bug Reports for Android Apps
    Johnson, Jack
    Mahmud, Junayed
    Wendland, Tyler
    Moran, Kevin
    Rubin, Julia
    Fazzini, Mattia
    2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2022), 2022, : 321 - 332
  • [9] Automatically Capturing and Reproducing Android Application Crashes
    Sun, Junmei
    Yan, Kai
    Liu, Xuejiao
    Zhu, Min
    Xiao, Lei
    2019 COMPANION OF THE 19TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS-C 2019), 2019, : 524 - 525
  • [10] GIFdroid: Automated Replay of Visual Bug Reports for Android Apps
    Feng, Sidong
    Chen, Chunyang
    2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2022), 2022, : 1045 - 1057