Problem
Mailspring throwing sync error to my local dovecot server after selecting Settings → General → Reset Cache
Context
No specific content, it can no longer get any mail at all
Email Provider
Dovecot 2.3.16 running on Ubuntu 22.04
Setup
- OS and Version: macOS 14.1.1 (23B81)
- Installation Method: downloaded zip from Mailspring - The best free email app
- Mailspring Version: 1.11.0-bbd4f188
The sync is showing the following in the error details (local domain information obscured). Other clients are having no issues reading mail from this server.
Mailspring Version: 1.11.0-bbd4f188
Platform: darwin
Account State: sync_error
Account Provider: imap
IMAP Server: imap.xxxxxxxx.com
SMTP Server: mail.xxxxxxxx.com
--------------------------------------------
88464 [2023-11-29 09:31:28.293] [background] [info] syncFolderChangesViaCondstore - INBOX: modseq 190090 to 190090, uidnext 156295 to 156295
88464 [2023-11-29 09:31:28.294] [background] [info] syncFolderUIDRange for Sent, UIDs: 12863 - 13613, Heavy: true
88464 [2023-11-29 09:31:28.313] [foreground] [info] syncFolderChangesViaCondstore - INBOX: modseq 190090 to 190090, uidnext 156295 to 156295
88464 [2023-11-29 09:31:28.314] [foreground] [info] Idling on folder INBOX
88464 [2023-11-29 09:31:28.369] [background] [critical]
***
*** Mailspring Sync
*** An abort error (SIGABRT) occurred during program execution:
*** system functions that detect corrupt state.
***
88464 [2023-11-29 09:31:28.557] [background] [critical] *** Stack trace (line numbers are approximate):
*** 0x7ff80d8a3a49 abort()
*** 0x7ff80d8a2d30 err()
*** 0x7ffc1ae72d64 _citrus_iconv_std_iconv_convert.cold.3()
*** 0x7ffc1ae728a7 _citrus_iconv_std_iconv_convert()
*** 0x7ff81aebafc0 __bsd_iconv()
*** in mailsync lepMixedConv(char const*, char const*, char const*, unsigned long, char*, unsigned long*)
*** in mailsync charconv()
*** in mailsync mailmime_encoded_phrase_parse()
*** in mailsync mailcore::String::stringByDecodingMIMEHeaderValue(char const*)
*** in mailsync mailcore::MessageHeader::importIMAPEnvelope(mailimap_envelope*)
*** in mailsync msg_att_handler(mailimap_msg_att*, void*)
*** in mailsync mailimap_response_data_parse_progress()
*** in mailsync mailimap_cont_req_or_resp_data_parse_progress()
*** in mailsync mailimap_response_parse_progress()
*** in mailsync mailimap_response_parse_with_context()
*** in mailsync mailimap_parse_response()
*** in mailsync mailimap_uid_fetch_qresync_vanished()
*** in mailsync mailimap_uid_fetch_changedsince()
*** in mailsync mailcore::IMAPSession::fetchMessages(mailcore::String*, mailcore::IMAPMessagesRequestKind, bool, mailimap_set*, mailcore::IndexSet*, mailcore::IndexSet*, unsigned long long, mailcore::HashMap*, mailcore::IMAPProgressCallback*, mailcore::Array*, mailcore::ErrorCode*)
*** in mailsync mailcore::IMAPSession::fetchMessagesByUIDWithExtraHeaders(mailcore::String*, mailcore::IMAPMessagesRequestKind, mailcore::IndexSet*, mailcore::IMAPProgressCallback*, mailcore::Array*, mailcore::ErrorCode*)
*** in mailsync mailcore::IMAPSession::fetchMessagesByUID(mailcore::String*, mailcore::IMAPMessagesRequestKind, mailcore::IndexSet*, mailcore::IMAPProgressCallback*, mailcore::ErrorCode*)
*** in mailsync SyncWorker::syncFolderUIDRange(Folder&, mailcore::Range, bool, vector*)
*** in mailsync SyncWorker::syncNow()
*** in mailsync runBackgroundSyncWorker()
*** in mailsync main::$_6::operator()() const
*** in mailsync tuple_element::type& get(tuple&)
*** in mailsync decltype(static_cast(fp)()) __invoke(main::$_6&&)
*** in mailsync void* __thread_proxy(void*)
*** 0x7ff80d980bab thread_start()
***