Detecting and reproducing error-code propagation bugs in MPI implementations
Daniel DeFreez, Antara Bhowmick, Ignacio Laguna, Cindy Rubio-González
Abstract
We present an approach to automatically detect and reproduce error code propagation bugs in MPI implementations. Specifically, we combine static analysis and program repair for bug detection, and apply fault injection to reproduce error propagation bugs found in MPI libraries written in C. We demonstrate our approach on the MPICH library, one of the most popular implementations of MPI, and the MPICHbased implementation MVAPICH, uncovering 447 previously unknown bugs. We discovered that 31 of these bugs result in program crashes, and 60% of the MPICH test suite is susceptible to crashing due to failures to propagate error codes. Moreover, 95 bugs produce undesirable behavior that has been confirmed dynamically, causing tests to fail, hanging processes, or simply dropping error codes before reaching user applications.
• Software and its engineering → Automated static analysis; Dynamic analysis; Error handling and recovery; • Computing methodologies → Parallel programming languages.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext e2d38fe8-9acc-4dd0-9df6-d3756a82ec60Cited by top-tier papers2
- On the Reproducibility of Software Defect DatasetsHao-Nan Zhu, Cindy Rubio-GonzálezICSE 2023 · 10 citations
- Cut to the Chase: An Error-Oriented Approach to Detect Error-Handling BugsHaoran Liu, Zhouyang Jia, Shanshan Li, Yan Lei et al.FSE 2024 · 1 citation
Related papers
- Error Delayed Is Not Error Handled: Understanding and Fixing Propagated Error-Handling BugsHaoran Liu, Shan-shan Li, Zhouyang Jia, Yuanliang Zhang et al.FSE 2025
- Efficient Predictive Monitoring of Message Passing Interface ProgramsJiaqiang Yao, Haocheng Geng, Zhenbang ChenISSTA 2026
- MPI-CorrBench: Towards an MPI Correctness Benchmark SuiteJan-Patrick Lehr, Tim Jammer, Christian H. BischofHPDC 2021 · 15 citations
- DeepLocalize: Fault Localization for Deep Neural NetworksMohammad Wardat, Wei Le, Hridesh RajanICSE 2021 · 93 citations
- CPC: automatically classifying and propagating natural language comments via program analysisJuan Zhai, Xiangzhe Xu, Yu Shi, Guanhong Tao et al.ICSE 2020 · 39 citations
