arrow
返回

GoDetector: Detecting Concurrent Bug in Go

delete2021-01-01
delete3
delete
OA
AI
D
Dongwen Zhang
P
Penghao Qi
张杨 封面图
张杨 (Yang Zhang) *
DOI:10.1109/ACCESS.2021.3116027delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Go provides a new concurrency mechanism based on message-passing, which brings a series of new concurrency bugs. The existing tools are highly dependent on model-checking methods in which they take the source program as the input of model-checking tools to detect the potential concurrent bugs. However, these methods can only qualitatively obtain the concurrency of the program but not obtain the exact number of concurrency bugs in the program. Meanwhile, these approaches are not sensitive to dead codes, which are prone to false negatives. Furthermore, few works have been done on detecting WaitGroup-related bugs in Go concurrent programming, which may cause deadlock. To this end, this paper proposes a novel approach GoDetector to detect concurrent bugs. GoDetector uses a detecting algorithm and a pushdown automaton to verify the channel-related concurrent bugs and WaitGroup-related concurrent bugs separately. To support the evaluation of the tool, 30 benchmarks are collected from the existing tools. GoDetector reports 2 channel safety errors, 29 deadlocks, and 11 WaitGroup-related errors. Compared with the existing tool Godel, GoDetector has the capacity to report more concurrency bugs and fewer false positives. GoDetector also offers additional support for the detection of WaitGroup variables. The experimental results indicate that GoDetector is more efficient at detecting the concurrency in regards to accuracy and diversity.
Keyword:
Concurrent computing
Computer bugs
Tools
Programming
Codes
Model checking
Detectors
Concurrency bugs
channel
WaitGroup
static analysis
pushdown automaton

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

暂无机构信息
引用论文

引用论文

Heat-treating `Sharwil' Avocado for Cold Tolerance in Quarantine Cold Treatments
err1994-10-01
err0
errOAAI
errSuzanne S. Sanxter; Kate A. Nishijima; Harvey T. Chan
err分享
err收藏
Synthesis of new aromatic phosphoramidates under a three-component reaction
err2022-03-31
err0
PREAI
errMónica I. García-Aranda; Marco Franco-Pérez; Israel Bonilla-Landa; José Luis Castrejón-Flores; Angel Zamudio-Medina
err分享
err收藏
Foundations of Session Types and Behavioural Contracts
err2016-04-05
err148
errOAAI
errHuttel, Hans; Lanese, Ivan; Vasconcelos, Vasco T.; Caires, Luis; Carbone, Marco; Denielou, Pierre-Malo; Mostrous, Dimitris; Padovani, Luca; Ravara, Antonio; Tuosto, Emilio; Vieira, Hugo Torres; Zavattaro, Gianluigi
err分享
err收藏
The Social Construction of Disability in Schizophrenia
err2002-03-01
err0
PREAI
errCharmaine C. Williams; April A. Collins
err分享
err收藏
Local concentrations of gentamicin obtained by microdialysis after a controlled application of a GentaColl sponge in a porcine model
err2020-01-20
err0
errOAAI
errMaja B. Thomassen; Pelle Hanberg; Maiken Stilling; Klaus K. Petersen; Kjeld Søballe; Lasse B. Krag; Carsten S. Højskov; Mats Bue
err分享
err收藏
没有更多内容