Mail app crashes when sending message from custom account
Hi,
I have multiple accounts in the Mail app including one with custom address (not gmail or other mail provider) and every time when I choose to send message from this account Mail crashes. In error dialog it looks like this:
Process: Mail [10172]
Path: /Applications/Mail.app/Contents/MacOS/Mail
Identifier: com.apple.mail
Version: 10.2 (3259)
Build Info: Mail-3259000000000000~2
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Mail [10172]
User ID: 501
Date/Time: 2017-02-01 22:18:33.620 +0100
OS Version: Mac OS X 10.12.3 (16D32)
Report Version: 12
Anonymous UUID: 08664201-2890-9949-1B50-11FA63061BC1
Sleep/Wake UUID: 3A87BFE0-725D-418E-A25F-29345270E878
Time Awake Since Boot: 51000 seconds
Time Since Wake: 17000 seconds
System Integrity Protection: enabled
Crashed Thread: 14 -[ComposeBackEnd _saveThreadUpdateAccount:mailbox:] Dispatch queue: NSOperationQueue 0x60800044bbb0 :: NSOperation 0x618000a43660 (QOS: USER_INTERACTIVE)
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
Performing @selector(changeFromHeader:) from sender _BaselinePopupButton 0x61800017da00
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'This method must be called on the main thread'
abort() called
terminating with uncaught exception of type NSException
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff85fa5e7b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff9ab8fcad objc_exception_throw + 48
2 CoreFoundation 0x00007fff85faab82 +[NSException raise:format:arguments:] + 98
3 Foundation 0x00007fff879f4d50 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
4 Mail 0x000000010a00e7fd Mail + 260093
5 Mail 0x000000010a01a9c0 Mail + 309696
6 CoreFoundation 0x00007fff8605cfad __NSOrderedSetChunkIterate + 509
7 CoreFoundation 0x00007fff85faf3ee __NSOrderedSetGetIndexPassingTest + 1342
8 Mail 0x0000000109ff97f3 Mail + 174067
9 Mail 0x0000000109ff9640 Mail + 173632
10 Mail 0x000000010a2ed7e8 Mail + 3270632
11 Mail 0x000000010a2edcee Mail + 3271918
12 Mail 0x000000010a008d95 Mail + 236949
13 Mail 0x000000010a1e9960 Mail + 2206048
14 Mail 0x000000010a2d2961 Mail + 3160417
15 Mail 0x000000010a190ddc Mail + 1842652
16 Mail 0x000000010a02ec05 Mail + 392197
17 Mail 0x000000010a02e9bd Mail + 391613
18 Mail 0x000000010a0ceb04 Mail + 1047300
19 CoreFoundation 0x00007fff85f193ec __invoking___ + 140
20 CoreFoundation 0x00007fff85f19271 -[NSInvocation invoke] + 289
21 MailCore 0x00007fff95405e4f -[MCThrowingInvocationOperation main] + 48
22 MailCore 0x00007fff9538cdb0 -[_MCInvocationOperation main] + 425
23 Foundation 0x00007fff879506e4 -[__NSOperationInternal _start:] + 672
24 Foundation 0x00007fff8794c59b __NSOQSchedule_f + 201
25 libdispatch.dylib 0x00007fff9b43d0b8 _dispatch_client_callout + 8
26 libdispatch.dylib 0x00007fff9b453ae5 _dispatch_queue_serial_drain + 896
27 libdispatch.dylib 0x00007fff9b445cd9 _dispatch_queue_invoke + 1046
28 libdispatch.dylib 0x00007fff9b43ee70 _dispatch_root_queue_drain + 476
29 libdispatch.dylib 0x00007fff9b43ec47 _dispatch_worker_thread3 + 99
30 libsystem_pthread.dylib 0x00007fff9b68a712 _pthread_wqthread + 1299
31 libsystem_pthread.dylib 0x00007fff9b68a1ed start_wqthread + 13
iMac, macOS Sierra (10.12.3)