You are not logged in.

#1 2024-10-03 19:08:57

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,340

[SOLVED] Thunderbird not quitting cleanly

Not sure what information to post here. the only peculiarity is that my thunderbird profile folder is on a RPi NAS (it was shared using OMV, but I had so many problems with that I've gone back to vanilla NFS, which is rock solid). I'm getting the same on two machines, both running Arch:

$ thunderbird
[ImapModuleLoader] Using nsImapService.cpp
ATTENTION: default value of option mesa_glthread overridden by environment.
console.error: "Assert failed: Calendar manager initialised calendars before loadCalendarComponent ran on the first 3pane window. This should not happen.\n "
[ERROR sys_tray::linux] translation issues: [ResolverError(Reference(Function { id: "PLATFORM" }))]
JavaScript error: resource://gre/modules/crypto-SDR.sys.mjs, line 197: NS_ERROR_FAILURE: Couldn't decrypt string
JavaScript error: resource://gre/modules/crypto-SDR.sys.mjs, line 197: NS_ERROR_FAILURE: Couldn't decrypt string
JavaScript error: resource://gre/modules/crypto-SDR.sys.mjs, line 197: NS_ERROR_FAILURE: Couldn't decrypt string
JavaScript error: resource://gre/modules/crypto-SDR.sys.mjs, line 197: NS_ERROR_FAILURE: Couldn't decrypt string
RunWatchdog: Mainthread nested event loops during hang: 
 --- PreferencesWriter::Flush
Segmentation fault (core dumped)

Everything before RunWatchdog is when TB starts. It's --- PreferencesWriter onwards that hangs for a while before it quits. The TB window etc. is gone, and the only evidence of it running is from ps (run from

watch ps -ef | grep thunderbird | grep -v grep

.

Before quit I get

user     781753  776601 26 20:02 pts/0    00:00:55 /usr/lib/thunderbird/thunderbird
user     781935  781753  0 20:02 pts/0    00:00:00 /usr/lib/thunderbird/thunderbird -contentproc -isForBrowser -prefsLen 15637 -prefMapSize 265865 -jsInitLen 235104 -parentBuildID 20241002095301 -greomni /usr/lib/thunderbird/omni.ja -appDir /usr/lib/thunderbird {319eec93-2bc8-4d79-9f8e-ef473b4c1504} 781753 1 tab

And when exiting

steve     781753  776601 25 20:02 pts/0    00:01:05 /usr/lib/thunderbird/thunderbird

Which can hang for up to a minute before it segfaults.

The NAS has full RW permissions for the user.

Any ideas?

For now, I've written a short script that waits for it to quit, and then deletes the .parentlock file, but it's a workaround, not a solution.

Last edited by Roken (2024-10-11 16:56:07)


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Online

#2 2024-10-04 14:35:42

czarnoh
Member
Registered: 2024-10-01
Posts: 4

Re: [SOLVED] Thunderbird not quitting cleanly

Debug logs would definitely help if you are able to get those.

Otherwise strace output shall point out a culprit if you suspect FS access has something to do with it

Offline

#3 2024-10-11 16:55:51

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,340

Re: [SOLVED] Thunderbird not quitting cleanly

Apologies for the late reply. I tried getting logs with no joy, and strace didn't help.

However, I had TB 131, and notice that's been pulled from testing. I've downgraded to the latest available version, re-set my addresses, and all is good.

I'm marking solved.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Online

Board footer

Powered by FluxBB