in attempt to load a huge svg file, eats up too much memory and renders whole os unresponsive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eog (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
- pick a huge unmanageable multi-GB SVG file
- try to open it in Image Viewer (in real life you would obviously do it by accident)
Expected behavior:
- an error message should be displayed, such as "File too big" or, if it the exact point where a file becomes too big to be managed cannot be predicted (which I doubt), then a warning, such as "this file may be too big and bla bla bla. Are you sure you wish to continue"?
- in ANY case, when memory consumption does start to render the program unresponsive, a possibility should be given to the user to abort loading the file. Actually, the UI should ALWAYS remain responsive and allow you to at least force close the program
Observed behavior:
- Image Viewer blindly tries to load the file as if it was any normal size file, and it will end up eating up too much memory and become unresponsive (this will actually render the whole system unworkable in an unrecoverable way, but that part is a bug in the OS, as it should always guarantee the system's stability in presence of misbehavior of one process)
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: eog 3.10.2-0ubuntu5
ProcVersionSign
Uname: Linux 3.13.0-29-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Jun 10 21:42:48 2014
InstallationDate: Installed on 2013-10-11 (242 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
SourcePackage: eog
UpgradeStatus: Upgraded to trusty on 2014-05-24 (17 days ago)