Closed Bug 1477544 Opened 6 years ago Closed 6 years ago

Crash in nsIContent::GetBaseURI

Categories

(Core :: SVG, defect)

Unspecified
Windows 10
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla63
Tracking Status
firefox-esr52 --- unaffected
firefox-esr60 --- unaffected
firefox61 --- unaffected
firefox62 --- unaffected
firefox63 --- verified

People

(Reporter: calixte, Assigned: emilio)

References

(Blocks 1 open bug)

Details

(Keywords: crash, regression)

Crash Data

This bug was filed from the Socorro interface and is
report bp-1c65a4ce-ef9e-41eb-beea-892d30180722.
=============================================================

Top 10 frames of crashing thread:

0 xul.dll nsIContent::GetBaseURI dom/base/FragmentOrElement.cpp:347
1 xul.dll nsGenericHTMLElement::GetURIAttr dom/html/nsGenericHTMLElement.cpp:1539
2 xul.dll mozilla::dom::HTMLAnchorElement::GetHrefURI dom/html/HTMLAnchorElement.cpp:294
3 xul.dll mozilla::dom::Link::LinkState dom/base/Link.cpp:374
4 xul.dll mozilla::dom::HTMLAnchorElement::IntrinsicState dom/html/HTMLAnchorElement.cpp:336
5 xul.dll mozilla::dom::Element::UpdateState dom/base/Element.cpp:260
6 xul.dll nsIDocument::RefreshLinkHrefs dom/base/nsDocument.cpp:8645
7 xul.dll mozilla::dom::HTMLSharedElement::UnbindFromTree dom/html/HTMLSharedElement.cpp:265
8 xul.dll mozilla::dom::Element::UnbindFromTree dom/base/Element.cpp:2086
9 xul.dll nsGenericHTMLElement::UnbindFromTree dom/html/nsGenericHTMLElement.cpp:473

=============================================================

There is 1 crash in nightly 63 with buildid 20180721220720. In analyzing the backtrace, the regression may have been introduced by patch [1] to fix bug 1450250.

[1] https://hg.mozilla.org/mozilla-central/rev?node=453d0a08f00c
Flags: needinfo?(emilio)
This one I can see how it happens. Thanks!
Assignee: nobody → emilio
Flags: needinfo?(emilio)
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c151c08b5864
Add a null-check to handle unlinking properly. r=me
https://hg.mozilla.org/mozilla-central/rev/c151c08b5864
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
No more crashes since the patch landed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.