Closed Bug 992107 Opened 11 years ago Closed 5 years ago

Loading large image file causes Firefox to crash

Categories

(Core :: Graphics: ImageLib, defect)

28 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: metronware, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release) Build ID: 20140317233623 Steps to reproduce: Visit: www.math.ucr.edu/home/baez/roots/polynomial_roots.png (1) Try to close the tab before the loading finished. (2) Try to let the load finish. Zoom-in, out, navigate around, click. Actual results: (1) Freezes. Actually, it caused Ubuntu to freeze so I am guessing the system started memory swapping or something.. (2) Crashes. Tried 3 times, but it is not exactly deterministic.. Expected results: (1) PNG loading should stop when tab is closed. (2) Should not crash.
I am not affected by the PNG file of bug 513317.
This image is roughly 100 times the size of the image at bug #513317. This one is 94MB compressed, 1.5G uncompressed.
Confirmed the reported behavior with current nightly 31.0a1 (2014-04-03) on Ubuntu 14.04LTS. I could only regain control of my machine via the power switch.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Converting the image from PNG to JPG and loading that instead does not help. Removing the color_management chunks (iCCP and cHRM) from the PNG file does not help.
Summary: Loading large png file causes Firefox to crash → Loading large image file causes Firefox to crash
(In reply to Glenn Randers-Pehrson from comment #3) > Confirmed the reported behavior with current nightly 31.0a1 (2014-04-03) on > Ubuntu 14.04LTS. I could only regain control of my machine via the power > switch. Correction: I confirmed the freezing but not the crashing. I'm using a 64-bit machine with 4GB of memory and plenty of swap space.
I'm using a pretty default Ubuntu 12.04 LTS 64-bit installation on a machine with 4GB of memory too. This morning I tried not to zoom, navigate or anything like that. Just watching it, the browser crashed approximately 1 minute after fully loading the image.
Component: Untriaged → ImageLib
Product: Firefox → Core
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.