I am working macOS 13.6.5 and for some motive beginning within the final week, Mail.app retains crashing. Besides it isn’t ‘crashing’ strictly, as a result of there is not any crash log in ~/Library/Logs/DiagonsticReports
, nor any indication from the system that it was something apart from a traditional termination. I have not modified its settings, up to date the system, or performed something I can consider that would clarify this sudden change in habits. To this point the “crash” has solely occurred when it is within the background, so I have not discovered a approach persistently set off it, apart from leaving Mail working and ready lengthy sufficient.
I attempted working Mail from a terminal window, i.e. executing /System/Purposes/Mail.app/Contents/MacOS/Mail
, however for some motive that truly works across the difficulty and it stops quitting. So I can not get any helpful info from its console output.
Is there anything I can do to determine why that is occurring and repair it?
Edit 1:
I took Linc D’s wonderful suggestion and located some logging that happens instantly previous to Mail terminating. There was a variety of output, and the one line of kind error was:
runningboardd: (RunningBoard) [com.apple.runningboard:process] [app<application.com.apple.mail.1152921500311886404.1152921500311886479(501)>:81815] terminate_with_reason() failed with error: -1
Nonetheless, if I have a look at the continuing second earlier than Mail terminates and examine default-level log entries too, I discover:
runningboardd: (RunningBoard) [com.apple.runningboard:connection] Obtained termination request from [osservice<com.apple.cache_delete(501)>:675] on <RBSProcessPredicate <RBSProcessBundleIdentifierPredicate "com.apple.mail">> with context <RBSTerminateContext| code:0xBADDD15C clarification:CacheDeleteAppContainerCaches requesting termination assertion for com.apple.mail reportType:None maxTerminationResistance:NonInteractive attrs:[
<RBSPreventLaunchLimitation| <RBSProcessPredicate <RBSProcessBundleIdentifierPredicate "com.apple.mail">> allow:(null)>
]>
That by itself is not too revealing to me, however perhaps somebody can decipher it? Does this have one thing to do with deleting a cache?
In case it helps, this is the 50 traces continuing that termination entry which have one thing to do with Mail.app, both coming from Mail or having the phrase “mail” within the message:
2024-10-03 11:38:16.108443-0400 0x14ba651 Default 0x0 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] Annotations modified, re-performing question for steady discovery, report block = <0x600003dbfb40>.
2024-10-03 11:38:16.108455-0400 0x14ba370 Default 0x0 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] Annotations modified, re-performing question for steady discovery, report block = <0x600003ec1770>.
2024-10-03 11:38:16.108459-0400 0x14ba819 Default 0x0 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] Annotations modified, re-performing question for steady discovery, report block = <0x600003ec1bf0>.
2024-10-03 11:38:16.108506-0400 0x14ba819 Default 0x1608a9d 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] [d <private>] <PKHost:0x6000026bebc0> Starting discovery for flags: 0, level: com.apple.ui-services
2024-10-03 11:38:16.108506-0400 0x14ba651 Default 0x1608972 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] [d <private>] <PKHost:0x6000026bebc0> Starting discovery for flags: 0, level: com.apple.e mail.extension
2024-10-03 11:38:16.108510-0400 0x14ba370 Default 0x1608a9d 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] [d <private>] <PKHost:0x6000026bebc0> Starting discovery for flags: 0, level: com.apple.providers
2024-10-03 11:38:16.119210-0400 0x14ba370 Default 0x1608972 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] [d <private>] <PKHost:0x6000026bebc0> Accomplished discovery. Last # of matches: 0
2024-10-03 11:38:16.119266-0400 0x14ba819 Default 0x1608972 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] <PKDiscoveryDriver:0x6000017a0f00> delivering replace to host (0 plugins)
2024-10-03 11:38:16.119298-0400 0x14ba819 Exercise 0x1641b0b 81815 0 Mail: (ExtensionFoundation) discovering extensions
2024-10-03 11:38:16.119381-0400 0x14ba370 Default 0x1641b0b 81815 0 Mail: (MailKit) [com.apple.email:MEAppExtensionsController] Discovered 0 e mail extensions
2024-10-03 11:38:16.119449-0400 0x14ba370 Default 0x1641b0b 81815 0 Mail: (MailKit) [com.apple.email:MailExtensions] Present Mail Extensions for processing updates -
Enabled Extensions - (
)
All Extensions (
)
2024-10-03 11:38:16.182568-0400 0x14ba370 Default 0x1608a9d 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] [d <private>] <PKHost:0x6000026bebc0> Accomplished discovery. Last # of matches: 4
2024-10-03 11:38:16.182646-0400 0x14ba819 Default 0x1608a9d 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] <PKDiscoveryDriver:0x6000017304e0> delivering replace to host (4 plugins)
2024-10-03 11:38:16.182674-0400 0x14ba819 Exercise 0x1641b0c 81815 0 Mail: (ExtensionFoundation) discovering extensions
2024-10-03 11:38:16.188168-0400 0x14ba819 Default 0x1608a9d 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] [d <private>] <PKHost:0x6000026bebc0> Accomplished discovery. Last # of matches: 0
2024-10-03 11:38:16.188217-0400 0x14ba370 Default 0x1608a9d 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] <PKDiscoveryDriver:0x600001732040> delivering replace to host (0 plugins)
2024-10-03 11:38:16.188248-0400 0x14ba370 Exercise 0x1641b0d 81815 0 Mail: (ExtensionFoundation) discovering extensions
2024-10-03 11:38:16.509927-0400 0x14ba819 Default 0x0 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] Annotations modified, re-performing question for steady discovery, report block = <0x600003dbfb40>.
2024-10-03 11:38:16.509932-0400 0x14ba370 Default 0x0 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] Annotations modified, re-performing question for steady discovery, report block = <0x600003ec1770>.
2024-10-03 11:38:16.509933-0400 0x14ba651 Default 0x0 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] Annotations modified, re-performing question for steady discovery, report block = <0x600003ec1bf0>.
2024-10-03 11:38:16.510036-0400 0x14ba651 Default 0x1608a9d 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] [d <private>] <PKHost:0x6000026bebc0> Starting discovery for flags: 0, level: com.apple.ui-services
2024-10-03 11:38:16.510039-0400 0x14ba370 Default 0x1608a9d 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] [d <private>] <PKHost:0x6000026bebc0> Starting discovery for flags: 0, level: com.apple.providers
2024-10-03 11:38:16.510077-0400 0x14ba819 Default 0x1608972 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] [d <private>] <PKHost:0x6000026bebc0> Starting discovery for flags: 0, level: com.apple.e mail.extension
2024-10-03 11:38:16.550866-0400 0x1489069 Default 0x1641b09 81815 0 Mail: (ShareKit) [com.apple.sharekit:Framework] filteredItemsFromItems:<personal> [81815]--> <personal>
2024-10-03 11:38:16.550910-0400 0x1489069 Default 0x1641b09 81815 0 Mail: (ShareKit) [com.apple.sharekit:Framework] Requesting sharingServicesForFilteredItems:<personal> masks:<personal>
2024-10-03 11:38:16.550933-0400 0x1489069 Default 0x1641b09 81815 0 Mail: (ShareKit) [com.apple.sharekit:Framework] Question extensions (async) for gadgets: <personal> onlyViewerOrEditor:1
2024-10-03 11:38:16.550980-0400 0x1489069 Default 0x1641b09 81815 0 Mail: (ShareKit) [com.apple.sharekit:Framework] filteredItemsFromItems:<personal> [81815]--> <personal>
2024-10-03 11:38:16.551011-0400 0x1489069 Default 0x1641b09 81815 0 Mail: (ShareKit) [com.apple.sharekit:Framework] Requesting sharingServicesForFilteredItems:<personal> masks:<personal>
2024-10-03 11:38:16.551026-0400 0x14ba819 Default 0x1641b09 81815 0 Mail: (ShareKit) [com.apple.sharekit:Framework] Matching dictionary: <personal>, attributesArray: <personal>
2024-10-03 11:38:16.551045-0400 0x1489069 Default 0x1641b09 81815 0 Mail: (ShareKit) [com.apple.sharekit:Framework] Question extensions (async) for gadgets: <personal> onlyViewerOrEditor:1
2024-10-03 11:38:16.551072-0400 0x14ba819 Default 0x1641b09 81815 0 Mail: (ShareKit) [com.apple.sharekit:Framework] Uncover extensions with attributes <personal>
2024-10-03 11:38:16.551108-0400 0x1489069 Default 0x1641b09 81815 0 Mail: (ShareKit) [com.apple.sharekit:Framework] filteredItemsFromItems:<personal> [81815]--> <personal>
2024-10-03 11:38:16.551116-0400 0x14ba819 Default 0x1641b09 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] [d <private>] <PKHost:0x6000026bebc0> Starting discovery for flags: 1024, level: com.apple.ui-services
2024-10-03 11:38:16.551137-0400 0x14ba651 Default 0x1641b09 81815 0 Mail: (ShareKit) [com.apple.sharekit:Framework] Matching dictionary: <personal>, attributesArray: <personal>
2024-10-03 11:38:16.551142-0400 0x1489069 Default 0x1641b09 81815 0 Mail: (ShareKit) [com.apple.sharekit:Framework] Requesting sharingServicesForFilteredItems:<personal> masks:<personal>
2024-10-03 11:38:16.551163-0400 0x1489069 Default 0x1641b09 81815 0 Mail: (ShareKit) [com.apple.sharekit:Framework] Question extensions (async) for gadgets: <personal> onlyViewerOrEditor:1
2024-10-03 11:38:16.551204-0400 0x14ba651 Default 0x1641b09 81815 0 Mail: (ShareKit) [com.apple.sharekit:Framework] Uncover extensions with attributes <personal>
2024-10-03 11:38:16.551237-0400 0x14ba370 Default 0x1641b09 81815 0 Mail: (ShareKit) [com.apple.sharekit:Framework] Matching dictionary: <personal>, attributesArray: <personal>
2024-10-03 11:38:16.551266-0400 0x14ba370 Default 0x1641b09 81815 0 Mail: (ShareKit) [com.apple.sharekit:Framework] Uncover extensions with attributes <personal>
2024-10-03 11:38:16.551273-0400 0x14ba651 Default 0x1641b09 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] [d <private>] <PKHost:0x6000026bebc0> Starting discovery for flags: 1024, level: com.apple.ui-services
2024-10-03 11:38:16.551305-0400 0x14ba370 Default 0x1641b09 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] [d <private>] <PKHost:0x6000026bebc0> Starting discovery for flags: 1024, level: com.apple.ui-services
2024-10-03 11:38:16.592702-0400 0x14ba64d Default 0x0 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] Annotations modified, re-performing question for steady discovery, report block = <0x600003dbfb40>.
2024-10-03 11:38:16.592703-0400 0x14ba649 Default 0x0 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] Annotations modified, re-performing question for steady discovery, report block = <0x600003ec1bf0>.
2024-10-03 11:38:16.592734-0400 0x14ba81a Default 0x0 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] Annotations modified, re-performing question for steady discovery, report block = <0x600003ec1770>.
2024-10-03 11:38:16.592785-0400 0x14ba64d Default 0x1608972 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] [d <private>] <PKHost:0x6000026bebc0> Starting discovery for flags: 0, level: com.apple.e mail.extension
2024-10-03 11:38:16.592794-0400 0x14ba81a Default 0x1608a9d 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] [d <private>] <PKHost:0x6000026bebc0> Starting discovery for flags: 0, level: com.apple.providers
2024-10-03 11:38:16.592822-0400 0x14ba649 Default 0x1608a9d 81815 0 Mail: (PlugInKit) [com.apple.PlugInKit:discovery] [d <private>] <PKHost:0x6000026bebc0> Starting discovery for flags: 0, level: com.apple.ui-services
2024-10-03 11:38:16.600462-0400 0x14ba5ac Default 0x163a1ac 675 0 deleted: (RunningBoardServices) [com.apple.runningboard:monitor] Updating configuration of monitor <RBSProcessMonitorConfiguration| id:M675-1249 qos:17 predicates:[<RBSProcessPredicate <RBSProcessBundleIdentifierPredicate "com.apple.mail">>] descriptor:<RBSProcessStateDescriptor| values:5> occasions:0x0>
2024-10-03 11:38:16.608254-0400 0x14ba5cd Default 0x16418ad 675 0 deleted: (RunningBoardServices) [com.apple.runningboard:process] Hit the server for a course of deal with 1d497e9500013f97 that resolved to: [app<application.com.apple.mail.1152921500311886404.1152921500311886479(501)>:81815]
2024-10-03 11:38:16.608500-0400 0x14ba6ca Default 0x1641ee8 233 0 runningboardd: (RunningBoard) [com.apple.runningboard:connection] Obtained termination request from [osservice<com.apple.cache_delete(501)>:675] on <RBSProcessPredicate <RBSProcessBundleIdentifierPredicate "com.apple.mail">> with context <RBSTerminateContext| code:0xBADDD15C clarification:CacheDeleteAppContainerCaches requesting termination assertion for com.apple.mail reportType:None maxTerminationResistance:NonInteractive attrs:[
<RBSPreventLaunchLimitation| <RBSProcessPredicate <RBSProcessBundleIdentifierPredicate "com.apple.mail">> allow:(null)>
]>
edit 2: I’ve discovered an evidence for what’s occurring at this weblog put up: https://bitsplitting.org/2022/06/18/purgeable-mac-apps/
Some related bits:
Right here now we have a message asserting that MarsEdit was terminated, on function, and higher nonetheless, it contains an evidence! So far as explanations go, “CacheDeleteAppContainerCaches” just isn’t a lot of 1, however it did give me one thing to go on. Trying to find the time period yielded pertinent outcomes like this put up about Apple Mail and Safari “instantly quitting.” Sadly, all of them appear to be scratching their heads as a lot as I’m.
…
Geared up with all this new info, what can we do in regards to the sudden terminations? Properly, nothing. I do want Apple’s framework would strive asking properly if the app would stop, earlier than summarily terminating it, however I suppose the pondering is that this performance ought to usually solely be reached in extenuating circumstances. After studying extra in regards to the difficulty, I confirmed with Manton that his Mac did have low disk house, so I suppose it was simply the system making an attempt its greatest to liberate house that precipitated the difficulty for him.
From Howard Oakley: https://eclecticlight.co/2019/11/07/runningboard-a-new-subsystem-in-catalina-to-detect-errors/
Catalina brings a number of new inside options, a number of of which have been documented, however others appear to have slipped previous silently. Among the many latter is an lively subsystem to switch an outdated service assertiond, which might trigger apps to unexpectedly terminate – to you and me, crash – in each macOS 10.15 and iOS 13: RunningBoard.
There’s one other related thread right here, referenced in that first hyperlink, which additionally suggests that is associated to a mac subsystem that deletes caches to liberate house.
The unusual factor, although, is that my system drive is not low on house. It reviews I’ve 75 GB free. So I do not know why my macOS system has instantly gotten aggressive about clearing Mail’s cache, and forcing it to stop so as to take action. I believe this can be a bug, and never this cache clearing subsystem working as supposed.
So what stays to be seen is that if there’s something I can do about this! Hopefully there’s a answer that may get this cache clearing system again right into a correctly working state.