Closed Bug 1700506 Opened 3 years ago Closed 3 years ago

Perma comm/mail/test/browser/account/browser_actions.js | A promise chain failed to handle a rejection: Generating OTR private key failed: Error: Error: open requires a single argument - stack: reportKeyGenFailure@resource:///modules/OTRUI.jsm:213:11

Categories

(Chat Core :: Security: OTR, defect, P5)

Tracking

(thunderbird_esr78 fixed, thunderbird88 fixed)

RESOLVED FIXED
89 Branch
Tracking Status
thunderbird_esr78 --- fixed
thunderbird88 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: KaiE)

References

(Regression)

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

This appears to be a regression from bug 1682101, but it's very confusing.
https://hg.mozilla.org/comm-central/rev/7a0a62f2aeea9ddb7c604b9e8b1cb2fb99a917d2

I don't see code that changes the behavior.
What happens it, we try a different number of times to find the correct library.

I see it only fails in optimized builds - debug builds work fine.

I cannot locally reproduce the failure reported on Treeherder.
I can reproduce a failure in a local build, but I get a different error
FAIL Uncaught exception - at resource://testing-common/mozmill/utils.jsm:72 - TimeoutError: Timeout waiting for popup to open, state=closed

My local failure is intermittent, sometimes works, sometimes fails - even after backing out the above commit !

I found something. Try build running.

Assignee: nobody → kaie
Regressed by: CVE-2021-29949

The key generation needs a variable that the new code no longer set.
I probably have the fix.
Try running here:
https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=bcd51f0b03f451bf09cd0f80b929f765fbc33a07

It was a major distraction that I'm getting a completely different failure when trying to reproduce locally.

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/046f719e7d8c
Restore variable libotrPath when loading OTR library. r=mkmelin

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch

Comment on attachment 9211275 [details]
Bug 1700506 - Restore variable libotrPath when loading OTR library. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #): 1682101
User impact if declined:
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): low

Attachment #9211275 - Flags: approval-comm-esr78?
Attachment #9211275 - Flags: approval-comm-beta?

Comment on attachment 9211275 [details]
Bug 1700506 - Restore variable libotrPath when loading OTR library. r=mkmelin

[Triage Comment]
Approved for beta

Attachment #9211275 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9211275 [details]
Bug 1700506 - Restore variable libotrPath when loading OTR library. r=mkmelin

[Triage Comment]
Approved for esr78

Attachment #9211275 - Flags: approval-comm-esr78? → approval-comm-esr78+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: