Closed Bug 1820379 Opened 2 years ago Closed 2 years ago

Attempting to reply to an email when no accounts have been set up crashes @ nsMsgCompose::QuoteOriginalMessage and [@ mozilla::dom::quota::(anonymous namespace)::PrincipalVerifier::Run ]

Categories

(Thunderbird :: General, defect)

Thunderbird 112
x86_64
All
defect

Tracking

(thunderbird_esr102 unaffected, thunderbird111 affected)

RESOLVED FIXED
112 Branch
Tracking Status
thunderbird_esr102 --- unaffected
thunderbird111 --- affected

People

(Reporter: eprendergast, Assigned: eprendergast)

References

(Blocks 1 open bug)

Details

(Keywords: crash, Whiteboard: [Supernova3p])

Crash Data

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0

Steps to reproduce:

  1. Launch clean install of Thunderbird with no accounts
  2. Do not add any accounts to Thunderbird.
  3. Open message with Open from File -> Message.
  4. Attempt to reply to message.

Actual results:

Thunderbird crashes.

Most relevant console log seems to be:

JavaScript error: chrome://messenger/content/messengercompose/MsgComposeCommands.js, line 4945: TypeError: can't access property "protectSubject", gCurrentIdentity is null

TB seems to crash when there is no current Identity.

Expected results:

Thunderbird probably shouldn't let you open up a compose field when there is no identity, but should not crash when this is attempted.

OS: Unspecified → Linux
Hardware: Unspecified → x86_64

eprendergast, thank you for the excellent bug report.

Reproduced crash on first attempt. mozilla::dom::quota::(anonymous namespace)::PrincipalVerifier::Run bp-1d63c68b-304b-4a1a-aec2-b44550230306

Severity: -- → S2
Status: UNCONFIRMED → NEW
Crash Signature: [@ mozilla::dom::quota::(anonymous namespace)::PrincipalVerifier::Run ]
Component: Untriaged → General
Ever confirmed: true
Flags: needinfo?(mkmelin+mozilla)
OS: Linux → All
See Also: → 1674954
Summary: Attempting to reply to an email when no accounts have been set up crashes Thunderbird → Attempting to reply to an email when no accounts have been set up crashes [@ mozilla::dom::quota::(anonymous namespace)::PrincipalVerifier::Run ]
Keywords: crash
Whiteboard: [tbird crash]

Comment 1 crash was on Mac.

This crashes for me also on windows, but with a different signature nsMsgCompose::QuoteOriginalMessage bp-7333908e-cd64-417b-b9a4-a7ff80230307

Crash Signature: [@ mozilla::dom::quota::(anonymous namespace)::PrincipalVerifier::Run ] → [@ mozilla::dom::quota::(anonymous namespace)::PrincipalVerifier::Run ] [@ nsMsgCompose::QuoteOriginalMessage]
Summary: Attempting to reply to an email when no accounts have been set up crashes [@ mozilla::dom::quota::(anonymous namespace)::PrincipalVerifier::Run ] → Attempting to reply to an email when no accounts have been set up crashes @ nsMsgCompose::QuoteOriginalMessage and [@ mozilla::dom::quota::(anonymous namespace)::PrincipalVerifier::Run ]
Assignee: nobody → eprendergast
Status: NEW → ASSIGNED
Whiteboard: [tbird crash] → [tbird crash][snnot]
Target Milestone: --- → 112 Branch
Blocks: sn-msgreader
Whiteboard: [tbird crash][snnot] → [tbird crash][supernova]
Version: Trunk → Thunderbird 112
Flags: needinfo?(mkmelin+mozilla)

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/80b700c279e9
Implemented identity count check and function to disable reply/forwarding buttons r=darktrojan

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Whiteboard: [tbird crash][supernova] → [Supernova3p]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: