• DocumentCode
    2074642
  • Title

    Detecting atomic-set serializability violations in multithreaded programs through active randomized testing

  • Author

    Lai, Zhifeng ; Cheung, S.C. ; Chan, W.K.

  • Author_Institution
    Dept. of Comput. Sci. & Eng., Hong Kong Univ. of Sci. & Technol., Kowloon, China
  • Volume
    1
  • fYear
    2010
  • fDate
    2-8 May 2010
  • Firstpage
    235
  • Lastpage
    244
  • Abstract
    Concurrency bugs are notoriously difficult to detect because there can be vast combinations of interleavings among concurrent threads, yet only a small fraction can reveal them. Atomic-set serializability characterizes a wide range of concurrency bugs, including data races and atomicity violations. In this paper, we propose a two-phase testing technique that can effectively detect atomic-set serializability violations. In Phase I, our technique infers potential violations that do not appear in a concrete execution and prunes those interleavings that are violation-free. In Phase II, our technique actively controls a thread scheduler to enumerate these potential scenarios identified in Phase I to look for real violations. We have implemented our technique as a prototype system AssetFuzzer and applied it to a number of subject programs for evaluating concurrency defect analysis techniques. The experimental results show that AssetFuzzer can identify more concurrency bugs than two recent testing tools RaceFuzzer and AtomFuzzer.
  • Keywords
    concurrency control; multi-threading; program debugging; program testing; AssetFuzzer; active randomized testing; atomic-set serializability violations; concurrency bugs; concurrency defect analysis techniques; data races; multithreaded programs; two-phase testing technique; Computer bugs; Concrete; Concurrent computing; Instruction sets; Monitoring; Synchronization; Testing; atomicity; dynamic analysis; serializability; software testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering, 2010 ACM/IEEE 32nd International Conference on
  • Conference_Location
    Cape Town
  • ISSN
    0270-5257
  • Print_ISBN
    978-1-60558-719-6
  • Type

    conf

  • DOI
    10.1145/1806799.1806836
  • Filename
    6062091