Closed Bug 235196 Opened 22 years ago Closed 20 years ago

crash when opening huge JPEG image

Categories

(Core :: Graphics: ImageLib, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: fhimpe, Assigned: jdunn)

References

()

Details

(Keywords: crash)

User-Agent: Build Identifier: ozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7a) Gecko/20040220 Firefox/0.8.0+ (.:MrC:.) Try to open the included URL with Mozilla 1.6, Mozilla Firefox 0.8 or a recent Firefox nightly build. The browser crashes immediately. This image opens fine (and very quickly) with Konqueror. Reproducible: Always Steps to Reproduce: 1.Open the included URL in a Mozilla browser. Actual Results: The browser crashes Expected Results: The browser shows the image correctly and quickly (the image shows a kind of network graph)
The image is 17449x14534. Mozilla needs 17449*14534*3 (726MB) in it's own process to open it. Mozilla then tries to copy the entire thing to the X server process which may need as much as 17449*14534*4 (967MB). Your virtual memory (RAM + swap) may need to be >1692MB. That's a lot. If you don't have it the kernel will kill mozilla which is probably what's happening. This is a known problem. See bug 233262 among others for some more info.
Sorry for the spam but if you don't have the 726MB then mozilla may be crashing because of bug 166862.
Keywords: crash
Depends on: 166862
WFM with the URL and Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 There are many OOM bugs fixed after this bug report. => WORKSFORME Please fill a new bug with talkback data if this happens again.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.