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 条
  • [31] Application of Deep Learning in Generating Structured Radiology Reports: A Transformer-Based Technique
    Moezzi, Seyed Ali Reza
    Ghaedi, Abdolrahman
    Rahmanian, Mojdeh
    Mousavi, Seyedeh Zahra
    Sami, Ashkan
    JOURNAL OF DIGITAL IMAGING, 2023, 36 (01) : 80 - 90
  • [32] Application of Deep Learning in Generating Structured Radiology Reports: A Transformer-Based Technique
    Seyed Ali Reza Moezzi
    Abdolrahman Ghaedi
    Mojdeh Rahmanian
    Seyedeh Zahra Mousavi
    Ashkan Sami
    Journal of Digital Imaging, 2023, 36 : 80 - 90
  • [33] Application for Generating Camouflages from Satellite Photographs
    Poniszewska-Maranda, Aneta
    Stepien, Krzysztof
    Suszek, Michal
    INFORMATION SYSTEMS, EMCIS 2022, 2023, 464 : 616 - 629
  • [34] GIFT: a tool for generating free text reports from encoded data
    Panzarasa, Silvia
    Quaglini, Silvana
    Pessina, Mauro
    Cavallini, Anna
    Micieli, Giuseppe
    11TH MEDITERRANEAN CONFERENCE ON MEDICAL AND BIOLOGICAL ENGINEERING AND COMPUTING 2007, VOLS 1 AND 2, 2007, 16 (1-2): : 152 - +
  • [35] GENERATING NATURAL-LANGUAGE STOCK REPORTS FROM NUMERIC DATA
    KUKICH, K
    PROCEEDINGS OF THE AMERICAN SOCIETY FOR INFORMATION SCIENCE, 1982, 19 : 151 - 154
  • [36] Towards Generating Financial Reports from Tabular Data Using Transformers
    Chapman, Clayton Leroy
    Hillebrand, Lars
    Stenzel, Marc Robin
    Deusser, Tobias
    Biesner, David
    Bauckhage, Christian
    Sifa, Rafet
    MACHINE LEARNING AND KNOWLEDGE EXTRACTION, CD-MAKE 2022, 2022, 13480 : 221 - 232
  • [37] Generating Modeling Data From Repeat-Dose Toxicity Reports
    Lopez-Massaguer, Oriol
    Pinto-Gil, Kevin
    Sanz, Ferran
    Amberg, Alexander
    Anger, Lennart T.
    Stolte, Manuela
    Ravagli, Carlo
    Marc, Philippe
    Pastor, Manuel
    TOXICOLOGICAL SCIENCES, 2018, 162 (01) : 287 - 300
  • [38] Generating Mammography Reports from Multi-view Mammograms with BERT
    Yalunin, Alexander
    Sokolova, Elena
    Burenko, Ilya
    Ponomarchuk, Alexander
    Puchkova, Olga
    Umerenkov, Dmitriy
    FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, EMNLP 2021, 2021, : 153 - 162
  • [39] Application of text mining techniques to identify actual wrong-way driving (WWD) crashes in police reports
    Hosseini, Parisa
    Khoshsirat, Seyedalireza
    Jalayer, Mohammad
    Das, Subasish
    Zhou, Huaguo
    INTERNATIONAL JOURNAL OF TRANSPORTATION SCIENCE AND TECHNOLOGY, 2023, 12 (04) : 1038 - 1051
  • [40] Automatically Reconstructing Car Crashes from Police Reports for Testing Self-Driving Cars
    Gambi, Alessio
    Tri Huynh
    Fraser, Gordon
    2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2019), 2019, : 290 - 291