arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.09616cs.SE
收藏

SysPro: 从bug报告中重现系统级并发bug

SysPro: Reproducing System-level Concurrency Bugs from Bug Reports

University of Maryland Baltimore County(马里兰大学巴尔的摩县分校);Zhejiang Provincial Financial Holdings Co,ltd(浙江省金融控股有限公司);The University of Melbourne(墨尔本大学);Queensland University of Technology (QUT)(昆士兰科技大学);Zhejiang University(浙江大学);University of Connecticut(康涅狄格大学)

Tarannum Shaila Zaman, Zhihui Yan, Chen Wang, Chadni Islam, Jiangfan Shi, Tingting Yu

AI总结:

SysPro通过自动提取系统调用信息和生成输入数据,有效重现系统级并发bug。

摘要:

重现系统级并发bug需要输入数据和系统调用的精确交错顺序。这一过程具有挑战性,因为此类bug是非确定性的,而bug报告往往缺乏所需的详细信息。此外,用自然语言写的报告的无结构性质使得提取必要细节变得困难。现有工具无法重现这些bug,因为它们无法管理系统调用级别的特定交错。为了解决这些挑战,我们提出了SysPro,一种新的方法,自动从bug报告中提取相关的系统调用名称,并识别其在源代码中的位置。它通过信息检索、正则表达式匹配和类别-分区方法生成输入数据。提取的输入和交错数据随后通过动态源代码仪器化来重现bug。我们对实际基准的实证研究证明,SysPro在从bug报告中定位和重现系统级并发bug方面既有效又高效。

英文摘要:

Reproducing system-level concurrency bugs requires both input data and the precise interleaving order of system calls. This process is challenging because such bugs are non-deterministic, and bug reports often lack the detailed information needed. Additionally, the unstructured nature of reports written in natural language makes it difficult to extract necessary details. Existing tools are inadequate to reproduce these bugs due to their inability to manage the specific interleaving at the system call level. To address these challenges, we propose SysPro, a novel approach that automatically extracts relevant system call names from bug reports and identifies their locations in the source code. It generates input data by utilizing information retrieval, regular expression matching, and the category-partition method. This extracted input and interleaving data are then used to reproduce bugs through dynamic source code instrumentation. Our empirical study on real-world benchmarks demonstrates that SysPro is both effective and efficient at localizing and reproducing system-level concurrency bugs from bug reports.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