~/talk

Post mortem NodeJS debugging

Talkat JSNation 2019 · 2019-06-05..06-08· [nodejs]
slides:none on file

Uses llnode on an LLDB core dump paired with the exact Node binary to recover JavaScript stacks (v8 bt, v8 inspect, frame select) and to find retained objects; generates cores with ulimit and node --abort-on-uncaught-exception or kill -SIGABRT and writes heap snapshots via SIGUSR2 (Node v11.13+) for Chrome DevTools diffing. Demonstrates CPU sampling (≈9 probes/sec) and uncovers a leak of about 235,000 visit objects. Notes missing tooling: no direct core→heap-snapshot converter yet, but heap dumps from signal do work.

AI-written summary · about

  1. 0:00Start
  2. 1:36What Is Post-Mortem Debugging
  3. 4:29Memory Dumps
  4. 9:47Crashes
  5. 16:17Unresponsive Process
  6. 18:33Cpu Profiling
  7. 18:54Recap
  8. 23:10Find Refs
  9. 26:38Comparison Mode
~/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.