Lightweight labeling scheme for on-the-fly race detection of signal handlers

Guy Martin Tchamgoue, Ok Kyoon Ha, Kyong Hoon Kim, Yong Kee Jun

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

5 Scopus citations

Abstract

Data races represent one of the most notorious class of bugs in shared-memory parallel programs since they are hard to reproduce and can lead programs into unintended nondeterministic executions. However, data races can also show up in sequential programs that use signals when a signal handler and the sequential program both access without proper synchronization, a shared variable with at least one write-access operation. Unfortunately, existing tools for race detection in such programs produce high time and space overhead that drastically slow down the monitored program. This overhead is partly due to the use of costly and inappropriate timestamps originally designed for threads' ordering in multithreaded programs. This paper presents a lightweight labeling scheme for efficient on-the-fly race detection in sequential programs that use signal handlers. This scheme generates constant-sized labels for the program and its signal handlers and determines the logical concurrency between instructions accessing the same shared memory. Generating and comparing concurrency information are done in constant time. The efficiency of the technique and its limited footprint on the program execution make the on-the-fly race detection more practical in sequential programs.

Original languageEnglish
Title of host publicationUbiquitous Computing and Multimedia Applications - Second International Conference, UCMA 2011, Proceedings
Pages201-208
Number of pages8
EditionPART 2
DOIs
StatePublished - 2011
Event2nd International Conference on Ubiquitous Computing and Multimedia Applications, UCMA 2011 - Daejeon, Korea, Republic of
Duration: 13 Apr 201115 Apr 2011

Publication series

NameCommunications in Computer and Information Science
NumberPART 2
Volume151 CCIS
ISSN (Print)1865-0929

Conference

Conference2nd International Conference on Ubiquitous Computing and Multimedia Applications, UCMA 2011
Country/TerritoryKorea, Republic of
CityDaejeon
Period13/04/1115/04/11

Keywords

  • Data races
  • labeling scheme
  • on-the-fly race detection
  • sequential programs
  • signal
  • signal handlers

Fingerprint

Dive into the research topics of 'Lightweight labeling scheme for on-the-fly race detection of signal handlers'. Together they form a unique fingerprint.

Cite this