OMFG, I've found out what triggers this. It's not randomly opening and
closing the image several times. It's when I accidentally hit the
spacebar, which in ImageViewer is stupidly used as a keyboard shortcut
for loading the next image in the folder, which happens to be a huge svg
file of several GB.

So the issue happens to be the combination of two issues:
- (the huge one) when attempting to load a file too large to be manageable, 
instead of issuing an error message or warning, eog tries to load it and eat up 
as much memory as required, hanging the whole OS
- (a small one) image viewer uses a ridiculous shortcut for "next" which is the 
space bar (I wonder what's the shortcut for "previous") which is unexpected, 
counterintuitive, and in contrast with prevailing conventions in other similar 
software.

I'll file these as separate bugs and close this one.

** Changed in: eog (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to eog in Ubuntu.
https://bugs.launchpad.net/bugs/1328655

Title:
  image viewer suddenly and randomly becomes unresponsive when viewing
  big image and hangs the whole system - only option hard shut down

Status in “eog” package in Ubuntu:
  Invalid

Bug description:
  I have a png image with a size of 8580 by 6000 pixels. The file is
  about 83MB in size (I know, the image uncompressed into memory is much
  bigger, should be in the order of  147 or perhaps 196 MB; not that
  much, anyway).

  I can usually view and handle it easily with Image Viewer: zoom in,
  zoom out, move around, without issues. I never modify and save it from
  within Image Viewer, I just use it to view it.

  Every once in a while, I close Image Viewer, I regenerate the image,
  and I open it again in Image Viewer.

  Everything works fine for a few times.

  Then suddenly, when I have already opened the image and zoomed in and
  out and moved around a few times and it seems to be working just fine,
  the "loading" progress bar shows up on the bottom right corner of
  Image Viewer, as if it was reloading the image (though it has NOT been
  modified); the progress bar gets stuck around 18% or so, and the
  program becomes completely unresponsive, and the whole system does.

  It looks like Image Viewer suddenly starts eating up a lot of memory, causing 
thrashing. It's the typical symptoms.
  The system won't respond to clicks and keystrokes (the mouse cursor does 
move, but jerkily).
  So I can't even close Image Viewer or switch to a terminal or virtual console 
and kill it; the only thing I can do is to physically power off the computer.

  The last part is a more system-wide bug in Ubuntu (an OS should never,
  ever stall unrecoverably because of the misbehavior of a single
  program, no matter how bad), but the fact that Image Viewer suddenly
  begins eating up memory exponentially (or whatever it is that it does
  causing the system collapse) is certainly a bug in ImageViewer, and a
  critical one.

  It happens SYSTEMATICALLY after a few times I open and close the
  image. I can't tell if it's systematically after a given number of
  times, but sooner or later, it will happen, guaranteed. I have already
  rebooted with the hardware button like 5 or 6 times in a few hours
  because of this.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: eog 3.10.2-0ubuntu5
  ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
  Uname: Linux 3.13.0-29-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jun 10 20:57:23 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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eog/+bug/1328655/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to