Analyzing Multicore Dumps to Facilitate Concurrency Bug Reproduction

Date Added: Mar 2010
Format: PDF

Debugging concurrent programs is difficult. This is primarily because the inherent non-determinism that arises because of scheduler interleavings makes it hard to easily reproduce bugs that may manifest only under certain interleavings. The problem is exacerbated in multi-core environments where there are multiple schedulers, one for each core. In this paper, the authors propose a reproduction technique for concurrent programs that execute on multi-core platforms. The technique performs a lightweight analysis of a failing execution that occurs in a multi-core environment, and uses the result of the analysis to enable reproduction of the bug in a singlecore system, under the control of a deterministic scheduler.