Hi,
Just discovered that taskinfo on BigSur no longer shows details of kernel task threads.
Is there a way to get around this limitation?
Thanks.
Devendra.
Post
Replies
Boosts
Views
Activity
Hi,
I'm working on creating an xpc service, using the C APIs (gets launched from launchd via plist) and an application that wants to use this service.
Generally it works fine, communication is proper and as expected.
However, in case the service's plist has not been installed in /Library/LaunchDaemons, the client gets stuck! Neither the event handler (set with xpcconnectionseteventhandler) nor the reply block provided to xpcconnectionsendmessagewithreply get called.
If I use xpcconnectionsendmessagewithreplysync() - it never returns!
So how is a client to know that the service is not available in this case?
My assumption was that in such a case the event handler would be called with XPCERRORCONNECTIONINVALID.
Thanks in advance!
Devendra.
I've noticed that breakpoints don't always work when debugging kernel code (kexts).
Is there something special that needs to be done for them to work reliably?
Also, sometimes the target hangs while debugging.
The panic log says something like "mpkdpenter() timed-out during locked wait after NMI;" "expected 8 acks bug received 7 ..."
boot-args does include watchdog=0 and pmuflags=1
This is on Big Sur.
Thanks.
Devendra.