#790366 gthumb: 6000x26000 image doesn't display, even controls not displayed

Package:
gthumb
Source:
gthumb
Description:
image viewer and browser
Submitter:
Manuel Bilderbeek
Date:
2015-07-05 19:30:03 UTC
Severity:
normal
#790366#5
Date:
2015-06-28 14:22:04 UTC
From:
To:
Dear Maintainer,

I was trying to view a PNG with the following properties:
05_Xak_2_-_Het_Kasteel.png: PNG image data, 6000 x 26000, 8-bit/color RGB, non-interlaced
(it can be downloaded here: http://www.msx.org/downloads/xak-ii-map )

After a while, gthumb shows up, but the whole image is shown as black. Even all icons and other controls are not displayed, only a background color is shown.

The preview at the bottom is showing the image fine, though.

The zoom level doesn't seem to influence this.

Moreover, although you'd expect a RAM usage of about 6000 x 26000 x 3 bytes, it's much larger, as over 1GB is used by the application and 600+MB is used by Xorg at the same time:

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 6481 manuel    20   0 9755,3m 1,244g 648,2m S   0,0 15,9   0:08.56 gthumb
 4321 root      20   0 8383,3m 662,3m 628,6m S   0,3  8,3   0:39.01 Xorg

After closing gthumb this is the memory usage of Xorg:

 4321 root      20   0  191,8m  74,1m  40,4m S   6,0  0,9   0:39.82 Xorg

#790366#10
Date:
2015-07-03 19:35:52 UTC
From:
To:
Hi Manuel,


I see the problem. The png file didn't open here. Any of them.

I will figure out what to say to the upstream.

Thanks for the report.

regards,
Herbert

#790366#15
Date:
2015-07-03 22:22:39 UTC
From:
To:
Hi,

OK. thanks! Note that I reported the same problem on eog.

Perfectly working for these images are viewnior and gpicview (and only
taking 469MB of RAM, almost exactly what you expect). Perhaps that gives
upstream the right motivation ;-)

Kind regards,

Manuel

#790366#20
Date:
2015-07-05 13:41:32 UTC
From:
To:
Hi Manuel,

I retried and the problem seems to be only with 05*.png. It
only open with gimp. If you try the others first, they will
open.

Can you make more (two at least) png files with the same
properties to test ?


regards,

#790366#25
Date:
2015-07-05 19:26:18 UTC
From:
To:
Hi,
file opens fine with:

- gpicview (using only 466MB)
- xloadimage (but uses 1GB, see #790364)
- viewnior (using only 469MB)
- mirage (but using 1GB, see #790362)
- pqiv (but using 600MB)
- sxiv (also using 600MB)

It fails with:
- eog (similar to gthumb, see #790359)
- feh (only shows a black window, I guess similar to #733827)
- qiv (crashing gnome-shell, see #790361)

I didn't create these images myself, but I can ask the creator...