thunderbird 91.9.1 (jammy) sometimes deadlocks when moving mails from INBOX
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Thunderbird |
Invalid
|
Unknown
|
|||
thunderbird (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
SUMMARY
-------
When moving e-mail from my INBOX to subfolders Thunderbird hangs and goes into an unusable state. The '"Thunderbird Mail" is not responding' pops up, and there is no option but to 'Force Quit' (because 'Wait' isn't helping).
This does not happen for every move. But yesterday when sorting my INBOX, it happened more than 5 times in total.
DESCRIPTION
-----------
When moving mail,
- I select one or more from the middle pane;
- drag it/them to the left (folder pane).
- There, I hover above the right folder and wait for it to highlight.
- Upon highlight, I release the mouse.
Normally this moves the e-mail(s) to that folder, but now I get a deadlock in about 1 out of 20 moves.
On Focal, I used all versions, including
- 1:91.7.
- 1:91.8.
- 1:91.9.
On Jammy, I'm at:
- 1:91.9.
The first time I noticed this issue, was while I'm on Jammy. But, I hadn't cleaned my mailbox in a while, so it _might_ be related to the Thunderbird version. Although I my money would be on the version in conjunction with Jammy (Wayland?).)
OBSERVATIONS
------------
- My INBOX is not big. It contained 2,500 mails or so. (And very few large e-mails.) The destination folders aren't particularly big either. And I didn't see a pattern related to which destination folder.
- When starting thunderbird from the command line, I get lots of these:
###!!! [Parent]
IPDL protocol error: Handler returned error code!
###!!! [Parent]
Unsupported modifier, resource creation failed.
XXX: resource creation failed
IPDL protocol error: Handler returned error code!
(But I have no idea what they mean, or whether those log lines were emitted in the Focal version.)
- Thunderbird runs as a family of three:
/usr/lib/
\_ /usr/lib/
\_ /usr/lib/
- Main PID has 248 threads, child 1 has 23, child 2 has 22.
ENVIRONMENT
-----------
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
$ env | grep ^[GXW] | sort | grep -v GPG
GDMSESSION=ubuntu
GNOME_DESKTOP_
GNOME_SETUP_
GNOME_SHELL_
GNOME_TERMINAL_
GNOME_TERMINAL_
GTK_MODULES=
WAYLAND_
XAUTHORITY=
XDG_CONFIG_
XDG_CURRENT_
XDG_DATA_
XDG_MENU_
XDG_RUNTIME_
XDG_SESSION_
XDG_SESSION_
XDG_SESSION_
XMODIFIERS=@im=ibus
CHILD 1 STRACE
--------------
(the following keeps repeating every 2 or 3 seconds)
$ sudo strace -tt -fp 549263 -e'!futex,
strace: Process 549263 attached with 23 threads
[pid 549277] 11:04:12.121020 write(9, "\372", 1) = 1
[pid 549263] 11:04:12.121709 read(8, "\372", 1) = 1
[pid 549263] 11:04:12.122327 write(9, "\372", 1) = 1
[pid 549263] 11:04:12.122635 write(13, "\0", 1) = 1
[pid 549265] 11:04:12.122921 read(12, "\0", 1) = 1
[pid 549265] 11:04:12.123142 sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=
[pid 549263] 11:04:12.123327 read(8, <unfinished ...>
[pid 549265] 11:04:12.123393 <... sendmsg resumed>) = 92
[pid 549263] 11:04:12.123634 <... read resumed>"\372", 1) = 1
[pid 549265] 11:04:12.123759 recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=
[pid 549265] 11:04:12.123978 write(9, "\372", 1) = 1
[pid 549265] 11:04:12.124299 recvmsg(3, {msg_namelen=0}, MSG_DONTWAIT) = -1 EAGAIN (Resource temporarily unavailable)
[pid 549263] 11:04:12.124966 read(8, "\372", 1) = 1
[pid 549263] 11:04:12.125697 write(13, "\0", 1) = 1
[pid 549265] 11:04:12.125982 read(12, "\0", 1) = 1
[pid 549265] 11:04:12.126254 sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=
[pid 549263] 11:04:12.126395 write(9, "\372", 1 <unfinished ...>
[pid 549265] 11:04:12.126515 <... sendmsg resumed>) = 84
[pid 549263] 11:04:12.126603 <... write resumed>) = 1
[pid 549263] 11:04:12.127199 read(8, "\372", 1) = 1
[pid 549263] 11:04:12.127536 write(13, "\0", 1) = 1
[pid 549265] 11:04:12.127668 read(12, "\0", 1) = 1
[pid 549265] 11:04:12.127872 sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=
[pid 549265] 11:04:12.128305 recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=
[pid 549265] 11:04:12.128533 write(9, "\372", 1) = 1
[pid 549263] 11:04:12.128705 read(8, <unfinished ...>
[pid 549265] 11:04:12.128777 recvmsg(3, <unfinished ...>
[pid 549263] 11:04:12.128836 <... read resumed>"\372", 1) = 1
[pid 549265] 11:04:12.128892 <... recvmsg resumed>
[pid 549263] 11:04:12.128950 write(9, "\372", 1) = 1
[pid 549263] 11:04:12.129162 read(8, "\372", 1) = 1
[pid 549263] 11:04:12.129571 write(9, "\372", 1) = 1
[pid 549263] 11:04:12.129852 read(8, "\372", 1) = 1
[pid 549263] 11:04:12.130217 write(13, "\0", 1) = 1
[pid 549265] 11:04:12.130361 read(12, "\0", 1) = 1
[pid 549265] 11:04:12.130489 sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=
[pid 549277] 11:04:12.142977 write(9, "\372", 1) = 1
[pid 549263] 11:04:12.143281 read(8, "\372", 1) = 1
[pid 549263] 11:04:12.143697 write(9, "\372", 1) = 1
[pid 549263] 11:04:12.143971 write(13, "\0", 1) = 1
[pid 549265] 11:04:12.144125 read(12, "\0", 1) = 1
[pid 549265] 11:04:12.144319 sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=
[pid 549263] 11:04:12.144456 read(8, <unfinished ...>
[pid 549265] 11:04:12.144512 <... sendmsg resumed>) = 92
[pid 549263] 11:04:12.144727 <... read resumed>"\372", 1) = 1
[pid 549265] 11:04:12.144830 recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=
[pid 549265] 11:04:12.145078 write(9, "\372", 1) = 1
[pid 549265] 11:04:12.145403 recvmsg(3, {msg_namelen=0}, MSG_DONTWAIT) = -1 EAGAIN (Resource temporarily unavailable)
[pid 549263] 11:04:12.145643 read(8, "\372", 1) = 1
[pid 549263] 11:04:12.146242 write(9, "\372", 1) = 1
[pid 549263] 11:04:12.146523 read(8, "\372", 1) = 1
[pid 549263] 11:04:12.146888 write(13, "\0", 1) = 1
[pid 549265] 11:04:12.147055 read(12, "\0", 1) = 1
[pid 549265] 11:04:12.147295 sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=
CHILD 2 STRACE
--------------
(the following keeps repeating every 60 seconds)
$ sudo strace -tt -fp 549304 -e'!futex,
strace: Process 549304 attached with 22 threads
[pid 549316] 11:06:01.925062 write(9, "\372", 1) = 1
[pid 549304] 11:06:01.926017 read(8, "\372", 1) = 1
[pid 549304] 11:06:01.926992 write(9, "\372", 1) = 1
[pid 549304] 11:06:01.927588 read(8, "\372", 1) = 1
Let me know if I can get your any additional info.
Cheers,
Walter Doekes
OSSO B.V.
Changed in thunderbird (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in thunderbird: | |
status: | Unknown → New |
Changed in thunderbird: | |
status: | New → Invalid |
ADDITIONAL INFO
---------------
I now started thunderbird using:
$ XDG_SESSION_ TYPE=x11 WAYLAND_DISPLAY= thunderbird
(I don't think those envvars do _exactly_ what I was looking for. For instance, I notice that ossobv/xpaste still doesn't get access to the send_event: https:/ /github. com/ossobv/ xpaste/ blob/ea8b2ff9f8 39f9ecc345fd9d0 4014b99def5b112 /xpaste# L182 )
It _does_ look like it changes things for the better because I haven't had it deadlock on me yet. And I've been moving mails for 45 minutes now.
The stdout/stderr definitely reports a change:
$ diff before after -U30 TYPE=x11 WAYLAND_DISPLAY= thunderbird Loader] Using MessageSend.jsm thunderbird/ libotr. so" ///modules/ OTRLib. jsm", 109)) 4.f06439f7. MZLA from /usr/lib/ thunderbird/ librnp. so" hijack- blocklists has signature disabled stener. handleError( ): 19: constraint failed"
--- before 2022-06-06 13:23:30.137659175 +0200
+++ after 2022-06-06 13:23:13.921604292 +0200
@@ -1,40 +1,58 @@
-$ thunderbird
+$ XDG_SESSION_
[calBackendLoader] Using Thunderbird's libical backend
[LDAPModuleLoader] Using LDAPDirectory.jsm
[MsgSendModule
[SmtpModuleLoader] Using SmtpService.jsm
+[GFX1-]: glxtest: Could not connect to wayland socket
console.debug: "Trying to load /usr/lib/
console.debug: "Trying to load libotr.so from system's standard library locations"
console.debug: "Trying to load libotr.so.5 from system's standard library locations"
console.debug: "Trying to load libotr.so from system's standard library locations"
console.log: (new Error("Cannot load required OTR library", "resource:
-Unsupported modifier, resource creation failed.
-XXX: resource creation failed
console.debug: "Successfully loaded OpenPGP library librnp.so version 0.16+git2022012
-Unsupported modifier, resource creation failed.
-XXX: resource creation failed
console.debug: "Found 0 public keys and 0 secret keys (0 protected, 0 unprotected)"
console.debug: "Successfully loaded optional OpenPGP library libgpgme.so.11 from system's standard library locations"
console.debug: "gpgme version: 1.16.0-unknown"
-Unsupported modifier, resource creation failed.
-XXX: resource creation failed
console.warn: services.settings: thunderbird/
-Unsupported modifier, resource creation failed.
-XXX: resource creation failed
-Unsupported modifier, resource creation failed.
-XXX: resource creation failed
-Unsupported modifier, resource creation failed.
-XXX: resource creation failed
-Unsupported modifier, resource creation failed.
-XXX: resource creation failed
-Unsupported modifier, resource creation failed.
-XXX: resource creation failed
-Unsupported modifier, resource creation failed.
-XXX: resource creation failed
+console.error: gloda.datastore: "got error in _asyncTrackerLi
IPDL protocol error: Handler returned error code!
###!!! [Parent] [DispatchAsyncM essage] Error: PClientManager: :Msg_ExpectFutu reClientSource Processing error: message was deserialized, but the handler returned false (indicating failure)
IPDL protocol error: Handler returned error code!
###!!! [Parent] [DispatchAsyncM essage] Error: PClientManager: :Msg_ForgetFutu reClientSource Processing error: message was deserialized, but the handler returned false (ind...