~/talk

NDK Crash Handling the what, the where, and the how

Talkat GDG DevFest Ukraine 2017 · 2017-10-13..10-14· [android]
links:none on file
slides:none on file

Native NDK crash handling claims that you must capture a fault in an async‑safe signal handler, unwind the stack yourself, and symbolicate addresses with ELF/DWARF; the team prototypes using libcorkscrew and libbacktrace via a DLopen “envelope”, finds repeated crashes (10 launches → 0–1 reports) and allocator/unwinder races, experiments with an allocator rewrite and fork+ptrace (marginal gains), then moves to Breakpad to write a mini dump and do backend unwinding, which improves reliability substantially and is integrated into the Gradle symbol upload.

AI-written summary · about

  1. 0:00Introduction to NDK Crashes
  2. 1:30Java Exception Handling
  3. 4:20Native World Crash Signals
  4. 8:08Signal Handler Constraints
  5. 12:08Violating Constraints Safely
  6. 13:21Stack Unwinding Challenges
  7. 16:58Dynamic Linking and Loading
  8. 20:13Improving Reliability
  9. 22:53Using Mini Dumps
  10. 24:00ELF and Symbolication
  11. 25:30DWARF Debug Information
  12. 29:02Automation and Conclusion
~/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.