A Petri-net-based Method For Detecting Bugs in Multiple Threads

被引:0
|
作者
Sun, Jiaquan [1 ]
Liu, Guanjun [1 ]
Xiang, Dongming [1 ]
Jiang, Changjun [1 ]
机构
[1] Tongji Univ, Shanghai Elect Transact & Informat Serv Collabora, Key Lab Embedded Syst & Serv Comp, Dept Comp Sci & Technol,Minist Educ, Shanghai 201804, Peoples R China
来源
PROCEEDINGS OF THE 2019 IEEE 16TH INTERNATIONAL CONFERENCE ON NETWORKING, SENSING AND CONTROL (ICNSC 2019) | 2019年
基金
中国国家自然科学基金; 国家重点研发计划;
关键词
multi-thread net; synchronization lock; reachability graph; concurrent bugs; ERRORS;
D O I
10.1109/icnsc.2019.8743177
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
A multi-thread program easily suffers from concurrent bugs such as livelock, deadlock and data inconsistency. The Petri-net-based methods are widely used to detect these errors. The existing models are good at modeling the logical structures such concurrency and synchronization locks, but short of modeling the changes of variables. However, some bugs are closely related with the changes of variables. In order to solve this problem, we put forward a new Petri net model called multi-thread net. This model can characterize overwriting, shared reading and synchronization locks. Moreover, we present a method to construct a reachability graph for every multi-thread net. Based on this graph, we develop an algorithm to detect concurrent bugs including deadlock, data race, order violation, and atomic violation. Furthermore, a Petri net tool is developed to model current programs and detect their concurrent bugs.
引用
收藏
页码:150 / 156
页数:7
相关论文
共 24 条
  • [21] The Probabilistic Liveness Decision Method of Unbounded Petri Nets Based on Machine Learning
    Qi, Hongda
    Wang, Junli
    Yan, Chungang
    Jiang, Changjun
    IEEE TRANSACTIONS ON SYSTEMS MAN CYBERNETICS-SYSTEMS, 2024, 54 (02): : 1070 - 1081
  • [22] Direction of Arrival Estimation Method for Multiple UHF Partial Discharge Sources Based on Virtual Array Extension
    Zhou, Nan
    Luo, Lingen
    Sheng, Gehao
    Jiang, Xiuchen
    IEEE TRANSACTIONS ON DIELECTRICS AND ELECTRICAL INSULATION, 2018, 25 (04) : 1526 - 1534
  • [23] Investigation of multiple cracking behavior of cement-based fiber composites by digital image correlation method
    Yildirim, Tarik
    Felekoglu, Kamile T.
    Godek, Eren
    Keskinates, Muhammer
    Felekoglu, Burak
    Onal, Okan
    JOURNAL OF THE FACULTY OF ENGINEERING AND ARCHITECTURE OF GAZI UNIVERSITY, 2019, 34 (01): : 479 - 493
  • [24] High-SNR multiple T2(*)-contrast magnetic resonance imaging using a robust denoising method based on tissue characteristics
    Eo, Taejoon
    Kim, Taeseong
    Jun, Yohan
    Lee, Hongpyo
    Ahn, Sung Soo
    Kim, Dong-Hyun
    Hwang, Dosik
    JOURNAL OF MAGNETIC RESONANCE IMAGING, 2017, 45 (06) : 1835 - 1845