Open Bug 1843007 Opened 11 months ago Updated 7 months ago

Calendar fails to initialize after upgrade to 115.0 (distros need to apply fix for ICU-22132)

Categories

(Calendar :: General, defect)

Thunderbird 115
defect

Tracking

(thunderbird_esr115 affected)

UNCONFIRMED
Tracking Status
thunderbird_esr115 --- affected

People

(Reporter: jpalus+mozilla, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/6.5.1 Chrome/108.0.5359.220 Safari/537.36

Steps to reproduce:

Started Thunderbird 115.0 with fresh profile on Linux/aarch64 (upgraded from 102.13.0)

Actual results:

Calendar is not functional and following errors are logged (Europe/Warsaw is my system timezone, 2023c is the version of timezone database):

JavaScript error: resource:///modules/CalStartupService.jsm, line 18: uncaught exception: ParserError: invalid line (no token ";" or ":") "Europe/Warsaw[2023c]"
JavaScript error: resource:///modules/CalStartupService.jsm, line 18: NS_ERROR_XPC_JS_THREW_JS_OBJECT: ParserError: invalid line (no token ";" or ":") "Europe/Warsaw[2023c]"'ParserError: invalid line (no token ";" or ":") "Europe/Warsaw[2023c]"' when calling method: [calIStartupService::startup]
console.debug: "Found 0 public keys and 0 secret keys (0 protected, 0 unprotected)"
console.warn: services.settings: Failed to load last_modified.json: TypeError: NetworkError when attempting to fetch resource.
console.error: Calendar:
Can't create calendar for bd092b51-5ea5-4e43-a34c-10919893e89b (storage, moz-storage-calendar://): TypeError: right-hand side of 'in' should be an object, got undefined
JavaScript error: resource:///modules/calendar/Ical.jsm, line 5588: TypeError: zone is null
console.error: Calendar:
Message: TypeError: zone is null
Stack:
convertToZone@resource:///modules/calendar/Ical.jsm:5588:26
CalDateTime.prototype.getInTimezone<@resource:///modules/CalDateTime.jsm:141:45
unwrapSetter@resource:///modules/calendar/Ical.jsm:29:22
unwrap/<@resource:///modules/calendar/Ical.jsm:25:48
now@resource:///modules/calendar/utils/calDateTimeUtils.jsm:62:17
getStartDate@chrome://calendar/content/calendar-invitations-manager.js:347:24
updateStartDate@chrome://calendar/content/calendar-invitations-manager.js:366:30
getInvitations@chrome://calendar/content/calendar-invitations-manager.js:172:10
_doInvitationsUpdate@chrome://calendar/content/calendar-invitations-manager.js:122:52
scheduleInvitationsUpdate/this.mTimer<@chrome://calendar/content/calendar-invitations-manager.js:115:18

Expected results:

Calendar should be functional.

Which Linux distribution are you using?

This is a result of a bug in ICU (https://unicode-org.atlassian.net/browse/ICU-22132) which we have patched in the in-tree copy of ICU used to build Firefox/Thunderbird by default. However, some packagers prefer to build against system ICU. We have tried to reach out to packagers to head this off before it became an issue for users, but have not been able to reach everyone. If you can let us know which distro you're using, we can reach out to the package maintainers in order to get this resolved.

See Also: → 1794029, 1790071

Thanks for the info! Actually I'm package maintainer myself so managed to fix our icu package and can confirm it works correctly.

Though it would be good to give the issue more visibility -- nothing can be found in popular search engine about this particular error after release was already made. Perhaps there could be a build time and/or runtime check for affected libicu with error giving link to above ticket. Now that I see how Thunderbird looks with and without the fix its apparent that it not only affects calendar functionality but an entire user interface (left side toolbar not displayed at all, weird things going on in the top with search bar not being displayed).

(In reply to Jan Palus from comment #2)

Thanks for the info! Actually I'm package maintainer myself so managed to fix our icu package and can confirm it works correctly.

Though it would be good to give the issue more visibility -- nothing can be found in popular search engine about this particular error after release was already made. Perhaps there could be a build time and/or runtime check for affected libicu with error giving link to above ticket. Now that I see how Thunderbird looks with and without the fix its apparent that it not only affects calendar functionality but an entire user interface (left side toolbar not displayed at all, weird things going on in the top with search bar not being displayed).

Jan, If you're not already following the tb-linuxdistro bug, you may want to. Between Wayne and myself we try to set bugs affecting Linux/downstream builders to block that one.

Summary: Calendar fails to initialize after upgrade to 115.0 → Calendar fails to initialize after upgrade to 115.0 (distros need to apply fix for ICU-22132)

Fwiw, after having seen this bug linked to bug #1629654 (to which im subscribed) i've been reminded of this problem, even if not having been experiencing the issue, the patch has been applied to systemwide icu4c on OpenBSD in https://github.com/openbsd/ports/commit/e70b90762d76d376cb1dd7a2e58d17ae4b783f83

Duplicate of this bug: 1843719

Hi, would you mind submitting the patch as an ICU pull request to get a review?

Flags: needinfo?(leftmostcat)
You need to log in before you can comment on or make changes to this bug.