~/talk

Efficient use of rr to Analyze and Fix MemorySanitizer Errors

Talkat MariaDB ServerFest Berlin 2024 · on Tuesday, 2024-09-17· [testing]
links:none on file
slides:none on file

Compares Valgrind, AddressSanitizer and MemorySanitizer and shows a workflow using RR record/replay plus sanitizer output to find a real bug: run RR to produce a trace, set a data watchpoint on the sanitizer’s shadow byte mapping, reverse-continue to the write that created the uninitialized value, and inspect why a field (block_length) was left unset. Reports >1,000x RR slowdown in extreme debug builds, uses MSan to discover missing initialization and fixes it by initializing adjacent fields so the compiler emits a wide write.

AI-written summary · about

  1. 0:00Introduction to tools
  2. 2:32MemorySanitizer vs Valgrind
  3. 6:24Recording with rr
  4. 15:19rr with MemorySanitizer
  5. 27:11Limitations of MemorySanitizer
  6. 28:59Q&A and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.