~/talk

Debugging one layer deeper

Talkat DotNext 2021 Piter · 2021-04-20..04-23· [dotnet]
slides:none on file

Investigation traces daily crashes to a promoted thin lock whose sync block contains -1 stored as thread pointer, causing an access violation when reading thread id at offset 0x2C. Diagnosis uses WinDBG + SOS (ip2md, syncblk, dd, disassembly) mapped to coreclr source to confirm m_HoldingThread = -1, finds thread id table cleared after finalization and id reuse, reproduces with a small repro program, mitigates by reverting to synchronous controller, and files an issue/PR to the runtime repo (runtime bug not yet fixed).

AI-written summary · about

  1. 0:00Start
  2. 0:40What Do You Like More Having Talk Online or Offline
  3. 5:56What Do I Mean by One Layer Deeper
  4. 7:50Identify
  5. 9:17What Is a Tracer
  6. 11:32Configure the Server To Automatically Capture a Memory Dump
  7. 12:15Access Violation
  8. 19:44Calling Convention
  9. 25:01Thin Lock
  10. 29:28Inspect a State from the Memory Dump
  11. 43:26Conditional Jump
  12. 46:59Source Code
  13. 56:16Garbage Collector
  14. 59:45What Has Started the Incident
  15. 1:03:18Questions
~/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.