"Android Not Responding" background freeze
- Dominant language
- Rust
- Stars
- 929
- Forks
- 143
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 53
Description
I disabled all my other profiles and left only the problematic profile enabled (in arcanechat I have control over start_io per profile) and collected the following log, in the log from the start it was all slow and getting "Android Not Responding" due to some background thread while I could use the app despite some operations like long-pressing a message and reacting being very slow due to getChatMsgs()
the ANR dialog would keep appearing over and over so some background thread got permanently blocked calling some core operation/api, I was trying to react to a message and remove reaction while the app was kinda frozen and very unresponsive with the ANR poping up until eventually it did my actions
core-only log:
```
2026-07-19 20:49:28.237 26943-26943 DeltaChat com.github.arcanechat I ++++++++++++++++++ ApplicationContext.onCreate() ++++++++++++++++++
2026-07-19 20:49:28.255 26943-26962 DeltaChat com.github.arcanechat I ++++++++++++++++++ NetworkCallback.onAvailable() #0
2026-07-19 20:49:28.255 26943-26962 DeltaChat com.github.arcanechat I ++++++++++++++++++ NetworkCallback.onCapabilitiesChanged() #0
2026-07-19 20:49:28.255 26943-26962 DeltaChat com.github.arcanechat I ++++++++++++++++++ NetworkCallback.onLinkPropertiesChanged() #0
2026-07-19 20:49:28.255 26943-26962 DeltaChat com.github.arcanechat I ++++++++++++++++++ NetworkCallback.onBlockedStatusChanged(false) #0
2026-07-19 20:49:28.305 26943-26973 DeltaChat com.github.arcanechat I [accId=1] src/sql/migrations.rs:2502: Database version: v156.
2026-07-19 20:49:28.305 26943-26973 DeltaChat com.github.arcanechat I [accId=1] src/sql.rs:264: Opened database "/data/user/0/com.github.arcanechat/files/accounts/336d4943-245a-4fc4-9995-2f46c1de2a4c/dc.db".
2026-07-19 20:49:28.331 26943-26973 DeltaChat com.github.arcanechat I [accId=2] src/sql/migrations.rs:2502: Database version: v156.
2026-07-19 20:49:28.331 26943-26973 DeltaChat com.github.arcanechat I [accId=2] src/sql.rs:264: Opened database "/data/user/0/com.github.arcanechat/files/accounts/f0caace8-1882-4124-9ebb-1cf86e8e45c9/dc.db".
2026-07-19 20:49:28.348 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/sql/migrations.rs:2502: Database version: v156.
2026-07-19 20:49:28.348 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/sql.rs:264: Opened database "/data/user/0/com.github.arcanechat/files/accounts/a9c5f762-8a73-499a-8254-d41e16501ec2/dc.db".
2026-07-19 20:49:28.361 26943-26973 DeltaChat com.github.arcanechat I [accId=52] src/sql/migrations.rs:2502: Database version: v156.
2026-07-19 20:49:28.361 26943-26973 DeltaChat com.github.arcanechat I [accId=52] src/sql.rs:264: Opened database "/data/user/0/com.github.arcanechat/files/accounts/3032a56b-7a4f-4254-bb71-6fe90f748554/dc.db".
2026-07-19 20:49:28.373 26943-26973 DeltaChat com.github.arcanechat W [accId=3] deltachat-ffi/src/lib.rs:310: Invalid stock message ID 98
2026-07-19 20:49:28.377 26943-26973 DeltaChat com.github.arcanechat W [accId=3] deltachat-ffi/src/lib.rs:310: Invalid stock message ID 113
2026-07-19 20:49:28.377 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:68: starting IO
2026-07-19 20:49:28.377 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:347: Starting inbox loop.
2026-07-19 20:49:28.377 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:367: Transport 1: Preparing new IMAP session for inbox.
2026-07-19 20:49:28.377 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:339: Connecting to IMAP server.
2026-07-19 20:49:28.377 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:347: Starting inbox loop.
2026-07-19 20:49:28.377 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:347: Starting inbox loop.
2026-07-19 20:49:28.377 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:367: Transport 4: Preparing new IMAP session for inbox.
2026-07-19 20:49:28.377 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:339: Connecting to IMAP server.
2026-07-19 20:49:28.377 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:541: Starting SMTP loop.
2026-07-19 20:49:28.377 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:367: Transport 3: Preparing new IMAP session for inbox.
2026-07-19 20:49:28.377 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:339: Connecting to IMAP server.
2026-07-19 20:49:28.377 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:698: scheduler is running
2026-07-19 20:49:28.380 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:354: IMAP trying to connect to mailcow.testrun.org:993:tls.
2026-07-19 20:49:28.380 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:140: No memory-cached DNS resolution for mailcow.testrun.org available, waiting for the resolver.
2026-07-19 20:49:28.381 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/location.rs:744: Location loop is waiting for 24h 0m 0s or interrupt
2026-07-19 20:49:28.381 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:180: Resolved mailcow.testrun.org into 2a00:f820:417:0:5:1:76:52.
2026-07-19 20:49:28.382 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:354: IMAP trying to connect to chatmail.bsd.cafe:143:starttls.
2026-07-19 20:49:28.382 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:140: No memory-cached DNS resolution for chatmail.bsd.cafe available, waiting for the resolver.
2026-07-19 20:49:28.382 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:354: IMAP trying to connect to nine.testrun.org:993:tls.
2026-07-19 20:49:28.382 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:140: No memory-cached DNS resolution for nine.testrun.org available, waiting for the resolver.
2026-07-19 20:49:28.382 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:180: Resolved mailcow.testrun.org into 5.1.76.52.
2026-07-19 20:49:28.382 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/smtp.rs:522: Selected rows from SMTP queue: [].
2026-07-19 20:49:28.383 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:581: SMTP fake idle started.
2026-07-19 20:49:28.383 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:609: SMTP has no messages to retry, waiting for interrupt.
2026-07-19 20:49:28.383 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:613: SMTP fake idle interrupted.
2026-07-19 20:49:28.383 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/smtp.rs:522: Selected rows from SMTP queue: [].
2026-07-19 20:49:28.383 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:581: SMTP fake idle started.
2026-07-19 20:49:28.383 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:609: SMTP has no messages to retry, waiting for interrupt.
2026-07-19 20:49:28.384 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:180: Resolved nine.testrun.org into 2a01:4f9:fff1:59::1.
2026-07-19 20:49:28.384 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:180: Resolved nine.testrun.org into 77.42.49.41.
2026-07-19 20:49:28.385 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap/client.rs:147: Attempting IMAP connection to nine.testrun.org (77.42.49.41:993).
2026-07-19 20:49:28.385 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap/client.rs:147: Attempting IMAP connection to mailcow.testrun.org ([2a00:f820:417:0:5:1:76:52]:993).
2026-07-19 20:49:28.386 26943-26943 DeltaChat com.github.arcanechat I +++++++++++ ApplicationContext.onCreate() finished ++++++++++
2026-07-19 20:49:28.393 26943-26943 DeltaChat com.github.arcanechat I ++++++++++++++++++ Connected #0
2026-07-19 20:49:28.416 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:180: Resolved chatmail.bsd.cafe into 2a01:4f9:c015:294b::25.
2026-07-19 20:49:28.416 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:180: Resolved chatmail.bsd.cafe into 157.180.77.56.
2026-07-19 20:49:28.417 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap/client.rs:147: Attempting IMAP connection to chatmail.bsd.cafe ([2a01:4f9:c015:294b::25]:143).
2026-07-19 20:49:28.497 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/key.rs:133: Converting secret key to public key.
2026-07-19 20:49:28.512 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:395: Logging into IMAP server with LOGIN.
2026-07-19 20:49:28.516 26943-26943 DeltaChat com.github.arcanechat I ++++++++++++++++++ first ForegroundDetector.onActivityStarted() ++++++++++++++++++
2026-07-19 20:49:28.517 26943-27049 DeltaChat com.github.arcanechat I calling maybeNetwork()
2026-07-19 20:49:28.517 26943-27049 DeltaChat com.github.arcanechat I maybeNetwork() returned
2026-07-19 20:49:28.517 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:613: SMTP fake idle interrupted.
2026-07-19 20:49:28.517 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/smtp.rs:522: Selected rows from SMTP queue: [].
2026-07-19 20:49:28.517 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:581: SMTP fake idle started.
2026-07-19 20:49:28.518 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:609: SMTP has no messages to retry, waiting for interrupt.
2026-07-19 20:49:28.557 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:417: Enabling IMAP compression.
2026-07-19 20:49:28.575 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:456: Successfully logged into IMAP server.
2026-07-19 20:49:28.575 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:380: Transport 1: Prepared new IMAP session for inbox.
2026-07-19 20:49:28.575 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:88: Transport 1: Updating quota.
2026-07-19 20:49:28.592 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:106: Transport 1: Updated quota.
2026-07-19 20:49:28.649 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/contact.rs:2158: Recently seen loop waiting for 24h 0m 0s or interrupt
2026-07-19 20:49:28.650 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:1417: Server supports metadata, retrieving server comment and admin contact.
2026-07-19 20:49:28.650 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:395: Logging into IMAP server with LOGIN.
2026-07-19 20:49:28.718 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap/client.rs:147: Attempting IMAP connection to chatmail.bsd.cafe (157.180.77.56:143).
2026-07-19 20:49:28.744 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:456: Successfully logged into IMAP server.
2026-07-19 20:49:28.744 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:380: Transport 3: Prepared new IMAP session for inbox.
2026-07-19 20:49:28.744 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:88: Transport 3: Updating quota.
2026-07-19 20:49:28.785 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:106: Transport 3: Updated quota.
2026-07-19 20:49:29.221 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:395: Logging into IMAP server with LOGIN.
2026-07-19 20:49:29.269 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap/select_folder.rs:78: Transport 1: Selected folder "INBOX".
2026-07-19 20:49:29.270 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:581: Transport 1: No new emails in folder "INBOX".
2026-07-19 20:49:29.326 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:456: Successfully logged into IMAP server.
2026-07-19 20:49:29.326 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:380: Transport 4: Prepared new IMAP session for inbox.
2026-07-19 20:49:29.326 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:88: Transport 4: Updating quota.
2026-07-19 20:49:29.365 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:106: Transport 4: Updated quota.
2026-07-19 20:49:29.503 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap/select_folder.rs:78: Transport 3: Selected folder "INBOX".
2026-07-19 20:49:29.503 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:581: Transport 3: No new emails in folder "INBOX".
2026-07-19 20:49:33.574 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/ephemeral.rs:625: Ephemeral loop waiting for deletion in 43h 23m 20s or interrupt
2026-07-19 20:49:38.711 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap/select_folder.rs:78: Transport 4: Selected folder "INBOX".
2026-07-19 20:49:38.713 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:581: Transport 4: No new emails in folder "INBOX".
2026-07-19 20:49:48.324 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:47: Transport 1: Skip IDLE in "INBOX" because we got interrupt.
2026-07-19 20:49:48.554 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:47: Transport 3: Skip IDLE in "INBOX" because we got interrupt.
2026-07-19 20:49:57.092 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:47: Transport 4: Skip IDLE in "INBOX" because we got interrupt.
2026-07-19 20:49:57.114 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:581: Transport 4: No new emails in folder "INBOX".
2026-07-19 20:49:57.356 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:581: Transport 1: No new emails in folder "INBOX".
2026-07-19 20:49:57.419 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:581: Transport 3: No new emails in folder "INBOX".
2026-07-19 20:50:06.012 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:67: Transport 4: IDLE entering wait-on-remote state in folder "INBOX".
2026-07-19 20:50:14.987 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:67: Transport 1: IDLE entering wait-on-remote state in folder "INBOX".
2026-07-19 20:50:24.199 26943-26973 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:67: Transport 3: IDLE entering wait-on-remote state in folder "INBOX".
2026-07-19 20:51:16.906 27193-27193 DeltaChat com.github.arcanechat I ++++++++++++++++++ ApplicationContext.onCreate() ++++++++++++++++++
2026-07-19 20:51:16.920 27193-27211 DeltaChat com.github.arcanechat I ++++++++++++++++++ NetworkCallback.onAvailable() #0
2026-07-19 20:51:16.920 27193-27211 DeltaChat com.github.arcanechat I ++++++++++++++++++ NetworkCallback.onCapabilitiesChanged() #0
2026-07-19 20:51:16.920 27193-27211 DeltaChat com.github.arcanechat I ++++++++++++++++++ NetworkCallback.onLinkPropertiesChanged() #0
2026-07-19 20:51:16.920 27193-27211 DeltaChat com.github.arcanechat I ++++++++++++++++++ NetworkCallback.onBlockedStatusChanged(false) #0
2026-07-19 20:51:16.976 27193-27210 DeltaChat com.github.arcanechat I [accId=1] src/sql/migrations.rs:2502: Database version: v156.
2026-07-19 20:51:16.976 27193-27210 DeltaChat com.github.arcanechat I [accId=1] src/sql.rs:264: Opened database "/data/user/0/com.github.arcanechat/files/accounts/336d4943-245a-4fc4-9995-2f46c1de2a4c/dc.db".
2026-07-19 20:51:16.976 27193-27210 DeltaChat com.github.arcanechat I [accId=2] src/sql/migrations.rs:2502: Database version: v156.
2026-07-19 20:51:16.976 27193-27210 DeltaChat com.github.arcanechat I [accId=2] src/sql.rs:264: Opened database "/data/user/0/com.github.arcanechat/files/accounts/f0caace8-1882-4124-9ebb-1cf86e8e45c9/dc.db".
2026-07-19 20:51:16.977 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/sql/migrations.rs:2502: Database version: v156.
2026-07-19 20:51:16.977 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/sql.rs:264: Opened database "/data/user/0/com.github.arcanechat/files/accounts/a9c5f762-8a73-499a-8254-d41e16501ec2/dc.db".
2026-07-19 20:51:16.991 27193-27210 DeltaChat com.github.arcanechat I [accId=52] src/sql/migrations.rs:2502: Database version: v156.
2026-07-19 20:51:16.991 27193-27210 DeltaChat com.github.arcanechat I [accId=52] src/sql.rs:264: Opened database "/data/user/0/com.github.arcanechat/files/accounts/3032a56b-7a4f-4254-bb71-6fe90f748554/dc.db".
2026-07-19 20:51:17.008 27193-27210 DeltaChat com.github.arcanechat W [accId=3] deltachat-ffi/src/lib.rs:310: Invalid stock message ID 98
2026-07-19 20:51:17.013 27193-27210 DeltaChat com.github.arcanechat W [accId=3] deltachat-ffi/src/lib.rs:310: Invalid stock message ID 113
2026-07-19 20:51:17.013 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:68: starting IO
2026-07-19 20:51:17.013 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:347: Starting inbox loop.
2026-07-19 20:51:17.013 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:367: Transport 1: Preparing new IMAP session for inbox.
2026-07-19 20:51:17.013 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:339: Connecting to IMAP server.
2026-07-19 20:51:17.013 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:347: Starting inbox loop.
2026-07-19 20:51:17.013 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:367: Transport 3: Preparing new IMAP session for inbox.
2026-07-19 20:51:17.013 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:339: Connecting to IMAP server.
2026-07-19 20:51:17.013 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:347: Starting inbox loop.
2026-07-19 20:51:17.013 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:367: Transport 4: Preparing new IMAP session for inbox.
2026-07-19 20:51:17.013 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:541: Starting SMTP loop.
2026-07-19 20:51:17.013 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:339: Connecting to IMAP server.
2026-07-19 20:51:17.013 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:698: scheduler is running
2026-07-19 20:51:17.013 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/location.rs:744: Location loop is waiting for 24h 0m 0s or interrupt
2026-07-19 20:51:17.014 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:354: IMAP trying to connect to mailcow.testrun.org:993:tls.
2026-07-19 20:51:17.014 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:140: No memory-cached DNS resolution for mailcow.testrun.org available, waiting for the resolver.
2026-07-19 20:51:17.015 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/smtp.rs:522: Selected rows from SMTP queue: [].
2026-07-19 20:51:17.016 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:354: IMAP trying to connect to nine.testrun.org:993:tls.
2026-07-19 20:51:17.016 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:140: No memory-cached DNS resolution for nine.testrun.org available, waiting for the resolver.
2026-07-19 20:51:17.016 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:354: IMAP trying to connect to chatmail.bsd.cafe:143:starttls.
2026-07-19 20:51:17.016 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:140: No memory-cached DNS resolution for chatmail.bsd.cafe available, waiting for the resolver.
2026-07-19 20:51:17.016 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:581: SMTP fake idle started.
2026-07-19 20:51:17.016 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:609: SMTP has no messages to retry, waiting for interrupt.
2026-07-19 20:51:17.016 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:613: SMTP fake idle interrupted.
2026-07-19 20:51:17.016 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/smtp.rs:522: Selected rows from SMTP queue: [].
2026-07-19 20:51:17.016 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:581: SMTP fake idle started.
2026-07-19 20:51:17.016 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:609: SMTP has no messages to retry, waiting for interrupt.
2026-07-19 20:51:17.016 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:180: Resolved mailcow.testrun.org into 2a00:f820:417:0:5:1:76:52.
2026-07-19 20:51:17.018 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:180: Resolved mailcow.testrun.org into 5.1.76.52.
2026-07-19 20:51:17.018 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:180: Resolved nine.testrun.org into 2a01:4f9:fff1:59::1.
2026-07-19 20:51:17.019 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:180: Resolved nine.testrun.org into 77.42.49.41.
2026-07-19 20:51:17.019 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/client.rs:147: Attempting IMAP connection to mailcow.testrun.org ([2a00:f820:417:0:5:1:76:52]:993).
2026-07-19 20:51:17.019 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:180: Resolved chatmail.bsd.cafe into 2a01:4f9:c015:294b::25.
2026-07-19 20:51:17.019 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/client.rs:147: Attempting IMAP connection to nine.testrun.org (77.42.49.41:993).
2026-07-19 20:51:17.020 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:180: Resolved chatmail.bsd.cafe into 157.180.77.56.
2026-07-19 20:51:17.020 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/client.rs:147: Attempting IMAP connection to chatmail.bsd.cafe ([2a01:4f9:c015:294b::25]:143).
2026-07-19 20:51:17.028 27193-27193 DeltaChat com.github.arcanechat I +++++++++++ ApplicationContext.onCreate() finished ++++++++++
2026-07-19 20:51:17.031 27193-27193 DeltaChat com.github.arcanechat I ++++++++++++++++++ Connected #0
2026-07-19 20:51:17.087 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/key.rs:133: Converting secret key to public key.
2026-07-19 20:51:17.099 27193-27193 DeltaChat com.github.arcanechat I ++++++++++++++++++ first ForegroundDetector.onActivityStarted() ++++++++++++++++++
2026-07-19 20:51:17.100 27193-27293 DeltaChat com.github.arcanechat I calling maybeNetwork()
2026-07-19 20:51:17.100 27193-27293 DeltaChat com.github.arcanechat I maybeNetwork() returned
2026-07-19 20:51:17.100 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:613: SMTP fake idle interrupted.
2026-07-19 20:51:17.101 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/smtp.rs:522: Selected rows from SMTP queue: [].
2026-07-19 20:51:17.101 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:581: SMTP fake idle started.
2026-07-19 20:51:17.101 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:609: SMTP has no messages to retry, waiting for interrupt.
2026-07-19 20:51:17.184 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/contact.rs:2158: Recently seen loop waiting for 24h 0m 0s or interrupt
2026-07-19 20:51:17.185 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:395: Logging into IMAP server with LOGIN.
2026-07-19 20:51:17.185 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:395: Logging into IMAP server with LOGIN.
2026-07-19 20:51:17.237 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:417: Enabling IMAP compression.
2026-07-19 20:51:17.259 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:456: Successfully logged into IMAP server.
2026-07-19 20:51:17.259 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:380: Transport 1: Prepared new IMAP session for inbox.
2026-07-19 20:51:17.259 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:88: Transport 1: Updating quota.
2026-07-19 20:51:17.283 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:106: Transport 1: Updated quota.
2026-07-19 20:51:17.283 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:1417: Server supports metadata, retrieving server comment and admin contact.
2026-07-19 20:51:17.284 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:456: Successfully logged into IMAP server.
2026-07-19 20:51:17.284 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:380: Transport 3: Prepared new IMAP session for inbox.
2026-07-19 20:51:17.284 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:88: Transport 3: Updating quota.
2026-07-19 20:51:17.303 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:395: Logging into IMAP server with LOGIN.
2026-07-19 20:51:17.331 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:106: Transport 3: Updated quota.
2026-07-19 20:51:17.538 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:456: Successfully logged into IMAP server.
2026-07-19 20:51:17.538 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:380: Transport 4: Prepared new IMAP session for inbox.
2026-07-19 20:51:17.538 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:88: Transport 4: Updating quota.
2026-07-19 20:51:17.538 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/select_folder.rs:78: Transport 1: Selected folder "INBOX".
2026-07-19 20:51:17.539 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:581: Transport 1: No new emails in folder "INBOX".
2026-07-19 20:51:17.580 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:106: Transport 4: Updated quota.
2026-07-19 20:51:17.633 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/select_folder.rs:78: Transport 3: Selected folder "INBOX".
2026-07-19 20:51:17.634 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:581: Transport 3: No new emails in folder "INBOX".
2026-07-19 20:51:21.856 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/ephemeral.rs:625: Ephemeral loop waiting for deletion in 43h 21m 32s or interrupt
2026-07-19 20:51:26.443 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/select_folder.rs:78: Transport 4: Selected folder "INBOX".
2026-07-19 20:51:26.444 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:581: Transport 4: No new emails in folder "INBOX".
2026-07-19 20:51:35.037 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:47: Transport 1: Skip IDLE in "INBOX" because we got interrupt.
2026-07-19 20:51:35.089 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:47: Transport 3: Skip IDLE in "INBOX" because we got interrupt.
2026-07-19 20:51:43.849 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:47: Transport 4: Skip IDLE in "INBOX" because we got interrupt.
2026-07-19 20:51:43.884 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:581: Transport 4: No new emails in folder "INBOX".
2026-07-19 20:51:44.028 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:581: Transport 1: No new emails in folder "INBOX".
2026-07-19 20:51:44.080 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:581: Transport 3: No new emails in folder "INBOX".
2026-07-19 20:52:02.610 27193-27211 DeltaChat com.github.arcanechat I ++++++++++++++++++ NetworkCallback.onCapabilitiesChanged() #1
2026-07-19 20:52:11.779 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:67: Transport 1: IDLE entering wait-on-remote state in folder "INBOX".
2026-07-19 20:52:11.801 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:67: Transport 3: IDLE entering wait-on-remote state in folder "INBOX".
2026-07-19 20:52:11.807 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:67: Transport 4: IDLE entering wait-on-remote state in folder "INBOX".
2026-07-19 20:52:11.853 27193-27211 DeltaChat com.github.arcanechat I ++++++++++++++++++ NetworkCallback.onCapabilitiesChanged() #2
2026-07-19 20:52:38.432 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/mimefactory.rs:479: Scale up origin of Chat#53 recipients to IncomingTo.
2026-07-19 20:52:38.463 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/chat.rs:2904: Message Msg#495664 will be sent in one shot (no pre- and post-message). Size: 47.08 KiB.
2026-07-19 20:52:38.473 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:613: SMTP fake idle interrupted.
2026-07-19 20:52:38.474 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/smtp.rs:522: Selected rows from SMTP queue: [15397].
2026-07-19 20:52:38.476 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/smtp.rs:133: SMTP trying to connect to chatmail.bsd.cafe:465:tls.
2026-07-19 20:52:38.476 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:134: Using memory-cached DNS resolution for chatmail.bsd.cafe.
2026-07-19 20:52:38.476 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:180: Resolved chatmail.bsd.cafe into 2a01:4f9:c015:294b::25.
2026-07-19 20:52:38.477 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/net/dns.rs:180: Resolved chatmail.bsd.cafe into 157.180.77.56.
2026-07-19 20:52:38.478 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/smtp/connect.rs:109: Attempting SMTP connection to chatmail.bsd.cafe (157.180.77.56:465).
2026-07-19 20:52:38.779 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/smtp/connect.rs:109: Attempting SMTP connection to chatmail.bsd.cafe ([2a01:4f9:c015:294b::25]:465).
2026-07-19 20:52:38.901 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/smtp.rs:391: Try number 1 to send message Msg#495664 (entry 15397) over SMTP.
2026-07-19 20:52:39.270 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/smtp/send.rs:62: Message len=48207 was SMTP-sent to 15 recipients..
2026-07-19 20:52:39.273 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:581: SMTP fake idle started.
2026-07-19 20:52:39.273 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:609: SMTP has no messages to retry, waiting for interrupt.
2026-07-19 20:52:39.320 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:90: "INBOX": Idle has NewData ResponseData { raw: 4096, response: MailboxData(Exists(1477)) }
2026-07-19 20:52:39.357 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:88: Transport 4: Updating quota.
2026-07-19 20:52:39.395 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:106: Transport 4: Updated quota.
2026-07-19 20:52:39.557 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:617: fetch_new_msg_batch(INBOX): UIDVALIDITY=1781058852, UIDNEXT=15248.
2026-07-19 20:52:39.609 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:81: "INBOX": Received interrupt, stopping IDLE.
2026-07-19 20:52:39.609 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:81: "INBOX": Received interrupt, stopping IDLE.
2026-07-19 20:52:39.609 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:96: "INBOX": Idle wait was interrupted manually.
2026-07-19 20:52:39.609 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:96: "INBOX": Idle wait was interrupted manually.
2026-07-19 20:52:39.609 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:807: 1 mails read from "INBOX".
2026-07-19 20:52:39.609 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:816: available_post_msgs: 0, download_later: 0.
2026-07-19 20:52:39.627 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:88: Transport 1: Updating quota.
2026-07-19 20:52:39.644 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:106: Transport 1: Updated quota.
2026-07-19 20:52:39.654 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:88: Transport 3: Updating quota.
2026-07-19 20:52:39.707 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/quota.rs:106: Transport 3: Updated quota.
2026-07-19 20:52:49.485 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/ephemeral.rs:625: Ephemeral loop waiting for deletion in 43h 20m 4s or interrupt
2026-07-19 20:52:49.584 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:47: Transport 4: Skip IDLE in "INBOX" because we got interrupt.
2026-07-19 20:52:49.584 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:617: fetch_new_msg_batch(INBOX): UIDVALIDITY=1745572588, UIDNEXT=88293.
2026-07-19 20:52:49.610 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:807: 0 mails read from "INBOX".
2026-07-19 20:52:49.610 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:816: available_post_msgs: 0, download_later: 0.
2026-07-19 20:52:49.661 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:617: fetch_new_msg_batch(INBOX): UIDVALIDITY=1765398533, UIDNEXT=54465.
2026-07-19 20:52:49.710 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:1156: Transport 4: Marked messages 15248 in folder INBOX as seen.
2026-07-19 20:52:52.446 27193-27211 DeltaChat com.github.arcanechat I ++++++++++++++++++ NetworkCallback.onCapabilitiesChanged() #3
2026-07-19 20:52:58.398 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:581: Transport 4: No new emails in folder "INBOX".
2026-07-19 20:52:58.445 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/mimefactory.rs:479: Scale up origin of Chat#53 recipients to IncomingTo.
2026-07-19 20:52:58.516 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:67: Transport 1: IDLE entering wait-on-remote state in folder "INBOX".
2026-07-19 20:53:03.111 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/ephemeral.rs:625: Ephemeral loop waiting for deletion in 43h 19m 50s or interrupt
2026-07-19 20:53:07.950 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:81: "INBOX": Received interrupt, stopping IDLE.
2026-07-19 20:53:07.950 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:96: "INBOX": Idle wait was interrupted manually.
2026-07-19 20:53:07.951 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:807: 1 mails read from "INBOX".
2026-07-19 20:53:07.951 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:816: available_post_msgs: 0, download_later: 0.
2026-07-19 20:53:07.972 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:47: Transport 4: Skip IDLE in "INBOX" because we got interrupt.
2026-07-19 20:53:07.981 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/chat.rs:2904: Message Msg#495665 will be sent in one shot (no pre- and post-message). Size: 5.56 KiB.
2026-07-19 20:53:17.970 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/scheduler.rs:613: SMTP fake idle interrupted.
2026-07-19 20:53:17.971 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:1630: Need to refetch "INBOX", got unsolicited EXISTS Exists(2912)
2026-07-19 20:53:17.971 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap/idle.rs:39: Transport 3: Skipping IDLE in "INBOX" because there may be new mail.
2026-07-19 20:53:17.972 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/smtp.rs:522: Selected rows from SMTP queue: [15398].
2026-07-19 20:53:17.991 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/smtp.rs:391: Try number 1 to send message Msg#495665 (entry 15398) over SMTP.
2026-07-19 20:53:18.044 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:1156: Transport 4: Marked messages 15248 in folder INBOX as seen.
2026-07-19 20:53:18.066 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:581: Transport 4: No new emails in folder "INBOX".
2026-07-19 20:53:18.066 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:617: fetch_new_msg_batch(INBOX): UIDVALIDITY=1745572588, UIDNEXT=88293.
2026-07-19 20:53:18.084 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:807: 0 mails read from "INBOX".
2026-07-19 20:53:18.084 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:816: available_post_msgs: 0, download_later: 0.
2026-07-19 20:53:18.214 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/smtp/send.rs:62: Message len=5691 was SMTP-sent to 15 recipients..
2026-07-19 20:53:18.254 27193-27210 DeltaChat com.github.arcanechat I [accId=3] src/imap.rs:1156: Transport 3: Marked messages 54465 in folder INBOX as seen.
```
full log with all app/client and system entries:
[log.txt](https://github.com/user-attachments/files/30169923/log.txt)
Contributor guide
Research direction
Start by tracing the background activity shown in src/scheduler.rs, src/imap.rs, and src/net/dns.rs, then compare it with the reported getChatMsgs() slowdown and repeated Android Not Responding dialogs. Use the core-only log and the single problematic profile to reproduce the freeze. Done means identifying and fixing the blocking core operation so foreground actions remain responsive.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100