Skip to content

performance – How to debug a freezing dtrace on Ventura

  • by

I’m trying to use dtrace on a very new system: Ventura 13.2.1, MBP M2.

Any attempt to run it ends up with the terminal and most of macos system gui freezing. (beachballing, I can switch the apps, but not necessarily interact with them, no new process can start)

I can’t ctrl+c from dtrace, or restart in a nice way. Only long power-button works to power off.

No traces are left in the logs as far as I can tell, there’s nothing in spin reports, nothing in crash reports.

There’s a report from a full restart, but it only mentions:

"16673" : {
  "waitInfo":["thread 154195: mach_msg receive on port set 0x455bc6f06e98c60b"],

and the kernel part:


Which honestly doesn’t provide actionable info.

The freeze happens every single time, even from running:

dtrace -n 'syscall::open:entry { printf("openn"); }'

Leave a Reply

Your email address will not be published. Required fields are marked *