~/talk

Halving the Crash Rate of the Airbnb App

links:none on file
slides:none on file

A native Skia crash on Android 8.1 and 9.0 causes 46% of Airbnb app crashes by double-destroying a shader when two cleaners run for the same native pointer. Reproduced with a small multithreaded test app (reflection + concurrent Canvas.draw using the same Paint), traced to non-thread-safe Shader.getNativeInstance and a static shared Paint used in a Glide transformation. Fix: make the Paint instance per transform, which reproduces locally and reduces crashes to near zero in released builds, proving the root cause and solution.

AI-written summary · about

  1. 0:00Start
  2. 0:09Andreas Rosbacher
  3. 9:39Native Allocation
  4. 10:13Register Native Allocation
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.