How to debug kernel hang

Questions and Answers about all things *OS (macOS, iOS, tvOS, watchOS)

How to debug kernel hang

Postby Dipti » Mon Jan 09, 2017 10:43 am

Hi,

I have installed one kernel extension, after which sometimes machine hangs. Not easily reproducible. I have got the kernel dump from my customer which he generated by NMI after hang. Now how should I analyse this core fine to find which thread caused hang?

I am new to kernel programming. Any suggestion would be of help. Thanks.
Dipti
 
Posts: 16
Joined: Wed Jul 20, 2016 10:32 am

Re: How to debug kernel hang

Postby scknight » Fri Jan 13, 2017 7:39 pm

This link might be helpful

https://developer.apple.com/library/con ... n2118.html

Additionally this book although a bit older still has lots of good information in it

http://www.apress.com/us/book/9781430235361
scknight
 
Posts: 27
Joined: Thu Nov 10, 2016 1:01 pm


Return to Questions and Answers

Who is online

Users browsing this forum: No registered users and 1 guest