Thunderbird slow to launch under MacOS Ventura when Thunderbird access to Mac contacts is enabled - around 20+ seconds.
Categories
(Thunderbird :: OS Integration, defect)
Tracking
(Not tracked)
People
(Reporter: fmayer, Unassigned)
References
Details
(Keywords: perf)
Attachments
(1 file)
|
164.02 KB,
image/png
|
Details |
Steps to reproduce:
Launching Thunderbird 102.6.1 under MacOS 13.1 Ventura (after rebooting MacOS)
Actual results:
Launch takes consistently between 50-60 seconds. Even with Add-ons disabled, MacOS safe boot, with or without Internet connection and most of the large folders repaired.
Expected results:
Launch should not take longer than 10 seconds. Problem does not occur with the same IMAP account accessing from a different Macbook with older MacOS: launch within 5 seconds.
Comment 1•2 years ago
|
||
One developer offers ... "I noticed that after rebooting it takes in general a good 2 minutes for the OS to index everything as even the spotlight search doesn’t return anything. It might be related"
Also, "If you turn on Google Contact Sync in the central system settings, the whole contact sync service runs amok. And this also causes Thunderbird to stall for minutes on each startup" according to https://support.mozilla.org/en-US/questions/1396925#answer-1556996
I don't use Google Contact Sync.
And after rebooting, Thunderbird is the only app that becomes red in the activity monitor (=stalling for a minute).
I took the Thunderbird Profiles folder out of the Spotlight search. The problem is still there.
Update: It may be an coincidence, but after loging out and in of different Apple IDs (with iCloud Calendar sync) on the Macbook running on Ventura and checking the Thunderbird Calendar settings the launch time has improved, down to around 20+ seconds. Still not really fast.
Thunderbird - while launching - still gets red in the activity monitor (=stalling), but not for a minute, like before, just a few seconds.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 4•2 years ago
|
||
You mention Mac safe mode, but have you done Thunderbird in safe mode?
What happens if you disable application access to Mac Address book? (see screen shot)
In a few weeks hopefully there will be capability for you to try beta.
Comment 5•2 years ago
|
||
You may have seen it, but if not check https://wiki.mozilla.org/Thunderbird:Testing:Memory_Usage_Problems
Disabling Thunderbird access to my Mac address book - "Contacts" - seems to do the trick. After disabling, Thunderbird opens without an delay!
| Comment hidden (duplicate) |
Similar behaviour with two MacBooks under Ventura, for two different users: it takes minutes with spinning wheel before Thunderbird app window appears. The difference in opening delay (with granted access to contacts) seems directly related to the size of the Apple AddressBook. User with the largest AddressBook also experiences unfrequent crashes.
Disabling access to contacts indeed make Thunderbird starts in less than 5s - but obviously with no more access to the Contacts of the user, which is quite a handicap...
Tested with completely fresh installation of Thunderbird v102.9.1, 102.5.1 and 102.1.2 - same behaviour each time, so not related to specific version, nor to any "historical setting" I might have from the past.
Started with the Console allowed me to capture the following "forever" loop:
default 00:04:06.646648+0200 thunderbird Rethrowing (from nts_ValueForProperty:) NSInternalInconsistencyException: Unhandled error (NSCocoaErrorDomain, 134092) occurred during faulting and was thrown: Error Domain=NSCocoaErrorDomain Code=134092 "(null)"
default 00:04:06.684390+0200 tccd REQUEST: tccd_uid=501, sender_pid=525, sender_uid=501, sender_auid=501, function=TCCAccessRequest, msgID=525.19452
default 00:04:06.685147+0200 tccd AUTHREQ_CTX: msgID=525.19452, function=TCCAccessRequest, service=kTCCServiceAddressBook, preflight=yes, query=1,
default 00:04:06.685228+0200 tccd AUTHREQ_ATTRIBUTION: msgID=525.19452, attribution={accessing={TCCDProcess: identifier=org.mozilla.thunderbird, pid=2698, auid=501, euid=501, binary_path=/Applications/Thunderbird.app/Contents/MacOS/thunderbird}, requesting={TCCDProcess: identifier=com.apple.contactsd, pid=525, auid=501, euid=501, binary_path=/System/Library/Frameworks/Contacts.framework/Support/contactsd}, },
default 00:04:06.685355+0200 tccd requestor: TCCDProcess: identifier=com.apple.contactsd, pid=525, auid=501, euid=501, binary_path=/System/Library/Frameworks/Contacts.framework/Support/contactsd is checking access for accessor TCCDProcess: identifier=org.mozilla.thunderbird, pid=2698, auid=501, euid=501, binary_path=/Applications/Thunderbird.app/Contents/MacOS/thunderbird
default 00:04:06.689266+0200 tccd AUTHREQ_SUBJECT: msgID=525.19452, subject=org.mozilla.thunderbird,
default 00:04:06.691668+0200 tccd -[TCCDAccessIdentity staticCode]: static code for: identifier org.mozilla.thunderbird, type: 0: 0x7ff00a9315c0 at /Applications/Thunderbird.app
default 00:04:06.741508+0200 tccd Prompting policy for hardened runtime; allow prompt: Allow
default 00:04:06.741656+0200 tccd AUTHREQ_RESULT: msgID=525.19452, authValue=2, authReason=4, authVersion=1, error=(null),
default 00:04:06.742034+0200 tccd REPLY: (501) function=TCCAccessRequest, msgID=525.19452
error 00:04:06.743490+0200 thunderbird error: Unhandled error occurred during faulting: Error Domain=NSCocoaErrorDomain Code=134092 "(null)" ({
})
In case this helps: googling around I found a single relevant article mentionning this specific error code, but quite a few about difficulties with tccd and access to Contacts for various apps (including Xcode).
(In reply to bth0mas from comment #8)
Complement of information:
-
the behavior is noted on macos v13.1, v13.2.1, v13.3.1
-
time for launch (between click on the icon and the main window open) is 50-60s for an AddressBook with ~1000 entries on a 2017 MacBookPro, and ~3min30 for an AddressBook with 7500+ entries on a 2018 MacBook Air.
Comment 10•2 years ago
|
||
I'm seeing the same thing. Thunderbird 102.12.1 running on Mac 10.13.6 High Sierra. It began not on the last update but on the previous update. I'm not rebooting the Mac, just quitting Thunderbird for the day and the next day it takes minutes to launch when it used to be about 5-10 seconds.
Comment 11•2 years ago
|
||
Update: this morning it started normally, just a few deconds. It's the first time in a while so maybe this last update fixed what ever was hanging? Nothing else has changed. This was not after rebooting the Mac.
Comment 12•2 years ago
|
||
(In reply to Scott H from comment #11)
Update: this morning it started normally, just a few deconds. It's the first time in a while so maybe this last update fixed what ever was hanging? Nothing else has changed. This was not after rebooting the Mac.
Updated TB to 102.14.0 this morning: problem still exists for me: 40+ seconds to open with access to Contacts granted to TB, but nearly instantaneous when access denied.
Updated•2 years ago
|
Comment 13•1 year ago
|
||
Let's consolidate to bug 1831673
Description
•