arrow
Return

A formal semantics for debugging synchronous message passing-based concurrent programs

delete2014-12-10
delete6
PRE
AI
H
He Li *
J
Jie Luo
李
李蔚 (Wei Li)
DOI:10.1007/s11432-014-5150-4delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
In this paper, we propose a semantic framework to debug synchronous message passing-based concurrent programs, which are increasingly useful as parallel computing and distributed systems become more and more pervasive. We first design a concurrent programming language model to uniformly represent existing concurrent programming languages. Compared to sequential programming languages, this model contains communication statements, i.e., sending and receiving statements, and a concurrent structure to represent communication and concurrency. We then propose a debugging process consisting of a tracing and a locating procedure. The tracing procedure re-executes a program with a failed test case and uses specially designed data structures to collect useful execution information for locating bugs. We provide for the tracing procedure a structural operational semantics to represent synchronous communication and concurrency. The locating procedure backward locates the ill-designed statement by using information obtained in the tracing procedure, generates a fix equation, and tries to fix the bug by solving the fix equation. We also propose a structural operational semantics for the locating procedure. We supply two examples to test our proposed operational semantics.
Keywords:
debugging
synchronous
message passing
concurrent program
operational semantics
The Complexity of Testing Message-Passing Concurrency
err2026-01-01
err0
PREAI
errShi, Zheng; Moldrup, Lasse; Mathur, Umang; Pavlogiannis, Andreas
errShare
errSave
DafnyMPI: A Dafny Library for Verifying Message-Passing Concurrent Programs
err2026-01-01
err0
PREAI
errFedchin, Aleksandr; Mejr, Antero; Sundar, Hari; Foster, Jeffrey S.
errShare
errSave

Journal

Science China Information Sciences cover
Science China Information Sciences
IF:
7.6
Papers:
4.9K
Citations:
1.2W

Organization

bei hang university cover
bei hang university
Scholars:
735
Papers: 224
Citations: 3.2W
Cited Papers

Cited Papers

errShare
errSave
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
AIDS: a doctor's duty.
errBMJ
IF0
err1987-02-14
err0
errOAAI
errP J Guy
errShare
errSave
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
researcher View more