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 条
  • [1] Petri-Net-Based Analysis Method for Grid Services Composition Model
    Yu Xue-li
    Jiang Jing
    Xia Bai-qiang
    Pan Zhen-kuan
    2010 INTERNATIONAL CONFERENCE ON INNOVATIVE COMPUTING AND COMMUNICATION AND 2010 ASIA-PACIFIC CONFERENCE ON INFORMATION TECHNOLOGY AND OCEAN ENGINEERING: CICC-ITOE 2010, PROCEEDINGS, 2010, : 180 - 184
  • [2] A PETRI-NET-BASED METHOD TO THE DESIGN OF PARALLEL PROGRAMS FOR A MULTIPROCESSOR SYSTEM
    UNGER, H
    BENACHOUR, K
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 634 : 749 - 754
  • [3] Petri-net-based coordination algorithms for Grid transactions
    Tang, FL
    Li, ML
    Huang, JZX
    Wang, CL
    Luo, ZW
    PARALLEL AND DISTRIBUTED PROCESSING AND APPLICATIONS, PROCEEDINGS, 2004, 3358 : 499 - 508
  • [4] AgvSimNet: A Petri-Net-Based AGVS Simulation System
    S. Hsieh
    Y.-F. Chen
    The International Journal of Advanced Manufacturing Technology, 1999, 15 : 851 - 861
  • [5] AgvSimNet: A Petri-net-based AGVS simulation system
    Department of Mechanical Engineering, National Taiwan University, Taipei, Taiwan
    不详
    Int J Adv Manuf Technol, 11 (851-861):
  • [6] Petri-net-based evaluation of the performance of distributed systems
    Shirochin, V.P.
    Moskalkov, A.M.
    Obeidat, A.-S.
    1600, Gordon & Breach Science Publ Inc, Newark, NJ, United States (12):
  • [7] A Petri-net-based structure for AS/RS operation modelling
    Hsieh, S
    Hwang, JS
    Chou, HC
    INTERNATIONAL JOURNAL OF PRODUCTION RESEARCH, 1998, 36 (12) : 3323 - 3346
  • [8] An affective learning agent with Petri-net-based implementation
    Su, Chong
    Li, Hongguang
    APPLIED INTELLIGENCE, 2012, 37 (04) : 569 - 585
  • [9] Business process redesign: A petri-net-based approach
    vanderAalst, WMP
    vanHee, KM
    COMPUTERS IN INDUSTRY, 1996, 29 (1-2) : 15 - 26
  • [10] An affective learning agent with Petri-net-based implementation
    Chong Su
    Hongguang Li
    Applied Intelligence, 2012, 37 : 569 - 585