Closed Bug 1974133 Opened 1 year ago Closed 1 year ago

Crash in [@ mozilla::dom::CanonicalBrowsingContext::ReplaceActiveSessionHistoryEntry]

Categories

(Core :: DOM: Navigation, defect)

Other
Windows
defect

Tracking

()

RESOLVED DUPLICATE of bug 1972191
Tracking Status
firefox-esr128 --- unaffected
firefox-esr140 --- unaffected
firefox140 --- unaffected
firefox141 --- unaffected
firefox142 --- affected

People

(Reporter: release-mgmt-account-bot, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: crash, regression)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/5841773f-f78d-4184-858c-793af0250625

Reason: EXCEPTION_ACCESS_VIOLATION_READ

Top 10 frames of crashing thread:

0  xul.dll  mozilla::RefPtrTraits<mozilla::dom::SessionHistoryEntry>::AddRef  mfbt/RefPtr.h:48
0  xul.dll  RefPtr<mozilla::dom::SessionHistoryEntry>::ConstRemovingRefPtrTraits<mozilla::dom::SessionHistoryEntry>::AddRef  mfbt/RefPtr.h:408
0  xul.dll  RefPtr<mozilla::dom::SessionHistoryEntry>::assign_with_AddRef  mfbt/RefPtr.h:59
0  xul.dll  RefPtr<mozilla::dom::SessionHistoryEntry>::operator=  mfbt/RefPtr.h:202
0  xul.dll  mozilla::dom::CanonicalBrowsingContext::ReplaceActiveSessionHistoryEntry  docshell/base/CanonicalBrowsingContext.cpp:1358
1  xul.dll  mozilla::dom::ContentParent::RecvReplaceActiveSessionHistoryEntry  dom/ipc/ContentParent.cpp:7755
1  xul.dll  mozilla::dom::PContentParent::OnMessageReceived  ipc/ipdl/PContentParent.cpp:13683
2  xul.dll  mozilla::ipc::MessageChannel::DispatchAsyncMessage  ipc/glue/MessageChannel.cpp:1795
2  xul.dll  mozilla::ipc::MessageChannel::DispatchMessage  ipc/glue/MessageChannel.cpp:1721
2  xul.dll  mozilla::ipc::MessageChannel::RunMessage  ipc/glue/MessageChannel.cpp:1512

By querying Nightly crashes reported within the last 2 months, here are some insights about the signature:

  • First crash report: 2025-06-25
  • Process type: Parent
  • Is startup crash: No
  • Has user comments: No
  • Is null crash: No
  • Is use after free crash: Yes - all crashes happened on or near an allocator poison value

By analyzing the backtrace, the regression may have been introduced by a patch [1] to fix Bug 1952913.

[1] https://hg.mozilla.org/mozilla-central/rev?node=3aacd9fee79a

:avandolder, since you are the author of the potential regressor, could you please take a look?

Flags: needinfo?(avandolder)

Set release status flags based on info from the regressing bug 1952913

This appears to be another case that should be resolved by the fix for bug 1972191. Both crashes appear to have occurred on nightly versions from before that fix rolled out.

Flags: needinfo?(avandolder)
See Also: → 1972191

Let's just lump these together for now given that we think the one patch should fix it all.

Group: core-security → dom-core-security
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1972191
Resolution: --- → DUPLICATE
See Also: 1972191 →
Group: dom-core-security
You need to log in before you can comment on or make changes to this bug.