Please help - Terminal.app keeps crashing upon reopening - macoS Monterey version 12.4
Hi all,
About a few months ago, my custom Macbook Pro (16-inch, 2019) started randomly shutdown (with a strong rapid fan sound), and complained about memory hash mismatch. Two weeks ago, I re-installed macOS Monterey 12.4 and the random shutdowns seem reduced, but still persist every now and then. The memory hash mismatch is gone, but not the freezing and random restart.
Last night, a similar episode happened and once I restarted, I cannot open Terminal.app anymore. Every time I tried opening Terminal.app, it gives me the following error:
The report seems to suggest there was a segmentation fault.
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00006000c46fbeff
Exception Codes: 0x0000000000000001, 0x00006000c46fbeff
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [42958]
I have tried:
- Deleting the terminal plist from my user library (thinking that Terminal may have kept some corrupted settings while the laptop restarted)
- Using Option-Cmd-P-R to clear any cache (thinking that whatever it is trying to access during opening persists in a cache)
However, no luck and I cannot find any instruction to re-install Terminal.app without re-installing the whole OS. At the moment, I am using iTerm2 but would like to fix my Terminal because I am worry there is something inherently wrong with the hardware.
Any comment would be much appreciated.
MacBook Pro with Touch Bar