Problem
Hi ! One of my gmail accounts (I have 2 others working just fine) is not being correctly synced. Everything looks fine, the mails of the account appear on the interface, but a few moments later a red box appears telling me that an error was encountered while syncing. Thanks !
Context
The issue is reproductible everytime for this gmail account. I tried deleting it and putting it again and it still doesn’t work
Email Provider
Gmail
Setup
- OS and Version: macos 11.7
- Installation Method: installer
- Mailspring Version: 1.10.7
Error log
Blockquote
Mailspring Version: 1.10.7-5008ecc3
Platform: darwin
Account State: sync_error
Account Provider: gmail
IMAP Server: imap.gmail.com
SMTP Server: smtp.gmail.com
1228 [2022-12-16 18:10:09.564] [background] [info] Marking all folders asbusy
1228 [2022-12-16 18:10:09.565] [background] [info] Syncing folder list…
1228 [2022-12-16 18:10:11.059] [background] [info] Syncing folder list…
1228 [2022-12-16 18:10:11.327] [background] [info] syncFolderUIDRange for [Gmail]/Tous les messages, UIDs: 1 - 0, Heavy: false
1228 [2022-12-16 18:10:12.511] [foreground] [info] syncFolderChangesViaCondstore - [Gmail]/Tous les messages: modseq 3172198 to 3172198, uidnext 33771 to 33771
1228 [2022-12-16 18:10:12.557] [foreground] [info] Idling on folder [Gmail]/Tous les messages
1228 [2022-12-16 18:10:20.449] [metadataExpiration] [info] Scanning for expired metadata
1228 [2022-12-16 18:10:20.449] [metadataExpiration] [info] – Will wake for next expiration in 7200sec
1228 [2022-12-16 18:10:20.576] [background] [info] - [Gmail]/Tous les messages: remote=20085, local=10015, remoteUID=9n7c4YvJkEBZnMK2cqcHL4gVxTBx6LNaJbTvC41fy
1228 [2022-12-16 18:10:20.623] [background] [info] - Fetching full headers for 1024 (of 10070 needed)
1228 [2022-12-16 18:10:23.764] [background] [warning] [SLOW] Transaction=insertMessage > 80ms (160ms, 0 waiting to aquire)
1228 [2022-12-16 18:10:23.932] [background] [warning] [SLOW] Transaction=insertMessage > 80ms (95ms, 0 waiting to aquire)
1228 [2022-12-16 18:10:24.093] [background] [warning] [SLOW] Transaction=insertMessage > 80ms (81ms, 0 waiting to aquire)
1228 [2022-12-16 18:10:24.920] [background] [warning] [SLOW] Transaction=insertMessage > 80ms (97ms, 0 waiting to aquire)
1228 [2022-12-16 18:10:25.093] [background] [warning] [SLOW] Transaction=insertMessage > 80ms (85ms, 0 waiting to aquire)
1228 [2022-12-16 18:10:26.822] [background] [warning] [SLOW] Transaction=insertMessage > 80ms (93ms, 0 waiting to aquire)
1228 [2022-12-16 18:10:26.917] [calContacts] [critical]
*** Mailspring Sync
*** An abort error (SIGABRT) occurred during program execution:
*** system functions that detect corrupt state.
1228 [2022-12-16 18:10:27.057] [calContacts] [critical] *** Stack trace (line numbers are approximate):
*** 0x7fff2067a406 abort()
*** 0x7fff206797d8 err()
*** in mailsync nlohmann::basic_json const& nlohmann::basic_json::operator(char const*) const
*** in mailsync GoogleContactsWorker::applyJSONToContact(shared_ptr, nlohmann::basic_json const&)
*** in mailsync GoogleContactsWorker::run()::$_0::operator()(nlohmann::basic_json) const
*** in mailsync decltype(static_cast(fp)(static_cast(fp0))) __invoke(GoogleContactsWorker::run()::$_0&, nlohmann::basic_json&&)
*** in mailsync GoogleContactsWorker::paginateGoogleCollection(string, string, string, function)
*** in mailsync GoogleContactsWorker::run()
*** in mailsync runCalContactsSyncWorker()
*** in mailsync main::$_7::operator()() const
*** in mailsync void* __thread_proxy(void*)
*** 0x7fff20721443 thread_start()