kirancodes.me
To Proof Maintenance & Beyond!

Localization of concurrency bugs using shared memory access pairs

Wenwen Wang, Zhenjiang Wang, Chenggang Wu, Pen-Chung Yew, Xipeng Shen, Xiang Yuan, Jianjun Li, Xiaobing Feng, Yong Guan

Abstract

We propose an effective approach to automatically localize buggy shared memory accesses that trigger concurrency bugs. Compared to existing approaches, our approach has two advantages. First, as long as enough successful runs of a concurrent program are collected, our approach can localize buggy shared memory accesses even with only one single failed run captured, as opposed to the requirement of capturing multiple failed runs in existing approaches. This is a significant advantage because it is more difficult to capture the elusive failed runs than the successful runs in practice. Second, our approach exhibits more precise bug localization results because it also captures buggy shared memory accesses in those failed runs that terminate prematurely, which are often neglected in existing approaches. Based on this proposed approach, we also implement a prototype, named LOCON. Evaluation results on 16 common concurrency bugs show that all buggy shared memory accesses that trigger these bugs can be precisely localized by LOCON with only one failed run captured.

BibTeX
@inproceedings{Wang-al:ASE14,
  author    = {Wenwen Wang and
               Zhenjiang Wang and
               Chenggang Wu and
               Pen{-}Chung Yew and
               Xipeng Shen and
               Xiang Yuan and
               Jianjun Li and
               Xiaobing Feng and
               Yong Guan},
  title     = {Localization of concurrency bugs using shared memory access pairs},
  booktitle = {ASE},
  pages     = {611--622},
  publisher = {{ACM}},
  year      = {2014},
}

Related papers