Open Bug 1943114 Opened 1 year ago Updated 4 months ago

Since Version 128, deleting a message freezes Mozilla for around 30 seconds in utcOffset

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 128
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: utopism, Unassigned, NeedInfo)

References

(Depends on 1 open bug)

Details

(Keywords: dupeme, perf:responsiveness, Whiteboard: [needs performance profile])

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

Steps to reproduce:

I updated Thunderbird to version 128 (128.6.0esr) with debian installer

Actual results:

Since then, deleting a message can take 30 seconds (Thunderbird freezes)

Expected results:

No delay when deleting a message like before.

(That doesn't normally happen, we've not had reports about that, I think.)

Get a performance profile: https://support.mozilla.org/en-US/kb/profiling-thunderbird-performance

As side information I have two computers having the same behavior, I'm with Linux : Debian : Bookworm and using kde interface.
It seams the Agenda can be slow to create a new event also, no sure it is related, but seems to have appeared at the same time.

Same problem: abysmal performance with 3 different versions of 128 so far. Sorry, not motivated to submit a performance profile, as I have migrated to Evolution.

I have also observed this behavior in 128. Some additional observations:

  1. I am working with a very large inbox (currently 41,000 messages, 3.4GB mail spool file)
  2. Deleting recent messages (within the last few thousand) happens more or less instantly
  3. As I go farther and farther back in the spool, it takes longer to delete messages
  4. The oldest messages may take up to 15 seconds to delete
  5. Selecting a group of messages and pressing the Backspace key to delete deletes only the most recent message, and leaves the others marked as read.

I have seen this behavior on two different MacBooks running macOS Sequoia 15.2. What is interesting to me is that one machine was running an older version of Thunderbird until this afternoon, and did not exhibit these problems until I upgraded Thunderbird. Now they both exhibit these problems. I want to say that the older Thunderbird was 125, but I am not 100% positive.

Please let me know if it would be helpful for me to file separate bug(s) for these issues.

Here is a link to a thunderbird profile during a mail deletion, that is working well (no stalling of interface)
https://share.firefox.dev/40D0ZL1

Another thing that is very slow now is related to the calendar, when I postpone an event it sometimes takes 20 seconds to close the postpone popup.
Here is a profile that I started just after having configured a postpone to a few hours later.
https://share.firefox.dev/3WIPEaR

To note : when the calendar popup takes seconds to close, thunderbird is freezed also.

So what we can do to help with these symbols ? I can perhaps install thunderbird on another OS. what do you need ?

Symbols for snaps are being worked on in bug 1910890. Hopefully they will be available soon.

In the mean time, you could install Thunderbird manually and get a performance profile.

Utopism, you originally said you were using the Debian installer. If you can share more details about the type of package and where it is installed from, it would be useful for us to figure out if other installation methods are missing symbols. I have a feeling it may be a package not maintained by us. So we could at least open a bug in the right place. 'apt policy thunderbird' or 'snap info thunderbird' may help get that information.

<root@Alb-17:58:56 ~># dpg thunderbird
ii  thunderbird                                   1:128.6.0esr-1~deb12u1                                                     amd64        mail/news client with RSS, chat and integrated spam filter support
ii  thunderbird-l10n-fr                           1:128.6.0esr-1~deb12u1                                                     all          French language package for Thunderbird
<root@Alb-17:59:03 ~># lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm
<root@Alb-18:01:41 ~># apt policy thunderbird
thunderbird:
  Installé : 1:128.6.0esr-1~deb12u1
  Candidat : 1:128.6.0esr-1~deb12u1
 Table de version :
 *** 1:128.6.0esr-1~deb12u1 500
        500 http://ftp.fr.debian.org/debian-security bookworm-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1:128.5.0esr-1~deb12u1 500
        500 http://ftp.fr.debian.org/debian bookworm/main amd64 Packages

Thanks. I've opened a bug against the Debian package at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095172 to enable debug symbols.

Thanks a lot.
I'm trying to compile thunderbird, what is the github address for the source code ?
git clone -vvv git://github.com/thundernest/thunderbird.git does not respond.

