iReplayer: In-situ and Identical Record-and-Replay for Multithreaded Applications

04/04/2018
by   Hongyu Liu, et al.
0

Reproducing executions of multithreaded programs is very challenging due to many intrinsic and external non-deterministic factors. Existing RnR systems achieve significant progress in terms of performance overhead, but none targets the in-situ setting, in which replay occurs within the same process as the recording process. Also, most existing work cannot achieve identical replay, which may prevent the reproduction of some errors. This paper presents iReplayer, which aims to identically replay multithreaded programs in the original process (under the "in-situ" setting). The novel in-situ and identical replay of iReplayer makes it more likely to reproduce errors, and allows it to directly employ debugging mechanisms (e.g. watchpoints) to aid failure diagnosis. Currently, iReplayer only incurs 3 performance overhead on average, which allows it to be always enabled in the production environment. iReplayer enables a range of possibilities, and this paper presents three examples: two automatic tools for detecting buffer overflows and use-after-free bugs, and one interactive debugging tool that is integrated with GDB.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/26/2021

Capturing High-level Nondeterminism in Concurrent Programs for Practical Concurrency Model Agnostic Record Replay

With concurrency being integral to most software systems, developers com...
research
06/26/2022

Analysis of Stochastic Processes through Replay Buffers

Replay buffers are a key component in many reinforcement learning scheme...
research
05/22/2018

Optimal Record and Replay under Causal Consistency

We investigate the minimum record needed to replay executions of process...
research
07/11/2011

Efficient Deterministic Replay Using Complete Race Detection

Data races can significantly affect the executions of multi-threaded pro...
research
05/16/2017

Engineering Record And Replay For Deployability: Extended Technical Report

The ability to record and replay program executions with low overhead en...
research
05/19/2022

Transformer with Memory Replay

Transformers achieve state-of-the-art performance for natural language p...
research
07/28/2020

A Novel Token-Based Replay Technique to Speed Up Conformance Checking and Process Enhancement

Token-based replay used to be the standard way to conduct conformance ch...

Please sign up or login with your details

Forgot password? Click here to reset