Mail.app crashes with MailKit sample app

Originator:aaron
Number:rdar://FB12794488 Date Originated:2023-07-30
Status:Resolved Resolved:2024-01-22
Product:macOS Mail Product Version:
Classification:Bug Reproducible:
 
Compiled the MailKit sample app (https://developer.apple.com/documentation/mailkit/build_mail_app_extensions) and dropped it into my Applications folder. This Mac hasn't used Mail up until now but I enabled it Mail > Settings > Extensions > "SampleMailExtensions" then the app would crash after a few seconds. App doesn't crash if SampleMailExtensions is disabled.

Crashed Thread:        7  Dispatch queue: MCTaskHandler queue"

Someone else has a similar on-startup crash with the sample MailKit Mail Extension enabled in Mail. His Mail.app crashes on startup. His seems to crash in "Dispatch queue: IMAPNetworkTaskHandler queue (QOS: BACKGROUND)" which is slightly different than the crash I reported above.

Likely related to MEMessageSecurityHandler?

macOS Ventura 13.6, Sonoma 14.0 beta 6

Comments

Resolved in Sonoma 14.3

Fixed.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!