Home | english  | Impressum | Sitemap | KIT

Localizing Defects in Multithreaded Programs by Mining Dynamic Call Graphs

Localizing Defects in Multithreaded Programs by Mining Dynamic Call Graphs
Autor:

Frank Eichinger, Victor Pankratius, Philipp W. L. Große, Klemens Böhm

Quelle:

Proceedings of the 5th Testing: Academic and Industrial Conference - Practice and Research Techniques (TAIC PART), Windsor, UK, 2010

Writing multithreaded software for multicore computers confronts many developers with the difficulty of finding parallel programming errors. In the past, most parallel debugging techniques have concentrated on finding race conditions due to wrong usage of synchronization constructs. A widely unexplored issue, however, is that a wrong usage of non-parallel programming constructs may also cause wrong parallel application behavior. This paper presents a novel defect-localization technique for multithreaded shared-memory programs that is based on analyzing execution anomalies. Compared to race detectors that report just on wrong synchronization, this method can detect a wider range of defects affecting parallel execution. It works on a condensed representation of the call graphs of multithreaded applications and employs data-mining techniques to locate a method containing a defect. Our results from controlled application experiments show that we found race conditions, but also other programming errors leading to incorrect parallel program behavior. On average, our approach reduced in our benchmark the amount of code to be inspected to just 7.1% of all methods.

The original publication is available at www.springerlink.com.

PDF BibTeX