Open Bug 1828997 Opened 2 years ago Updated 3 months ago

Crash in [@ mozilla::dom::syncedcontext::Transaction<T>::Commit | mozilla::dom::BrowsingContext::SetAllowJavascript ] with MOZ_CRASH Reason: CanSet failed for field(s): AllowJavascript

Categories

(Thunderbird :: General, defect)

Thunderbird 102
x86_64
Windows 11
defect

Tracking

(thunderbird_esr128 affected)

REOPENED
Tracking Status
thunderbird_esr128 --- affected

People

(Reporter: worcester12345, Unassigned)

References

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/5c42de3c-fba8-4cbf-87cb-1ba3c0230419

MOZ_CRASH Reason: CanSet failed for field(s): AllowJavascript

Top 10 frames of crashing thread:

0  xul.dll  mozilla::dom::syncedcontext::Transaction<mozilla::dom::BrowsingContext>::Commit  docshell/base/SyncedContextInlines.h:103
1  xul.dll  mozilla::dom::BrowsingContext::SetAllowJavascript  docshell/base/BrowsingContext.h:256
2  xul.dll  nsMsgContentPolicy::SetDisableItemsOnMailNewsUrlDocshells  mailnews/base/src/nsMsgContentPolicy.cpp:853
3  xul.dll  nsMsgContentPolicy::ShouldLoad  mailnews/base/src/nsMsgContentPolicy.cpp:200
4  xul.dll  nsContentPolicy::CheckPolicy  dom/base/nsContentPolicy.cpp:119
5  xul.dll  nsContentPolicy::ShouldLoad  dom/base/nsContentPolicy.cpp:158
6  xul.dll  NS_CheckContentLoadPolicy  dom/base/nsContentPolicyUtils.h:239
7  xul.dll  nsDocShell::PerformRetargeting  docshell/base/nsDocShell.cpp:8568
8  xul.dll  nsDocShell::InternalLoad  docshell/base/nsDocShell.cpp:9345
9  xul.dll  nsDocShell::OnLinkClickSync  docshell/base/nsDocShell.cpp:13133

Less than 2% of crashes are thunderbird.

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1823817
Resolution: --- → DUPLICATE

The Thunderbird crashes are mostly on "CanSet failed for field(s): AllowJavascript" which is probably a different issue.

Status: RESOLVED → REOPENED
No longer duplicate of bug: 1823817
Resolution: DUPLICATE → ---
Summary: Crash in [@ mozilla::dom::syncedcontext::Transaction<T>::Commit] → Crash in [@ mozilla::dom::syncedcontext::Transaction<T>::Commit] with CanSet failed for field(s): AllowJavascript

Thanks Andrew.

Flags: needinfo?(mkmelin+mozilla)
Keywords: crash

It's certainly coming from us setting browsingContext->SetAllowJavascript(false), but I don't know why that crashes

Flags: needinfo?(mkmelin+mozilla)

(In reply to Andrew McCreight [:mccr8] from comment #2)

The Thunderbird crashes are mostly on "CanSet failed for field(s): AllowJavascript" which is probably a different issue.

Over 97% have that reason. From this query there are two others

Thanks to bug 1834536, the signature for this crash has changed. The crashes in comment 5 will also show up separately now, if you want to file bugs for those.

Crash Signature: [@ mozilla::dom::syncedcontext::Transaction<T>::Commit] → [@ mozilla::dom::syncedcontext::Transaction<T>::Commit | mozilla::dom::BrowsingContext::SetAllowJavascript ]
See Also: → 1834536
Summary: Crash in [@ mozilla::dom::syncedcontext::Transaction<T>::Commit] with CanSet failed for field(s): AllowJavascript → Crash in [@ mozilla::dom::syncedcontext::Transaction<T>::Commit | mozilla::dom::BrowsingContext::SetAllowJavascript ]

60% of crashes have uptime <60 seconds. Of that, about 1/3 is uptime <20 seconds

Summary: Crash in [@ mozilla::dom::syncedcontext::Transaction<T>::Commit | mozilla::dom::BrowsingContext::SetAllowJavascript ] → Crash in [@ mozilla::dom::syncedcontext::Transaction<T>::Commit | mozilla::dom::BrowsingContext::SetAllowJavascript ] with MOZ_CRASH Reason: CanSet failed for field(s): AllowJavascript
Duplicate of this bug: 1885277

Not sure if it matters at all, but some recent Java updates have come out.

For the last 6 months crash rate is flat, and no user comments in crash reports.

(In reply to Wayne Mery (:wsmwk) from comment #5)

I'm not finding crashes with any of these reasons.

Severity: -- → S4
You need to log in before you can comment on or make changes to this bug.