Terminal.app crashing: Can I disable callbacks?
Five times in the last 48 hours, Terminal.app "quit unexpectedly". The Terminal_datestamp.crash files show
EXC_BAD_ACCESS (SIGSEGV) KERN_INVALID_ADDRESS at 0x0000000000000000
with a call stack that always includes:
com.apple.Terminal 0x000000010530bc94 0x105295000 + 486548 com.apple.Foundation 0x00007fff972ac5df __NSFireTimer + 83 com.apple.CoreFoundation 0x00007fff95837d74 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20 com.apple.CoreFoundation 0x00007fff958379ff __CFRunLoopDoTimer + 1071 com.apple.CoreFoundation 0x00007fff9583755a __CFRunLoopDoTimers + 298 com.apple.CoreFoundation 0x00007fff9582ef81 __CFRunLoopRun + 2065
User impact
I cannot use the system: must find solution, even if the cost is to wipe disk and install previous OS (El Capitan).
The primary question
(q1) Is there some new feature of Sierra that integrates Terminal with other apps that can be turned off, perhaps a setting to disable callbacks?
Secondary questions
- (q2) Can I potentially run a copy of the Terminal.app from a previous version of Mac OS X? Prior to my new laptop (and Sierra) these crashes never happened.
- (q3) What additional detail would be useful, and how can I collect it?
I am familiar with Unix application development, but not for Mac OS X. I am happy to collect additional detail by turning on debug tools, traces, event collectors, etc. but would need pointers to get started. Xcode is available, but I would be a beginner with it.
System summary
- New MacBook Pro (Retina, 15-inch, Mid 2015).
- Arrived 6 days ago.
- (Yes, I intentionally bought a brand-new instance of the previous model.)
- Surprisingly, it arrived with Sierra. It presently has 10.12.1
- Xcode installed
- GCC 6.2.0 available, built locally.
- Previous history brought in by Migration Assistant
- Not tried (yet, anyway)
- I have briefly visited safe mode but have not stayed there. I do not know whether there would be crashes of Terminal.app if I spent all day in safe mode
- I do not know whether there would be crashes if I created a fresh, different user account.
- Tentative rule-outs:
- Malware, adware, etc are reasonably unlikely given the usage pattern for this work system: firewalls in sw and hw, no visiting of dicey websites, primary application used all day long is vim.
- However, if Terminal is now integrated with the world wide web then I suppose anything is possible.
MacBook Pro with Retina display, macOS Sierra (10.12.1)