Database lock on big mailboxes

Mailspring Version: 1.19.1-66f9e225
Platform: linux
Account State: sync_error
Account Provider: imap
IMAP Server: mail.<masked>.com
SMTP Server: mail.<masked>.com
--------------------------------------------
1712172 [2026-04-13 13:49:31.028] [background] [info] -- 0 matches.
1712172 [2026-04-13 13:49:31.028] [background] [info] Unlinking messages  WHERE remoteFolderId = ? AND remoteUID IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) no longer present in remote range.
1712172 [2026-04-13 13:49:31.068] [background] [info] -- 0 matches.
1712172 [2026-04-13 13:49:31.069] [background] [info] Unlinking messages  WHERE remoteFolderId = ? AND remoteUID IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) no longer present in remote range.
1712172 [2026-04-13 13:49:31.095] [foreground] [critical] 
***
*** Mailspring Sync 
*** A C++ exception occurred during program execution: 
*** database is locked
***

1712172 [2026-04-13 13:49:31.107] [background] [info] -- 0 matches.
1712172 [2026-04-13 13:49:31.107] [background] [info] Unlinking messages  WHERE remoteFolderId = ? AND remoteUID IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) no longer present in remote range.
1712172 [2026-04-13 13:49:31.138] [foreground] [critical] *** Stack trace (line numbers are approximate):
*** exceptions::logCurrentExceptionWithStackTrace() у ??:?                    exceptions::logCurrentExceptionWithStackTrace()
*** runForegroundSyncWorker() у ??:?                                          runForegroundSyncWorker()
*** runBackgroundSyncWorker()::{lambda()#1}::operator()() const у main.cpp:?  runBackgroundSyncWorker()::{lambda()#1}::operator()() const у main.cpp:?
*** execute_native_thread_routine у thread.o:?                                execute_native_thread_routine у thread.o:?()
***

**Your Mailspring Pro subscription will be cancelled at the end of your current billing period. **

After the last updates, the mail client is unusable because of sync issues and massive core dumps. No support, no response.

Farewell.