null deref at [@ MergeState::ProcessItemFromNewList]
Categories
(Core :: Web Painting, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox-esr60 | --- | unaffected |
firefox60 | --- | unaffected |
firefox61 | + | wontfix |
firefox62 | + | wontfix |
firefox63 | --- | wontfix |
firefox65 | --- | wontfix |
firefox66 | + | wontfix |
firefox67 | --- | fixed |
People
(Reporter: tsmith, Assigned: mattwoodrow)
References
(Blocks 2 open bugs)
Details
(Keywords: crash, regression, testcase)
Crash Data
Attachments
(2 files, 1 obsolete file)
Updated•7 years ago
|
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Assignee | ||
Comment 2•7 years ago
|
||
Assignee | ||
Comment 3•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Comment 4•7 years ago
|
||
Updated•7 years ago
|
Comment 6•6 years ago
|
||
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Comment 9•6 years ago
|
||
This signature is showing up in a moderately high volume in 67 nightly and in 66 beta. 66 beta 6 in particular seems to have a spike in volume.
Matt, or Miko, can you look over some of the crash reports from 66.0b6?
I'll follow up in email.
Assignee | ||
Comment 10•6 years ago
|
||
A lot of the crashes are on https://terraria.gamepedia.com/Sawmill (and other pages on that domain), which indeed uses <table>s with captions. I can also reproduce it there.
So it looks like the crashes in the wild are indeed the same as the fuzzer testcase (which is very non-obvious from the crash reports/stacks).
I think we just need to address dbaron's feedback and update the patch. I'll try get to that this week.
Assignee | ||
Comment 12•6 years ago
|
||
(In reply to David Baron :dbaron: 🏴 ⌚UTC-8 (if account gets disabled due to email bounces, ask a bugzilla admin to reenable it) from comment #5)
It seems like these two solutions aren't actually compatible. i.e., if we
later come along and fix CompareTreePosition, this code will make that fix
not apply.It also seems like it's worth trying to fix CompareTreePosition. (I'm a
little worried about ending up with dependencies on this behavior -- if we
make it reliable, we're more likely to have things depend on it.)It seems like we could assign indices to different sorts of content, such as:
::marker/::-moz-list-number/::-moz-list-bullet -> -2
::before -> -1
regular children -> 0
::after -> 1
nsIAnonymousContentCreator content -> 2 // is this appropriate?and similar for the other sorts of anonymous content, and then
CompareTreePosition could
use those indices for comparison, and could call
nsIAnonymousContentCreator::AppendAnonymousContentTo to compare two elements
that are both from the same nsIAnonymousContentCreator.(How many other types of native-anonymous content are there? It seems like
we could separate the other categories by their pseudo-element and/or
NODE_IS_ANONYMOUS_ROOT/NODE_IS_NATIVE_ANONYMOUS_ROOT bits and then assume
everything else came from nsIAnonymousContentCreator. And it seems like XBL
and shadow DOM should have an order already...)
Do you think we need to try to define all of these orderings? It seems like the relative ordering of most anonymous content is somewhat arbitrary.
The main thing we need for this particular bug is that the results are consistent when comparing anonymous elements to normal children, so that
B, anonymous, A
doesn't sort differently to
B, A.
Do you think it would be ok to just consider all anonymous elements to be behind regular children (and equal to each other), with the exception of ::after?
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
bugherder |
Comment 16•6 years ago
|
||
Can we land a test for this? Also, is this something we should consider nominating for Beta approval?
Updated•6 years ago
|
Assignee | ||
Comment 17•6 years ago
|
||
I think we shouldn't uplift this, since the crash is a diagnostic assert and won't affect release builds. The patch is also non-trivial, so I think it's worth riding the trains.
Updated•6 years ago
|
Description
•