Debugging Nondeterministic Failures in Linux Programs through Replay Analysis

Joint Authors

Ryu, Minsoo
Majeed, Shakaiba

Source

Scientific Programming

Issue

Vol. 2018, Issue 2018 (31 Dec. 2018), pp.1-11, 11 p.

Publisher

Hindawi Publishing Corporation

Publication Date

2018-04-12

Country of Publication

Egypt

No. of Pages

11

Main Subjects

Mathematics

Abstract EN

Reproducing a failure is the first and most important step in debugging because it enables us to understand the failure and track down its source.

However, many programs are susceptible to nondeterministic failures that are hard to reproduce, which makes debugging extremely difficult.

We first address the reproducibility problem by proposing an OS-level replay system for a uniprocessor environment that can capture and replay nondeterministic events needed to reproduce a failure in Linux interactive and event-based programs.

We then present an analysis method, called replay analysis, based on the proposed record and replay system to diagnose concurrency bugs in such programs.

The replay analysis method uses a combination of static analysis, dynamic tracing during replay, and delta debugging to identify failure-inducing memory access patterns that lead to concurrency failure.

The experimental results show that the presented record and replay system has low-recording overhead and hence can be safely used in production systems to catch rarely occurring bugs.

We also present few concurrency bug case studies from real-world applications to prove the effectiveness of the proposed bug diagnosis framework.

American Psychological Association (APA)

Majeed, Shakaiba& Ryu, Minsoo. 2018. Debugging Nondeterministic Failures in Linux Programs through Replay Analysis. Scientific Programming،Vol. 2018, no. 2018, pp.1-11.
https://search.emarefa.net/detail/BIM-1214771

Modern Language Association (MLA)

Majeed, Shakaiba& Ryu, Minsoo. Debugging Nondeterministic Failures in Linux Programs through Replay Analysis. Scientific Programming No. 2018 (2018), pp.1-11.
https://search.emarefa.net/detail/BIM-1214771

American Medical Association (AMA)

Majeed, Shakaiba& Ryu, Minsoo. Debugging Nondeterministic Failures in Linux Programs through Replay Analysis. Scientific Programming. 2018. Vol. 2018, no. 2018, pp.1-11.
https://search.emarefa.net/detail/BIM-1214771

Data Type

Journal Articles

Language

English

Notes

Includes bibliographical references

Record ID

BIM-1214771