(In reply to Corey Bryant from comment #15)

Thanks. I've opened a bug against the Debian package at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095172 to enable debug symbols.

See also bug 1936866

Depends on: 1936866

(In reply to Utopism from comment #16)

I'm trying to compile thunderbird, what is the github address for the source code ?

It's not (yet) on github. https://developer.thunderbird.net/thunderbird-development/building-thunderbird/linux-build-prerequisites#manually

From the Debian bug in comment #17:

Add this source to your apt sources:

Types: deb
URIs: https://deb.debian.org/debian-debug
Suites: bookworm-debug
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-bookworm-stable.gpg

and then run apt update followed by apt install thunderbird-dbgsym and
you'll have debug symbols.

Done, I'll send a new profile soon.

Hi, have been running V128.5.0esr for 2 days, with debug symbols, on two machines, and the issue has gone, so either :

  • The issue appeared between V128.5.0 and V128.6.0.
  • The issue appears when debug symbols are missing.

Hi, I experienced one or two events of thunderbird stalling, but it is quite bearable compared to the very frequent ones with V128.

Hi, so when the freeze happens, thunderbird uses 100% of one core (using only one hopefully).
Here is a profiling trace (with the symbols I hope)
https://share.firefox.dev/4gt7w0A

It looks like the time is being spent in the calendar as you previously mentioned. Do you have any add-ons enabled? Does the issue go away when running in Troubleshoot mode? Help -> Troubleshoot mode

Thanks, I have no specific add-on. Now running in Troubleshoot mode on one of the computers.

The profile from comment 23 is about jank in calendar.
But a small lockup in vsync as well. You may try setting accessibility.force_disabled to 1 and see if makes a difference.

Hi, I have been running in Troubleshoot mode, for a couple of days with V128.5.0, without triggering the error.
I will continue my tests with V128.6.0 int Troubleshoot mode also.
Will also try to test accessibility.force_disabled.

Summary: Since Version 128, deleting a message freezes Mozilla for around 30 seconds → Since Version 128, deleting a message freezes Mozilla for around 30 seconds in utcOffset
Whiteboard: [has performance profile]

duplicate of bug 1919400?

See Also: → 1932404

setting accessibility.force_disabled value as 1 does not change anything.

Hi, still experiencing the issue with version 128.9.0esr-1
I am enabling again debug symbols to collect a new performance profile.
What can be done aside of that ?

IIRC there is another TZ offset performance bug report.

Keywords: dupeme

I am enabling again debug symbols to collect a new performance profile.
What can be done aside of that ?

That's the starting point.

Flags: needinfo?(utopism)
Whiteboard: [has performance profile] → [closeme 2025-11-25][needs performance profile]

Still experiencing hangs when deleting mails in 140.4 ESR
Do I still need to go through the process described in https://bugzilla.mozilla.org/show_bug.cgi?id=1943114#c19 to get debug info?

It seems not to happen with direct delete, but only with move to trash.
Even then it doesn't occur in all accounts.
This morning, when I tried to delete a thread consisting of 4 messages from my Yahoo account, it took approximately 3 minutes before the pop-up asking to confirm multiple deletion appeared, another 3 minutes before the messages were actually gone, and even then the UI wasn't operable for more than an additional 4 minutes. I didn't have the patience to stand around timing it.

Sorry, I take it back! ;-{ I just had the hang again with direct delete of 3 messages in Yahoo.

Especially bad today: hangs up to half an hour after deleting messages in different accounts, e.g. gMail & iCloud.
Running installed version under Windows 11 Pro x64 25H2.
Didn't seem to have such problems running portable version, but missed the integration with Windows "Send to mail recipient".

Sorry to post so many comments, but I don't see a way to edit them. I an now investigating whether the problem I am seeing has been caused by migrating a profile from a portable installation to an installed version. I'll report back.

I have gone back to the portable version (now 140.5 esr) and the problem does occur there, but far less frequently, and the "hangs" are shorter (only about a minute)
It is running under Windows 11 Pro x64 25H2, and "Allow Windows Search to search messages" is disabled.

Whiteboard: [closeme 2025-11-25][needs performance profile] → [needs performance profile]

I have meanwhile switched to the fully installed (non-portable) version of Betterbird (now at 140.6esr) and haven't experienced the problem since.

You need to log in before you can comment on or make changes to this bug.