Error saving large sent messages, resulting in duplicates Sent folder
Bug summary
Geary seems to be creating copies of a mail in the sent mail folder infinitely while running. Today, these mail duplicates used about 5GB of my mail inbox.
About you
- Geary version: mainline
Geary version: 3.33.1
Geary revision: mainline~gc3fc7c45-dirty
GTK version: 3.24.10
GLib version: 2.61.2
WebKitGTK version: 2.25.4
Desktop environment: GNOME
Installation prefix: /app
- Installation method: Gnome Builder
- Your desktop: Gnome
- Your operating system and version: Fedora 30
- Email provider: Strato.de
Steps to reproduce
Not sure. Start geary and observe how the mail duplicates appear in the sent mail folder.
(shortly after deleting all duplicates, now 8 duplicates exist again)
Relevant logs and/or screenshots
The insertion of a mail happened around 16:40 (every few minutes)
[deb] 16:38:39.0544 Geary: account_01[other]>Sent Items: Scheduling folder close
[deb] 16:38:44.0599 geary: app-insert-operation.vala:38: Inserting 1 messages into GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=3 remote_opened=true)
[deb] 16:38:44.0600 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:38:44.0600 geary: imap-engine-replay-queue.vala:565: Retrying op [0] CreateEmail: created_id: none remote_retry_count=2 on ReplayQueue:GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=3 remote_opened=true) (notification=0 local=0 local_active=true remote=5 remote_active=true)
[deb] 16:38:44.0631 Geary: account_01[other]>Sent Items: Scheduling folder close
[deb] 16:39:14.0949 geary: imap-engine-replay-queue.vala:570: Replay remote error for [0] CreateEmail: created_id: none remote_retry_count=2 on ReplayQueue:GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=2 remote_opened=true) (notification=0 local=0 local_active=false remote=5 remote_active=true): a043 append: Command timed out (GEARY_IMAP_ENGINE_REPLAY_OPERATION_ON_ERROR_RETRY)
[deb] 16:39:14.0949 geary: imap-engine-replay-queue.vala:593: Throwing error for op [0] CreateEmail: created_id: none remote_retry_count=2 on ReplayQueue:GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=2 remote_opened=true) (notification=0 local=0 local_active=false remote=5 remote_active=true): a043 append: Command timed out
[deb] 16:39:14.0950 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:39:14.0961 Geary: account_01[other]>Sent Items: Scheduling folder close
[deb] 16:39:30.0592 geary: imap-folder-session.vala:165: account_01:>Sent Items:0011/imap.strato.de:993 GEARY_IMAP_CLIENT_SESSION_STATE_SELECTED EXISTS 1334
[deb] 16:39:30.0592 Geary: account_01[other]>Sent Items: on_remote_appended: remote_count=1334 appended=1
[deb] 16:39:30.0597 geary: imap-folder-session.vala:206: account_01:>Sent Items:0011/imap.strato.de:993 GEARY_IMAP_CLIENT_SESSION_STATE_SELECTED RECENT 4
[deb] 16:39:31.0593 geary: imap-engine-replay-queue.vala:273: GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=1 remote_opened=true): Scheduling 1 held server notification operations
[deb] 16:39:32.0235 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:39:32.0236 geary: imap-engine-replay-removal.vala:48: GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=1 remote_opened=true): ReplayRemoval this.position=1330 reported_remote_count=1334
[deb] 16:39:32.0237 geary: app-append-operation.vala:19: Appending 1 message(s) to GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=1 remote_opened=true)
[deb] 16:39:32.0240 geary: imap-engine-email-prefetcher.vala:130: GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=1 remote_opened=true): Scheduling 1 new emails for prefetching
[deb] 16:39:32.0270 geary: GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=1 remote_opened=true) ReplayRemoval: completed, (this.remote_count=1334 local_count=1334 starting local_count=1335 this.position=1330 local_position=1330 marked=true)
[deb] 16:39:32.0271 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:39:32.0475 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:39:32.0509 geary: imap-engine-abstract-list-email.vala:158: [GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=1 remote_opened=true)] 1 previously-fulfilled fetches avoided in list operation, 1 total
[deb] 16:39:32.0510 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:39:32.0510 geary: imap-engine-replay-removal.vala:48: GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=1 remote_opened=true): ReplayRemoval this.position=1329 reported_remote_count=1333
[deb] 16:39:32.0531 Geary: account_01[other]>Sent Items: Fetching 100 flags
[deb] 16:39:32.0541 geary: GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=1 remote_opened=true) ReplayRemoval: completed, (this.remote_count=1333 local_count=1333 starting local_count=1334 this.position=1329 local_position=1329 marked=true)
[deb] 16:39:32.0542 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:39:32.0711 geary: imap-engine-email-prefetcher.vala:218: finished do_prefetch_batch_async GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=1 remote_opened=true) end_total=1
[deb] 16:39:33.0948 geary: imap-engine-email-prefetcher.vala:166: do_prefetch_batch_async GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=1 remote_opened=true) start_total=1
[deb] 16:39:33.0948 geary: imap-engine-email-prefetcher.vala:223: do_prefetch_email_async: GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=1 remote_opened=true) prefetching 1 emails (14557252b)
[deb] 16:39:34.0246 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:39:34.0249 geary: imap-engine-email-prefetcher.vala:130: GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=1 remote_opened=true): Scheduling 1 new emails for prefetching
[deb] 16:39:34.0662 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:39:40.0145 geary: app-append-operation.vala:19: Appending 1 message(s) to GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=1 remote_opened=true)
[deb] 16:39:40.0152 Geary: account_01[other]>Sent Items: Scheduling folder close
[deb] 16:39:40.0237 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:39:40.0288 Geary: account_01[other]>Sent Items: Fetching 100 flags
[deb] 16:39:42.0585 geary: imap-engine-replay-queue.vala:484: Replay local error for [61] FetchEmail: id=[8190/2255] required_fields=37Fh remaining_fields=37Fh flags=1h has_email=true remote_retry_count=0 on ReplayQueue:GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=3 remote_opened=true) (notification=0 local=0 local_active=true remote=3 remote_active=true): Email [8190/2255] with fields 37Fh locally incomplete [61] FetchEmail: id=[8190/2255] required_fields=37Fh remaining_fields=37Fh flags=1h has_email=true remote_retry_count=0
[deb] 16:39:42.0586 Geary: account_01[other]>Sent Items: Scheduling folder close
[deb] 16:39:43.0949 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:39:44.0150 geary: imap-engine-email-prefetcher.vala:218: finished do_prefetch_batch_async GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=3 remote_opened=true) end_total=1
[deb] 16:39:44.0151 geary: imap-engine-email-prefetcher.vala:166: do_prefetch_batch_async GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=3 remote_opened=true) start_total=1
[deb] 16:39:44.0151 geary: imap-engine-email-prefetcher.vala:223: do_prefetch_email_async: GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=3 remote_opened=true) prefetching 1 emails (14557252b)
[deb] 16:39:44.0398 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:39:44.0448 geary: imap-engine-abstract-list-email.vala:158: [GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=3 remote_opened=true)] 1 previously-fulfilled fetches avoided in list operation, 2 total
[deb] 16:39:44.0448 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:39:44.0449 Geary: account_01[other]>Sent Items: Scheduling folder close
[deb] 16:39:50.0042 geary: app-insert-operation.vala:38: Inserting 1 messages into GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=2 remote_opened=true)
[deb] 16:39:50.0091 Geary: account_01[other]>Sent Items: Scheduling folder close
[deb] 16:39:53.0984 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:39:54.0052 Geary: account_01[other]>Sent Items: Fetching 100 flags
[deb] 16:39:57.0756 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:39:57.0756 Geary: account_01[other]>Sent Items: Scheduling folder close
[deb] 16:40:01.0421 geary: app-insert-operation.vala:38: Inserting 1 messages into GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=2 remote_opened=true)
[deb] 16:40:01.0460 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:40:01.0496 geary: imap-engine-abstract-list-email.vala:158: [GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=2 remote_opened=true)] 1 previously-fulfilled fetches avoided in list operation, 3 total
[deb] 16:40:01.0496 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:40:01.0498 Geary: account_01[other]>Sent Items: Scheduling folder close
[deb] 16:40:01.0661 geary: imap-engine-email-prefetcher.vala:218: finished do_prefetch_batch_async GearyImapEngineOtherFolder(account_01:>Sent Items) (open_count=1 remote_opened=true) end_total=1
[deb] 16:40:07.0994 Geary: account_01[other]>Sent Items: Fetching 100 flags
[deb] 16:40:07.0997 Geary: account_01[other]>Sent Items: Claiming folder session
[deb] 16:40:08.0229 Geary: account_01[other]>Sent Items: Fetching 89 flags
[deb] 16:40:08.0246 Geary: account_01[other]>Sent Items: Claiming folder session
Edited by Michael Gratton