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 条
  • [41] Structure and behavior preservation by Petri-net-based refinements in system design
    Huang, HJ
    Cheung, TY
    Mak, WM
    THEORETICAL COMPUTER SCIENCE, 2004, 328 (03) : 245 - 269
  • [42] Petri-net-based 2D design of DNA walker circuits
    Gilbert, David
    Heiner, Monika
    Rohr, Christian
    NATURAL COMPUTING, 2018, 17 (01) : 161 - 182
  • [43] Petri-net-based deductive reasoning strategy for fault identification in batch processes
    Wang, YF
    Chang, CT
    INDUSTRIAL & ENGINEERING CHEMISTRY RESEARCH, 2004, 43 (11) : 2704 - 2720
  • [44] Compositional verification of concurrent systems using Petri-net-based condensation rules
    Univ of Illinois at Chicago, Chicago, United States
    ACM Trans Program Lang Syst, 5 (917-979):
  • [45] A Petri-Net-Based Approach to Reliability Determination of Ontology-Based Service Compositions
    Xia, Yunni
    Luo, Xin
    Li, Jia
    Zhu, Qingsheng
    IEEE TRANSACTIONS ON SYSTEMS MAN CYBERNETICS-SYSTEMS, 2013, 43 (05): : 1240 - 1247
  • [46] Petri-Net-Based Model Checking for Privacy-Critical Multiagent Systems
    He, Leifeng
    Liu, Guanjun
    Zhou, Mengchu
    IEEE TRANSACTIONS ON COMPUTATIONAL SOCIAL SYSTEMS, 2023, 10 (02) : 563 - 576
  • [47] SRN: An extended Petri-Net-Based workflow model for Web service composition
    Tang, Y
    Chen, L
    He, KT
    Jing, N
    IEEE INTERNATIONAL CONFERENCE ON WEB SERVICES, PROCEEDINGS, 2004, : 591 - 599
  • [48] Compositional verification of concurrent systems using Petri-net-based condensation rules
    Juan, EYT
    Tsai, JJP
    Murata, T
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1998, 20 (05): : 917 - 979
  • [49] A Petri-Net-Based Virtual Deployment Testing Environment for Enterprise Software Systems
    Yu, Jian
    Han, Jun
    Schneider, Jean-Guy
    Hine, Cameron
    Versteeg, Steve
    COMPUTER JOURNAL, 2017, 60 (01): : 27 - 44
  • [50] Petri-Net-Based Scheduling of Flexible Manufacturing Systems Using an Estimate Function
    Xu, Gongdan
    Chen, Yufeng
    SYMMETRY-BASEL, 2022, 14 (05):