Getting kernel stack traces from panic (macOS)

I am getting regular kernel panics.

I have a Kern*.panic file, and a .contents.panic

These files now contain a 'macOSProcessedStackshotData' and so are encoded.

I'm a dev, but not familiar with Apple Kernel debugging (though I've done this before on windows/aix/linux).

How can I get some simple info from the panic, such as kernel backtrace, loaded drivers etc?

Ideally I'm looking for a few points to specific drivers (maybe I can unplug a device) or situations I can avoid

Any tips on this? I'd really like to be able to at least get a pointer to what could be wrong.

Here's an example of the begining of the file:

{"timestamp":"2021-11-29 07:36:36.00 +0000","bug_type":"210","os_version":"macOS 12.1 (21C5039b)","incident_id":"3E1E5703-01AC-4D50-86C8-8B1C811874B0"}
{"macOSProcessedStackshotData":"RGF0ZS9UaW1lOiAgICAgICAgMjAyMS0xMS0yOSAwNzozNDo1NC42ODcgKzAwMDAKT1MgVmVyc2lvbjogICAgICAgTWFjIE9TIFggMTIuMSAoQnVpbGQgMjFDNTAzOWIpCkFyY2hpdGVjdHVyZTogICAgIHg4Nl82NApSZXBvcnQgVm

Here's an example of the begining of the file:

Can you post the full file? See Posting a Crash Report for instructions on how to do that (its focused on crash reports but the same basic idea works for kernel panic logs).

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Getting kernel stack traces from panic (macOS)
 
 
Q