Ali Mashtizadeh: Why Did My Application Crash   BSDCan 2018 @BsdcanOrg
Ali Mashtizadeh: Why Did My Application Crash   BSDCan 2018  @BsdcanOrg
Uploaded August 2018 | Updated December 2026, 3 hours ago
*Note: The speakers mic was not switched on for most of the talk, sorry*

Diagnosing crashes from core dumps is painful and time consuming. Record/replay offers an alternative, allowing buggy program execution to be recorded and reproduced when crashes occur.

Tools that use record/replay to capture live bugs, or to provide an enhanced debugging experience are becoming increasingly common, including commercial offerings for Linux by UndoDB and RogueWave, Mozilla’s rr, and recently added support for replay in WinDBG.

We describe our ongoing work to build a practical record/replay system for FreeBSD called Castor. Castor offers several novel capabilities compared to other record/replay systems, most notably the ability to record demanding multi-core workloads with very low overhead, making it practical to use in production settings.

This talk will explore the basics of record and replay and its applications, then dive into Castor's internals and performance. We will do a live demonstration of how to use Castor to capture and diagnose application bugs. We will talk about how Castor integrates with FreeBSD including Clang/LLVM support, and changes to libc to support cleaner system call interposition for Castor and similar tools with the addition of libsyscall. We will talk about ongoing work to make record/replay logging more space efficient through incremental checkpointing, and potential future applications of record/replay such as efficient fault tolerance.

By the time of this talk Castor will be available in ports, and patches to support Castor will be enabled on BSD head. An academic paper detailing the design, implementation of an earlier version of Castor can be found at:

http://www.cs.stanford.edu/~talg/papers/ASPLOS17/asplos17-castor.pdf

bsdcan.org/2018/schedule/events/941.en.html
Ali Mashtizadeh: Why Did My Application Crash   BSDCan 2018Modern BSD Computing for Fun on a VAX! Trying to use a VAX in todays world by Jeff ArmstrongBSDCan Saturday 2025-06-14:1160How to get started hacking NetBSD By: Taylor CampbellPerformance Analysis of DTrace on FreeBSD and eBPF on Linux By:Mateusz PiotrowskiPostgreSQL on FreeBSD: Thomas MunroBSDCan Saturday 2026-06-20: 1110Lighting Talk High rate filtering with IPFW by Olivier Cochard LabbéBSDCan Friday 2026-06-19: 1110Testing firewalls Why vimage is awesome by Kristof ProvostUnveil in OpenBSD The Unveil system call, its use in Programs, and new semantics for it by Bob BeckSlava Shwartsman: RoCE as a performance accelerator   BSDCan 2018
BSDCan |

Ali Mashtizadeh: Why Did My Application Crash -- BSDCan 2018

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER