Closed Bug 1670067 Opened 4 years ago Closed 4 years ago

OpenPGP message header status icons not visible

Categories

(MailNews Core :: Security: OpenPGP, defect, P1)

Tracking

(thunderbird_esr78+ affected)

RESOLVED DUPLICATE of bug 1662279
Tracking Status
thunderbird_esr78 + affected

People

(Reporter: aleca, Unassigned)

References

(Regression)

Details

(Keywords: regression)

This issue appeared with release 78.3.2 and it wasn't affecting 78.3.1

The Encryption status buttons and icons in the Header area of the Message Pane is randomly not visible, even if the openpgp.enable pref is set to TRUE.
Toggling the pref fixes the problem, but it's only temporary as the problem presents itself again when relaunching TB.
Curiously enough, the problem is fixed even if the openpgp.enable pref gets set to FALSE.

Pushlog of the recent 78 uplifts: https://hg.mozilla.org/releases/comm-esr78/pushloghtml

When building 78 locally, this problem appears randomly, 1 out of 5 times I launch TB, the encryption status is visible.
During a "good run", this is the console output:

console.debug: "public keys: 0, secret keys: 0"
console.debug: "0 protected and 0 unprotected keys"
console.debug: "Successfully loaded OTR library libotr.so.5 from system's standard library locations"

During a "bad run", this is the console output:

JavaScript error: resource://gre/modules/ActorManagerChild.jsm, line 297: TypeError: singletons is null
JavaScript error: resource://gre/modules/ActorManagerChild.jsm, line 297: TypeError: singletons is null
JavaScript error: resource://gre/modules/ActorManagerChild.jsm, line 297: TypeError: singletons is null
console.debug: "Successfully loaded OTR library libotr.so.5 from system's standard library locations"
console.debug: "public keys: 0, secret keys: 0"
console.debug: "0 protected and 0 unprotected keys"

I'm struggling a bit in finding the regression on this. Magnus, would you be able to investigate this?

Flags: needinfo?(mkmelin+mozilla)

bug 1665493 seems reasonable.

Flags: needinfo?(rob)
Flags: needinfo?(alessandro)
Regressed by: 1665493

Here's a try build with bug 1665493 backed out.
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=d7b1d50c515305f63efc08713cef928643cf5c01

I started this build up a couple dozen times and did not run into the singleton error reported above. So it seems that this is the regressing bug.

Flags: needinfo?(rob)

I'll test the try build and report back.

Flags: needinfo?(mkmelin+mozilla)
Flags: needinfo?(alessandro)

(In reply to Rob Lemley [:rjl] from comment #4)

Here's a try build with bug 1665493 backed out.
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=d7b1d50c515305f63efc08713cef928643cf5c01

I tested this and the icons show up properly, so that's a confirmation that bug 1665493 caused the issue.

I think this issue have been fixed on trunk by bug 1662279, which landed on 82.0b3.
Rob, did you check if the issue is present in 82.0b2 and not on 82.0b3?

I've not checked 82.0b2 or the prebuilds of 80.0b3 yet. I won't have a chance for a few hours so if yolu or anyone else can in the meantime please do.

It's not showing up for me in either 82.0b2 or 82.0b1 (multiple attempts with each version), which is when bug 1665493 was fixed on beta. I believe we are on the right path.. sort of.. I suspect that while the fix for bug 1665493 triggered the bug, i believe there to be a change possibly in toolkit having to do with async calls and singletons behind it all. That's pure speculation and I have neither anything to back that statement up nor much knowledge in that area to even know where to look. ☹️

No longer blocks: thunderbird-78-build
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.