Clicking on huge image locks/hangs machine (complete loss of interactivity)

Bug #673389 reported by Paul Sladen
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Fix Released
High
Unassigned
linux (Ubuntu)
Incomplete
Undecided
Unassigned
xorg (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Note that whilst I've initially filed this against Firefox, it is a wider cross-stack performance issue (a single application should not be able to bring the machine down). Clicking on the following image:

  http://upload.wikimedia.org/wikipedia/commons/9/96/Georgetown_PowerPlant_interior_pano.jpg (27,000✕17,000)

sets the Firefox title, but then immediately locks the machine with all loss of interactivity.

Ideally Firefox should not undertake activities that are likely to bring the machine down (such as allocated huge arrays for data that it has not yet even received) and ideally the rest of the stack down to the kernel should not let a single application bring the rest down.

(Metadata and a tiled-image viewer for the image can be found at: http://commons.wikimedia.org/wiki/File:Georgetown_PowerPlant_interior_pano.jpg )

Paul Sladen (sladen)
summary: - Clicking on huge image brings machine to standstill (complete loss of
+ Clicking on huge image locks/hangs machine (complete loss of
interactivity)
Paul Sladen (sladen)
description: updated
Changed in firefox (Ubuntu):
importance: Undecided → High
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

I need to look at this in more detail, but it seems that it's creating a lot of X resources when opening that image, and Xorg ends up using GBs of RAM

Changed in firefox (Ubuntu):
status: New → Confirmed
Paul Sladen (sladen)
description: updated
Revision history for this message
mgmechanics (mgmechanics) wrote :

I clicked that link an firefox starts to load the image. The system becomes slow but i was able to switch to thunderbird and read some emails (more than one). Then, as the picture seems almost completely loaded, firefox crashed and cames up with an excuse and a bug report to mozilla. I wrote in the bug report, that this crash happens because i was veryfing a lauchpad bug. Than firefox asked me to recover last sessions (i agreed) and tried to load the picture again. I closed the tab, butmade a bug report to launchpad.

Revision history for this message
Mechanical snail (replicator-snail) wrote :

I can confirm this with Firefox 3.6.13 on Lucid, with Linux 2.6.32-27.29.
Since one application can bring down the system, this seems to be a kernel bug.

tags: added: review-request
Revision history for this message
Bryce Harrington (bryce) wrote :

Hey paul, this sounds like a driver texture size limitation which was worked out not too long ago. You didn't mention which version of Ubuntu this was seen in, though. Can you check if this issue still happens with natty, and if so please run 'apport-collect 673389'.

Changed in xorg (Ubuntu):
status: New → Incomplete
Revision history for this message
Marius Vasilescu (vegancorr) wrote :

I've tried the link above with Firefox 4 RC (Lucid) and it displayed "The image [...] cannot be displayed because it contains errors.". The system behaved normally.

Revision history for this message
Starbuck Johnson (starbuckjohnson) wrote :

The message displayed when trying to view the image directly is the result of a fix released into the mainstream firefox version that shows an error message when trying to display an image that has an extremely high resolution. This will not be a problem for any pictures except those unreasonable large. Thanks for bringing this bug into attention.

Changed in firefox (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Starbuck Johnson (starbuckjohnson) wrote :

Unfortunately this image will still open without the error message on the newer more unstable version of Firefox used with natty and the image will again crash a PC that is older or less powerful.

Revision history for this message
Bryce Harrington (bryce) wrote :

I don't reproduce it with the given URL. Just shows the "contains errors" message. Feel free to reopen if you have a reproducible test case.

Changed in xorg (Ubuntu):
status: Incomplete → Invalid
Changed in xorg (Ubuntu):
status: Invalid → New
status: New → Incomplete
Revision history for this message
bugbot (bugbot) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in xorg (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 673389

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.