Back to search

McGill University

Detecting race conditions in distributed concurrent systems

Abstract

dc:description.abstract

Nondeterminism makes distributed concurrent systems difficult to test, monitor and control. An execution of a message-passing system is nondeterministic when message races exist. Message race occurs when, e.g., multiple conflicting requests from different clients are competing to be executed within a server entity. Therefore, techniques for race detection by tracing messages are an essential part of a test and debugging tool for distributed concurrent systems. In this thesis, race conditions are investigated in the context of the Testing and Monitoring Tool (TMT). TMT is a monitoring and testing tool for distributed software systems, which is developed by the Department of Software Engineering, Corporate Technology (ZT SE), Siemens AG, Munich, Germany. An existing method is used to determine the race set for each receive event in the trace from a single execution. Race sets indicate the potential races in a system run that may happen. The execution of the program is deterministic if and only if all race sets of the program execution are empty. The method is detailed, implemented in Java and integrated in the TMT tool. A trace comparison method is developed that determines whether races actually occurred during two particular executions of the same system. If the race set for a receive event in the first trace is equal to the race set of the matching receive event in the second trace, a race did not happen for this receive event, otherwise, a race happened. The method is also implemented in Java and integrated in the TMT tool. The GUI of the developed prototype tool is presented and the tool is illustrated on an example.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Grantor dc:publisher
McGill University
Year dc:date.issued
2000

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Lu, Rong, 1969-
Advisor dc:contributor.advisor
  • Petrenko, Alexandre (Supervisor)

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
898067927
Dc Identifier Other
hyrax:d504rn108

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Lu, Rong, 1969-. Detecting race conditions in distributed concurrent systems. McGill University, 2000. https://doi.org/10.82308/14862