Open Bug 1775032 Opened 2 years ago Updated 1 year ago

Compose window freezes randomly for ca. 30-180 seconds

Categories

(Thunderbird :: Message Compose Window, defect)

Thunderbird 91
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: martin.kratochvil, Unassigned, NeedInfo)

Details

(Keywords: perf)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0

Steps to reproduce:

Writing email. Happend only few time a day.

Actual results:

All thunderbird window freeze. Stop working, no new text showing. It happen two or three times a day. Freeze is long about 30 - 180 seconds. All thunderbird windows stop responding for this period. Another application working normally (firefox, other apps in KDE)

Version: Thunderbird 91.10.0 (64-bit), same problem with 91.9.0
Linux: Linux version 4.9.0-4-amd64 / Debian stretch
KDE Plasma: 5.8.6
QT version: 5.7.1
If i run thunderbird from xterm, i could see some messages, but probably it not correspond with freezing..
IPDL protocol error: Handler returned error code!

###!!! [Parent][DispatchAsyncMessage] Error: PClientManager::Msg_ExpectFutureClientSource Processing error: message was deserialized, but the handler returned false (indicating failure)

IPDL protocol error: Handler returned error code!

###!!! [Parent][DispatchAsyncMessage] Error: PClientManager::Msg_ForgetFutureClientSource Processing error: message was deserialized, but the handler returned false (indicating failure)

Expected results:

Writing email with no delay.

Severity: -- → S2
Component: Untriaged → Message Compose Window
Keywords: perf
Summary: freeze randomly for aprox 30-180 sec → Write window freezes randomly for ca. 30-180 seconds

Do you also see the problem when using version 102?

Flags: needinfo?(martin.kratochvil)

Other performance issues

Severity: S2 → S3
Summary: Write window freezes randomly for ca. 30-180 seconds → Compose window freezes randomly for ca. 30-180 seconds

Martin, what server backends do you have configured? IMAP? CalDAV/CardDAV? Or some other calendar/contacts provider?

I am seeing the same thing here (TB 102 on Ubuntu MATE, see #1816237). Freezes are random, but I can provoke them by initiating a CalDAV transaction, such as synchronizing or marking a task complete. They can happen at any point in the UI, not just when composing messages. When I continue typing, the typed text eventually appears when the screen unfreezes.

Does that match what you are seeing? If you are using CalDAV, can you reliably reproduce the freeze behavior as I described it?

Whiteboard: [closeme 2023-02-20]

Hi,

I found that issue here and it fits exactly to the behaviour I have.
Setup:
Win 11: 22H2 (Build 22621.1555)
TB 102.10.0 (64 Bit)
AMD Ryzen 7
24 GB RAM

I am using CalDAV Calender of gmx.de which worked well for years and works well e.g. on iPhone etc. I have no extra caldav providers installed.
I also deinstalled TB, removed all the configs including registry entries and re-installed. That led to the same behaviour :(

Is there any idea what causes TB to freeze? and how to fix it?

Additional Info: I tried to install TBSync and the CalDav / Carddav Provider. after setting up and first sync, the behaviour seems the same (also freezes for half a minute) ...

Flags: needinfo?(martin.kratochvil)
Flags: needinfo?(michael)
Flags: needinfo?(Jochen.Linkohr)
Whiteboard: [closeme 2023-02-20] → [closeme 2023-06-01]

https://share.firefox.dev/44XvCfg

Actions carried out were:

  • Change to Calendar tab
  • Start recording
  • Flip two months back, wait for the screen to react, then two more months
  • Capture recording and upload

Going one month back would immediately freeze up the UI for a few seconds; this should be visible in the performance profile.

Flags: needinfo?(michael)
Whiteboard: [closeme 2023-06-01]
You need to log in before you can comment on or make changes to this bug.