Closed Bug 1792675 Opened 3 years ago Closed 3 years ago

Thunderbird 102.3.0 freezes about 30 seconds than works fine when receiving 13000 emails on large POP3 folders after update from 91.13.1

Categories

(MailNews Core :: Networking: POP, defect, P2)

Thunderbird 102
defect

Tracking

(thunderbird_esr102+ fixed, thunderbird106 fixed)

RESOLVED FIXED
107 Branch
Tracking Status
thunderbird_esr102 + fixed
thunderbird106 --- fixed

People

(Reporter: maciejgardela, Assigned: rnons)

References

Details

(Keywords: perf)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Steps to reproduce:

Thunderbird 102.3.0 freezes when receiving emails on large POP3 folders/accounts (about 13000 messages) after update from 91.13.1

Actual results:

Thunderbird freezes about 30 seconds than works fine

Expected results:

no freeze

Component: Untriaged → Networking: POP
Keywords: perf
Product: Thunderbird → MailNews Core

freezes when receiving emails on large POP3 folders/accounts (about 13000 messages)

Just making sure, are you downloading 13000 messages, or the 13000 messages already existed in the folder? Does it still happens every time you click "Get Messages"?

As I told before it was after upgrading to version 102, This bug occurs on 3 PC's with the same thunderbird 102v (all 3 with the same POP3 account) Can I post a link from Youtube with bug here?
Today i'm gonna downgrade to0 91.13.1 to be sure that this is a problem with version 102

Summary: Thunderbird 102.3.0 freezes when receiving emails on large POP3 folders after update from 91.13.1 → Thunderbird 102.3.0 freezes about 30 seconds than works fine when receiving 13000 emails on large POP3 folders after update from 91.13.1
Attached image bug.png

Program hangs for about 25 seconds with message "checking inbox for new messages" than works fine.

I deleted all msf files from profile folder, doesn't work for me
proxy also unchecked

(In reply to Ping Chen (:rnons) from comment #2)

freezes when receiving emails on large POP3 folders/accounts (about 13000 messages)

Just making sure, are you downloading 13000 messages, or the 13000 messages already existed in the folder? Does it still happens every time you click "Get Messages"?

messages already exists in the folder, yes it still happens every time, on second, smaller POP3 accoutn works fine, check attached file.

Can you get a performance profile?

  1. Open Dev Tools (Ctrl+Shift+I), select Performance tab
  2. Click "Start recording" in DevTools
  3. Click "Get Messages" in main TB window
    -- wait until finish
  4. Click "Capture recording" in DevTools
  5. Click "Upload Local Profile" in DevTools

Maybe get some debug logs as well, set mailnews.pop3.loglevel to All in Config Editor

(In reply to Ping Chen (:rnons) from comment #7)

Can you get a performance profile?

  1. Open Dev Tools (Ctrl+Shift+I), select Performance tab
  2. Click "Start recording" in DevTools
  3. Click "Get Messages" in main TB window
    -- wait until finish
  4. Click "Capture recording" in DevTools
  5. Click "Upload Local Profile" in DevTools

Maybe get some debug logs as well, set mailnews.pop3.loglevel to All in Config Editor

sure
https://share.firefox.dev/3SF5PBJ

after downgrading to 91.13.1
with shell command thunderbird -profilemanager --allow-downgrade
everything works fine

Thanks, will try to make a fix.

Assignee: nobody → remotenonsense
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

(In reply to TesterPL from comment #8)

(In reply to Ping Chen (:rnons) from comment #7)

Can you get a performance profile?

  1. Open Dev Tools (Ctrl+Shift+I), select Performance tab
  2. Click "Start recording" in DevTools
  3. Click "Get Messages" in main TB window
    -- wait until finish
  4. Click "Capture recording" in DevTools
  5. Click "Upload Local Profile" in DevTools

Maybe get some debug logs as well, set mailnews.pop3.loglevel to All in Config Editor

sure
https://share.firefox.dev/3SF5PBJ

after downgrading to 91.13.1
with shell command thunderbird -profilemanager --allow-downgrade
everything works fine

Hi, after the shell command, could you explain which are the next passages to make the downgrade?
TIA

Instead of downgrading, you can also set mailnews.pop3.jsmodule to false

my steps

  1. Download thunderbird x64 91.13.1 from https://ftp.mozilla.org/pub/thunderbird/releases/91.13.1/win64/
  2. do not unistall version 102, run 91.13.1 installer at the end (last step) uncheck Launch Thunderbird
  3. windows + R : thunderbird -profilemanager --allow-downgrade enter
  4. after a while select your profile (in my case highlited profile was correct profile on 6 PC's)
  5. wait a while and don't be nervous :)

I'd like to see some logs similar to bug 1792282 comment 4, but with timestamps. Click the gear icon in top-right of the Error Console, turn on "Show Timestamps". Thanks

Target Milestone: --- → 107 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/b9e3fe9b3470
Prevent blocking main process for too long in LineReader.jsm. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Severity: -- → S3
Priority: -- → P2

Comment on attachment 9296712 [details]
Bug 1792675 - Prevent blocking main process for too long in LineReader.jsm. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #): pop3-js
User impact if declined: When checking new messages, processing the LIST/UIDL response blocks the main process, the UI freezes
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): low

Attachment #9296712 - Flags: approval-comm-beta?

Comment on attachment 9296712 [details]
Bug 1792675 - Prevent blocking main process for too long in LineReader.jsm. r=mkmelin

[Triage Comment]
Approved for beta

Attachment #9296712 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9296712 [details]
Bug 1792675 - Prevent blocking main process for too long in LineReader.jsm. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #): pop3-js
User impact if declined: When checking new messages, processing the LIST/UIDL response blocks the main process, the UI freezes
Testing completed (on c-c, etc.): beta
Risk to taking this patch (and alternatives if risky): low

Attachment #9296712 - Flags: approval-comm-esr102?

Comment on attachment 9296712 [details]
Bug 1792675 - Prevent blocking main process for too long in LineReader.jsm. r=mkmelin

[Triage Comment]
Approved for esr102

Attachment #9296712 - Flags: approval-comm-esr102? → approval-comm-esr102+
See Also: → 1875633
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: