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 条
  • [21] PETRI-NET-BASED ALGORITHMS FOR PARALLEL-CONTROLLER SYNTHESIS
    BILINSKI, K
    ADAMSKI, M
    SAUL, JM
    DAGLESS, EL
    IEE PROCEEDINGS-COMPUTERS AND DIGITAL TECHNIQUES, 1994, 141 (06): : 405 - 412
  • [22] Petri-net-based coordination motion control for legged robot
    Zhao, GT
    Zheng, HJ
    Wang, JS
    Li, TM
    2003 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN AND CYBERNETICS, VOLS 1-5, CONFERENCE PROCEEDINGS, 2003, : 581 - 586
  • [23] Verification of workflow task structures: A Petri-net-based approach
    van der Aalst, WMP
    ter Hofstede, AHM
    INFORMATION SYSTEMS, 2000, 25 (01) : 43 - 69
  • [24] Property Preservation by Petri-Net-Based Refinements in System Design
    Xia, Chuanliang
    PROCEEDINGS OF THE 9TH INTERNATIONAL CONFERENCE FOR YOUNG COMPUTER SCIENTISTS, VOLS 1-5, 2008, : 240 - 246
  • [25] Life-cycle inheritance - A Petri-net-based approach
    van der Aalst, WMP
    Basten, T
    APPLICATION AND THEORY OF PETRI NETS 1997, 1997, 1248 : 62 - 81
  • [26] Petri-net-based business process modeling for virtual enterprises
    Gou, HM
    Huang, BQ
    Liu, WH
    Ren, SJ
    Li, Y
    SMC 2000 CONFERENCE PROCEEDINGS: 2000 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN & CYBERNETICS, VOL 1-5, 2000, : 3183 - 3188
  • [27] Fast Petri-net-based sequence controller implemented on a DSP
    Di Stefano, A.
    Mirabella, O.
    1600, Springer-Verlag London Ltd., London, United Kingdom (09):
  • [28] A Petri-net-based Simulation and Optimization approach for IEM and EI
    Liu, Xiaofeng
    Xu, Xiaofei
    Deng, Shengchun
    I-ESA 2009: INTERNATIONAL CONFERENCE ON INTEROPERABILITY FOR ENTERPRISE SOFTWARE AND APPLICATIONS CHINA, PROCEEDINGS, 2009, : 129 - 134
  • [29] Petri-net-based description and verification of web services composition model
    Zhang, Pei-Yun
    Huang, Bo
    Sun, Ya-Min
    Xitong Fangzhen Xuebao / Journal of System Simulation, 2007, 19 (12): : 2872 - 2876
  • [30] Using a Fuzzy Petri-Net-Based Approach for the Offshore Weather Prediction
    Yan Chenghua
    Chen Qixiang
    ECBI: 2009 INTERNATIONAL CONFERENCE ON ELECTRONIC COMMERCE AND BUSINESS INTELLIGENCE, PROCEEDINGS, 2009, : 135 - +