Mining Sequential Patterns to Explain Concurrent Counterexamples

  • Stefan Leue
  • Mitra Tabaei Befrouei
Conference paper

DOI: 10.1007/978-3-642-39176-7_17

Volume 7976 of the book series Lecture Notes in Computer Science (LNCS)
Cite this paper as:
Leue S., Befrouei M.T. (2013) Mining Sequential Patterns to Explain Concurrent Counterexamples. In: Bartocci E., Ramakrishnan C.R. (eds) Model Checking Software. SPIN 2013. Lecture Notes in Computer Science, vol 7976. Springer, Berlin, Heidelberg

Abstract

Concurrent systems are often modeled using an interleaving semantics. Since system designers tend to think sequentially, it is highly probable that they do not foresee some interleavings that their model encompasses. As a consequence, one of the main sources of failure in concurrent systems is unforeseen interleavings. In this paper, we devise an automated method for revealing unforeseen interleavings in the form of sequences of actions derived from counterexamples obtained by explicit state model checking. In order to extract such sequences we use a data mining technique called sequential pattern mining. Our method is based on contrasting the patterns of a set of counterexamples with the patterns of a set of correct traces that do not violate a desired property. We first argue that mining sequential patterns from the dataset of counterexamples fails due to the inherent complexity of the problem. We then propose a reduction technique designed to reduce the length of the execution traces in order to make the problem more tractable. We finally demonstrate the effectiveness of our approach by applying it to a number of sample case studies.

Keywords

concurrency bugs counterexample explanation sequential pattern mining model checking 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  • Stefan Leue
    • 1
  • Mitra Tabaei Befrouei
    • 2
  1. 1.University of KonstanzGermany
  2. 2.Vienna University of TechnologyAustria