arrow
Return

Debugging Multithreaded Programs as if They Were Sequential

delete2018-01-01
delete2
delete
OA
AI
张
张晓东 (Xiaodong Zhang)
Z
Zijiang Yang
Q
Qinghua Zheng
H
Hao Yu
P
Pei Liu
L
Lechen Yu
刘烃 cover
刘烃 (Ting Liu) *
DOI:10.1109/ACCESS.2018.2835672delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Debugging multithread programs is extremely difficult because the basic assumption that underlies sequential program debugging, that is, the program behavior is deterministic under a fixed input, is no longer valid due to the nondeterminism attributed to thread scheduling. It is because the programs behavior is non-deterministic due to the nondeterminism of parallel execution, which makes debugging or testing multithreaded programs extremely difficult. In this paper, we propose a proactive debugging method to restore this basic assumption so that programmers can debug multithreaded programs as if they were sequential. Our approach is based on the synergistic integration of symbolic analysis and dynamic analysis techniques. In particular, symbolic analysis investigates the program behavior under the same input to search whether there is a thread schedule would trigger a bug or a not-yet-explored path. Dynamic analysis is to execute these new paths with the guide of the generated thread schedules, thereby further guiding the symbolic analysis. The net effect of applying this feedback loop is a systematic and complete coverage of the program behavior under a fixed test input. We implement the proposed approach in a prototype tool called proactive-debugger. Our experiments show that proactive-debugger outperforms both ESBMC and Maple, which are two powerful and well-known testing tools for failure detection in multithreaded programs.
Keywords:
Testing
debugging
multithreaded programs
symbolic analysis
constraint solving

Journal

IEEE Access cover
IEEE Access
IF:
3.6
Papers:
9.8W
Citations:
29.7W

Organization

X
Xi'an Jiaotong University
Scholars:
8.0K
Papers: 2.2K
Citations: 0
Cited Papers

Cited Papers

Stimulation of Yeast 3-Phosphoglycerate Kinase Gene Promoter by Paraquat
err2000-04-01
err0
errOAAI
errNeville Vassallo; Dolores R. Galea; William H. Bannister; Rena Balzan
errShare
errSave
errShare
errSave
Scalp Current Density Mapping in the Analysis of Mismatch Negativity Paradigms
err2013-10-29
err0
PREAI
errMarie-Hélène Giard; Julien Besle; Pierre-Emmanuel Aguera; Marie Gomot; Olivier Bertrand
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
errShare
errSave
Dependence Guided Symbolic Execution
err2017-03-01
err42
errOAAI
errWang, Haijun; Liu, Ting; Guan, Xiaohong; Shen, Chao; Zheng, Qinghua; Yang, Zijiang
errShare
errSave
researcher View more