TY - GEN
T1 - Finding and reproducing heisenbugs in concurrent programs
AU - Musuvathi, Madanlal
AU - Qadeer, Shaz
AU - Nainar, Piramanayagam Arumuga
AU - Ball, Thomas
AU - Basler, Gerard
AU - Neamtiu, Iulian
PY - 2019/1/1
Y1 - 2019/1/1
N2 - Concurrency is pervasive in large systems. Unexpected interference among threads often results in “Heisenbugs” that are extremely difficult to reproduce and eliminate. We have implemented a tool called CHESS for finding and reproducing such bugs. When attached to a program, CHESS takes control of thread scheduling and uses efficient search techniques to drive the program through possible thread interleavings. This systematic exploration of program behavior enables CHESS to quickly uncover bugs that might otherwise have remained hidden for a long time. For each bug, CHESS consistently reproduces an erroneous execution manifesting the bug, thereby making it significantly easier to debug the problem. CHESS scales to large concurrent programs and has found numerous bugs in existing systems that had been tested extensively prior to being tested by CHESS. CHESS has been integrated into the test frameworks of many code bases inside Microsoft and is used by testers on a daily basis.
AB - Concurrency is pervasive in large systems. Unexpected interference among threads often results in “Heisenbugs” that are extremely difficult to reproduce and eliminate. We have implemented a tool called CHESS for finding and reproducing such bugs. When attached to a program, CHESS takes control of thread scheduling and uses efficient search techniques to drive the program through possible thread interleavings. This systematic exploration of program behavior enables CHESS to quickly uncover bugs that might otherwise have remained hidden for a long time. For each bug, CHESS consistently reproduces an erroneous execution manifesting the bug, thereby making it significantly easier to debug the problem. CHESS scales to large concurrent programs and has found numerous bugs in existing systems that had been tested extensively prior to being tested by CHESS. CHESS has been integrated into the test frameworks of many code bases inside Microsoft and is used by testers on a daily basis.
UR - http://www.scopus.com/inward/record.url?scp=85076883647&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85076883647&partnerID=8YFLogxK
M3 - Conference contribution
T3 - Proceedings of the 8th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2008
SP - 267
EP - 280
BT - Proceedings of the 8th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2008
PB - USENIX Association
T2 - 8th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2008
Y2 - 8 December 2008 through 10 December 2008
ER -