Skip to content

Read macOS arm64 thread IDs from core dumps - #1506

Merged
Max Charlamb (max-charlamb) merged 1 commit into
microsoft:mainfrom
max-charlamb:max-charlamb/macos-arm64-thread-ids
Sep 8, 2026
Merged

Max Charlamb (max-charlamb) merged 1 commit into
microsoft:mainfrom
max-charlamb:max-charlamb/macos-arm64-thread-ids

Conversation

@max-charlamb

Copy link
Copy Markdown
Contributor

Summary

  • recognize the 47-bit-valid THREADINFO segment address used by current Apple Silicon createdump binaries
  • retain the legacy segment address for compatibility with existing macOS dumps
  • allow MachOCoreReader to expose real OS thread IDs instead of falling back to sequential thread indices

Runtime writer change: dotnet/runtime#131962

Fixes dotnet/diagnostics#5987

Validation

  • Build.cmd

Recognize both the current Apple Silicon thread-info segment address and the legacy address used by older createdump versions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 2d5c60f7-9c89-42e6-b9fc-04ef78c8f8d8
@max-charlamb
Max Charlamb (max-charlamb) merged commit da25fc7 into microsoft:main Sep 8, 2026
10 checks passed
@max-charlamb
Max Charlamb (max-charlamb) deleted the max-charlamb/macos-arm64-thread-ids branch September 8, 2026 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dotnet-dump exposes synthetic thread IDs for macOS createdump ELF cores

2 participants