DeepAnalyze:学习大规模事故的本地化
DeepAnalyze: Learning to Localize Crashes at Scale
摘要:
崩溃本地化是调试崩溃的重要步骤,在处理大量不同的应用程序和平台以及根本原因时具有挑战性。大型错误报告系统,例如,Windows错误报告(WER)通常依赖于手动开发的规则和策略来定位导致崩溃的归咎帧。随着新的应用程序和功能的不断引入,以及现有应用程序在新的环境下运行,开发新规则和维护现有规则变得非常具有挑战性。我们提出了一个数据驱动的解决方案来解决这个问题。我们首先对362K崩溃及其归咎于WER的方法进行了第一次大规模的实证研究,该研究是由该领域运行的数万个应用程序报告的。分析提供了有价值的见解,在哪里和如何发生崩溃,以及什么方法归咎于崩溃。这些见解使我们能够开发DeepAnalyze,这是一种新颖的多任务序列标记方法,用于识别堆栈跟踪中的归咎帧。我们使用来自四个流行的Microsoft应用程序的超过一百万个真实世界的崩溃来评估我们的模型,并表明使用来自一组应用程序的崩溃进行训练的DeepAnalyze不仅准确地定位了相同应用程序的崩溃,而且还为其他应用程序引导了崩溃本地化,并且具有零到很少的额外训练数据。
英文摘要:
Crash localization, an important step in debugging crashes, is challenging when dealing with an extremely large number of diverse applications and platforms and underlying root causes. Large-scale error reporting systems, e.g., Windows Error Reporting (WER), commonly rely on manually developed rules and heuristics to localize blamed frames causing the crashes. As new applications and features are routinely introduced and existing applications are run under new environments, developing new rules and maintaining existing ones become extremely challenging. We propose a data-driven solution to address the problem. We start with the first large-scale empirical study of 362K crashes and their blamed methods reported to WER by tens of thousands of applications running in the field. The analysis provides valuable insights on where and how the crashes happen and what methods to blame for the crashes. These insights enable us to develop DeepAnalyze, a novel multi-task sequence labeling approach for identifying blamed frames in stack traces. We evaluate our model with over a million real-world crashes from four popular Microsoft applications and show that DeepAnalyze, trained with crashes from one set of applications, not only accurately localizes crashes of the same applications, but also bootstraps crash localization for other applications with zero to very little additional training data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。