Closed
Bug 1144983
Opened 11 years ago
Closed 10 years ago
Huge image (15000x15000) fails to display correctly
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1146663
| Tracking | Status | |
|---|---|---|
| firefox36 | --- | unaffected |
| firefox37 | --- | wontfix |
| firefox38 | --- | wontfix |
| firefox39 | - | wontfix |
| firefox40 | --- | affected |
| firefox41 | --- | affected |
| firefox42 | --- | affected |
| firefox43 | --- | unaffected |
| firefox44 | --- | unaffected |
People
(Reporter: alice0775, Unassigned)
References
Details
(Keywords: regression)
+++ This bug was initially created as a clone of Bug #1063581 +++
This does not happen in Firefox36.
Steps To Reproduce:
1. Open attachment 8505758 [details]
Actual results:
image is black
Expected results:
image should appear.
| Reporter | ||
Updated•11 years ago
|
Summary: Browser hangs for a while, and image does not appear → image does not appear
| Reporter | ||
Comment 1•11 years ago
|
||
#1 Regression range, Browser crashes
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=165c3fd176ec&tochange=d954ed24e795
Triggered by: Bug 902952
#2 Regression range, Fixed the crash, But the image is black.
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=c61c91ea40fe&tochange=0a69bc9e746c
Triggered by: Bug 1078693
Blocks: 1078693
Keywords: regression
| Reporter | ||
Comment 2•11 years ago
|
||
[Tracking Requested - why for this release]:
Regressed since Firefox37.
Should be fixed next ESR38.
tracking-firefox38:
--- → ?
tracking-firefox39:
--- → ?
| Reporter | ||
Updated•11 years ago
|
Component: General → Graphics
Comment 3•11 years ago
|
||
Tracking this for 37 and 38.
Bas is this something that you think should be a priority ?
Comment 4•11 years ago
|
||
(In reply to Liz Henry (:lizzard) from comment #3)
> Tracking this for 37 and 38.
> Bas is this something that you think should be a priority ?
Yes, I believe so, especially as I don't have an explanation right now. I will investigate.
Assignee: nobody → bas
Flags: needinfo?(bas)
Comment 5•11 years ago
|
||
So this won't draw without D2D 1.1 either. The problem appears to be that we're simply running out of memory, this image is 15000x15000, at 4bpp this means that it will take 900 MB of memory. For reasons beyond my knowledge we choose to de-optimize this image. When de-optimizing we create a VolatileBuffer the size of the surface, but in order to get our data in there we -also- need to create a D3D software buffer to readback to. This brings us to requiring two blocks of 900 MB of contiguous memory which we simply don't have at our disposal.
I could look a little bit about whether I could improve the code in Deoptimize but I really don't think so as long as we really need to use a volatile buffer. Seth might be able to say more about this.
As for the regression ranges, my suspicion is that while the bug that caused the crash was there, we changed imagelib code to have the new memory requirements, when the crash-bug was fixed we weren't able to draw this anymore.
Flags: needinfo?(seth)
Comment 6•11 years ago
|
||
Sounds like bug 1146663 will fix this, since that will remove the necessity for imgFrame::Deoptimize totally.
Liz, any fix here is not going to be upliftable. Given that this is a corner case (images this large are very rare), IMO would should not track for 37 and 38. Are you OK with removing the tracking flags here?
Depends on: 1146663
Flags: needinfo?(seth) → needinfo?(lhenry)
Comment 7•11 years ago
|
||
Yes, that makes sense to me. Thanks Bas and Seth for investigating and for the explanations!
This isn't tracked for 37, but would you mind marking it wontfix for 37 and 38? Would you rather that I leave for you to do, or should I go ahead with the flag-tweaking when you have made your intent clear in comments?
Comment 8•11 years ago
|
||
Sure, I'll update the flags.
Updated•11 years ago
|
Summary: image does not appear → Huge image (15000x15000) fails to display correctly
Updated•11 years ago
|
relnote-firefox:
? → ---
Comment 9•11 years ago
|
||
I'm not convinced this should even be tracked for 39, fwiw. It's nice to have, but as Seth said, when you have images this large, there's just always going to be a good chance in the current code that we won't have the contiguous memory for them.
Unassigning since Seth's bug is going to take care of this problem in the longer run.
Assignee: bas → nobody
Comment 10•11 years ago
|
||
Thanks for the extra explanation, Bas! Untracking.
status-firefox40:
--- → affected
Updated•11 years ago
|
status-firefox41:
--- → affected
status-firefox42:
--- → affected
Comment 11•10 years ago
|
||
Alice, does this still reproduce for you since bug 1146663 was resolved?
Flags: needinfo?(alice0775)
| Reporter | ||
Comment 12•10 years ago
|
||
(In reply to Anthony Hughes, QA Mentor (:ashughes) from comment #11)
> Alice, does this still reproduce for you since bug 1146663 was resolved?
Yes, it fixed.
I can reprosuce the pronlem on Firefox42.0b5.
But, I cannot reproduce on Autora43.0a1 and Nightly44.0a1.
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox43:
--- → unaffected
status-firefox44:
--- → unaffected
Flags: needinfo?(alice0775)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•