Closed
Bug 975397
Opened 10 years ago
Closed 10 years ago
border-image on element with :visited-dependent styles gives ###!!! ABORT: Should be tracking any image we're going to use!: 'mImageTracked', layout\style \nsStyleStruct.h, line 208
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: cbook, Assigned: dbaron)
References
()
Details
(Keywords: assertion, testcase, Whiteboard: [qa-])
Attachments
(3 files, 1 obsolete file)
found via bughunter on https://itunes.apple.com/br/app/three-little-pigs-by-nosy/id418543664?mt=8&ign-mpt=uo=4 (feel free to open this bug if its not a security issue) loading this page results in a trunk debug build on win7 with: [720] ###!!! ABORT: Should be tracking any image we're going to use!: 'mImageTracked', file c:\users\mozilla\debug-builds\mozilla-central\layout\style \nsStyleStruct.h, line 208
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Fwiw, the assertion was added in bug 512260 part 3.
Keywords: assertion
Priority: -- → P3
Comment 4•10 years ago
|
||
Attachment #8379710 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(dbaron)
Assignee | ||
Comment 6•10 years ago
|
||
Oops, bugzilla doesn't let me transfer a needinfo? to somebody else unless I *also* uncheck the checkbox that says I'm answering it.
Flags: needinfo?(tnikkel)
Comment 7•10 years ago
|
||
Believe it or not I haven't ever dealt with tracking of CSS images, only img elements and related. So I don't know the answer off the top of my head.
Flags: needinfo?(tnikkel)
Comment 8•10 years ago
|
||
After a quick look I would think that if we didn't track an image the worst that could happen is we don't keep around the decoding image, so we have to do more decoding work, maybe we might not draw the image at all in some situations, and if it's an animated image we might not animate it. There could be worse consequences but at the surface that's what I would guess.
Updated•10 years ago
|
Group: core-security
Comment 9•10 years ago
|
||
I repro this consistently on a new profile accessing http://www.apple.com with 34c6e4261eb036cb6050d5b1a73cd9bc4f5f6251 as my head
Comment 10•10 years ago
|
||
I can reproduce this 100% on current trunk on nexus 4: Go to maps.google.com Search for Mozilla and click on Mozilla SF office address.
Assignee | ||
Comment 11•10 years ago
|
||
Pretty sure this will fix it: https://hg.mozilla.org/users/dbaron_mozilla.com/patches/raw-file/ba7682624f08/track-image-visited-link but still need to write a test.
Assignee: nobody → dbaron
Assignee | ||
Comment 12•10 years ago
|
||
I confirmed that the crashtest crashes in the harness without the patch.
Attachment #8400924 -
Flags: review?(cam)
Assignee | ||
Comment 13•10 years ago
|
||
I'm somewhat curious as to why fuzzers didn't find this until very recently (bug 987015). Did we only recently start fuzzing in a way that triggered painting? It doesn't seem like it should be a recent regression, although maybe I'm missing something. It looks to me like a regression from bug 512260 (August 2010), since bug 147777 was slightly earlier (April 2010).
Flags: needinfo?(jruderman)
Updated•10 years ago
|
Attachment #8400924 -
Flags: review?(cam) → review+
Comment 14•10 years ago
|
||
> I'm somewhat curious as to why fuzzers didn't find this until very recently (bug 987015). My guess is that https://hg.mozilla.org/mozilla-central/rev/13a5fb1e8525 helped by giving the fuzzer an example of giving the "border-image-source" property a data: image-URL value. I filed two bugs involving that pattern in the last month.
Flags: needinfo?(jruderman)
Assignee | ||
Comment 15•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/c2d529d8aa2b
Flags: in-testsuite+
OS: Windows 7 → All
Hardware: x86 → All
Summary: ###!!! ABORT: Should be tracking any image we're going to use!: 'mImageTracked', layout\style \nsStyleStruct.h, line 208 → border-image on element with :visited-dependent styles gives ###!!! ABORT: Should be tracking any image we're going to use!: 'mImageTracked', layout\style \nsStyleStruct.h, line 208
Reporter | ||
Comment 17•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c2d529d8aa2b
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Updated•10 years ago
|
Comment 18•10 years ago
|
||
I don't think this needs tracking or QA verification. Please correct me if you think I am wrong.
Whiteboard: [qa?] → [qa-]
Comment 19•10 years ago
|
||
I don't think we need to track this please re-nominate if there is some additional justification.
Assignee | ||
Updated•10 years ago
|
status-firefox29:
--- → affected
status-firefox30:
--- → affected
You need to log in
before you can comment on or make changes to this bug.
Description
•