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
基金
中国国家自然科学基金; 国家重点研发计划;
关键词
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
相关论文
共 50 条
  • [31] A Petri-Net-based modelling approach to railway bridge asset management
    Yianni, Panayioti C.
    Rama, Dovile
    Neves, Luis C.
    Andrews, John D.
    Castlo, David
    STRUCTURE AND INFRASTRUCTURE ENGINEERING, 2017, 13 (02) : 287 - 297
  • [32] A Petri-net-based correctness analysis of Internet stock trading systems
    Du, YuYue
    Jiang, ChangJun
    Zhou, MengChu
    IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART C-APPLICATIONS AND REVIEWS, 2008, 38 (01): : 93 - 99
  • [33] Petri-Net-Based Charging Scheduling Optimization in Rechargeable Sensor Networks
    Qin, Huaiyu
    Ding, Wei
    Xu, Lei
    Ruan, Chenzhi
    SENSORS, 2024, 24 (19)
  • [34] A Petri-Net-Based Approach for Enhancing Clinical Reasoning in Medical Education
    Ricci, Fabrizio L.
    Consorti, Fabrizio
    Pecoraro, Fabrizio
    Luzi, Daniela
    Tamburis, Oscar
    IEEE TRANSACTIONS ON LEARNING TECHNOLOGIES, 2022, 15 (02): : 167 - 178
  • [35] Rapid Prototyping of Graphical User Interfaces for Petri-Net-Based Controllers
    Gomes, Luis
    Lourenco, Joao
    IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, 2010, 57 (05) : 1806 - 1813
  • [36] A Petri-Net-Based Anytime A∗ Search for Scheduling Resource Allocation Systems
    Lv, Jianyong
    Huang, Bo
    IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2024, 20 (02) : 2865 - 2872
  • [37] Hardware implementation of real-time Petri-net-based controllers
    Chang, N
    Kwon, WH
    Park, J
    CONTROL ENGINEERING PRACTICE, 1998, 6 (07) : 889 - 895
  • [38] A Petri-Net-Based Approach to QoS Estimation of Web Service Choreographies
    Xia, Yunni
    Chen, Jun
    Zhou, Mingqiang
    Huang, Yu
    ADVANCES IN WEB AND NETWORK TECHNOLOGIES, AND INFORMATION MANAGEMENT, 2009, 5731 : 113 - +
  • [39] Matlab tools for Petri-Net-Based approaches to flexible manufacturing systems
    Mahulea, C
    Barsan, L
    Pastravanu, O
    LARGE SCALE SYSTEMS: THEORY AND APPLICATIONS 2001 (LSS'01), 2001, : 199 - 204
  • [40] Petri-net-based robust supervisory control of automated manufacturing systems
    Yue, Hao
    Xing, Keyi
    Hu, Hesuan
    Wu, Weimin
    Su, Hongye
    CONTROL ENGINEERING PRACTICE, 2016, 54 : 176 - 189