Open Bug 1278819 Opened 9 years ago Updated 3 years ago

Firefox becomes unresponsive when saving a large image

Categories

(Core :: Graphics, defect, P3)

x86_64
Linux
defect

Tracking

()

People

(Reporter: ted, Unassigned)

References

Details

(Whiteboard: [gfx-noted])

Firefox Nightly 2016-06-07, Ubuntu 14.04, e10s, dom.ipc.processCount=16. I've been saving off DVD cover images from https://bendodson.com/projects/itunes-artwork-finder/index.html, and every time I do my browser becomes unresponsive for multiple seconds. Here's a specific URL: http://is5.mzstatic.com/image/thumb/Video5/v4/45/66/9f/45669f30-3e64-fdb6-8049-6c7f1a2a152f/source/100000x100000-999.jpg It's a ~5MB jpeg. If I right click->"Save Image As", the whole browser goes unresponsive for a while. Here's a profile I grabbed: https://cleopatra.io/#report=4e897fbb316809bc53e77278c12c52a0455681fa&selection=0,1,159 It seems to indicate that it's spending most of the time painting? I also just noticed that the images aren't being completely saved either, which might merit a separate bug.
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #0) > Firefox Nightly 2016-06-07, Ubuntu 14.04, e10s, dom.ipc.processCount=16. > > I've been saving off DVD cover images from > https://bendodson.com/projects/itunes-artwork-finder/index.html, and every > time I do my browser becomes unresponsive for multiple seconds. > > Here's a specific URL: > http://is5.mzstatic.com/image/thumb/Video5/v4/45/66/9f/45669f30-3e64-fdb6- > 8049-6c7f1a2a152f/source/100000x100000-999.jpg > > It's a ~5MB jpeg. If I right click->"Save Image As", the whole browser goes > unresponsive for a while. > > Here's a profile I grabbed: > https://cleopatra.io/ > #report=4e897fbb316809bc53e77278c12c52a0455681fa&selection=0,1,159 This looks like a profile for a fennec build with soft float. 1. Why are you using soft float? 2. Are you on Ubuntu or Android?
Flags: needinfo?(ted)
Huh, maybe SPS gave me a bad URL? I didn't even notice that. Let me try that again.
Flags: needinfo?(ted)
SPS isn't working right for me on Nightly. From the browser console: ``` Use of nsIFile in content process is deprecated.NetUtil.jsm:350:12 unreachable code after return statementmarkerTree.js:234:4 Use of nsIFile in content process is deprecated.Content.js:26:17 allocation size overflowSymbolicateWorker.js:132 ```
That must have been an old Fennec profile I imported a while ago, I didn't realize SPS didn't give me a new profile when I asked for one.
Does this work for you on stable? If so, are you able to find a regression range using mozregression? If not, perhaps the profiler works on stable?
Flags: needinfo?(ted)
Whiteboard: [gfx-noted]
I'm actually not sure that this is a gfx bug, I filed it as such because I was reading that (incorrect) profile. I just tried with Firefox 47 and the issue does not reproduce. I double-checked that it doesn't reproduce if I enable e10s on Firefox 47 either. I don't know that I have time to do a mozregression run but I'll see.
Flags: needinfo?(ted)
See Also: → 1200524
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.