#491348 [eog] eog takes more than 1.5 GB of ram and all swap trying to open un .svg file

Package:
eog
Source:
eog
Description:
Eye of GNOME graphics viewer program
Submitter:
Federico Muciaccia
Date:
2021-06-21 17:21:05 UTC
Severity:
important
Tags:
#491348#5
Date:
2008-07-18 20:05:34 UTC
From:
To:
--- Please enter the report below this line. ---
I had un .odg file and I converted it to .svg with openoffice.org
Than I tryed to open the new file with eog and system become strangely slow
Than I opened gnome-system-monitor and I saw that eog was taking quite all my ram and all my swap
I don't think it's a problem of the file, because inkscape open it perfectly
I'll attache the files

Debian Release: lenny/sid
  500 unstable        ftp.it.debian.org
  500 testing         security.debian.org
    1 experimental    ftp.debian.org
--- Package information. ---
Depends                     (Version) | Installed
=====================================-+-===============
libart-2.0-2              (>= 2.3.18) | 2.3.20-2
libc6                      (>= 2.7-1) | 2.7-12
libcairo2                  (>= 1.2.4) | 1.6.4-6
libdbus-glib-1-2            (>= 0.71) | 0.76-1
libexempi3                            | 2.0.1-1
libexif12                             | 0.6.16-2.1
libgconf2-4               (>= 2.13.5) | 2.22.0-1
libglade2-0              (>= 1:2.6.1) | 1:2.6.2-1
libglib2.0-0              (>= 2.16.0) | 2.17.3-2
libgnome-desktop-2        (>= 2.22.0) | 2.22.3-1
libgnome2-0               (>= 2.17.3) | 2.22.0-1
libgnomeui-0              (>= 2.17.1) | 2.22.1-1
libgnomevfs2-0         (>= 1:2.17.90) | 1:2.22.0-4
libgtk2.0-0               (>= 2.12.0) | 2.12.11-1
libjpeg62                             | 6b-14
liblcms1                  (>= 1.15-1) | 1.17-1
libx11-6                              | 2:1.1.4-2
libxml2                   (>= 2.6.27) | 2.6.32.dfsg-2
python2.5                    (>= 2.5) | 2.5.2-8
gconf2                  (>= 2.10.1-2) | 2.22.0-1
gnome-icon-theme          (>= 2.19.1) | 2.22.0-1
shared-mime-info            (>= 0.20) | 0.30-2

#491348#14
Date:
2013-07-09 06:48:59 UTC
From:
To:
I can confirm this bug with the version packaged in stable and testing.

(eog:30871): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_has_alpha: assertion
`GDK_IS_PIXBUF (pixbuf)' failed
(eog:30871): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion
`GDK_IS_PIXBUF (pixbuf)' failed
(eog:30871): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion
`GDK_IS_PIXBUF (pixbuf)' failed segmentation fault

PR  NI  VIRT  RES  SHR S %CPU %MEM     TIME+   PID COMMAND
20   0 2550m 255m 2680 t  0,0 50,9   0:02.11  7765 eog

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6648b40 (LWP 7959)]
0xb77ed495 in ?? () from /usr/lib/i386-linux-gnu/librsvg-2.so.2

#0  0xb77ed495 in ?? () from /usr/lib/i386-linux-gnu/librsvg-2.so.2
#1  0xb77ee1bc in rsvg_handle_get_pixbuf_sub () from /usr/lib/i386-linux-gnu/librsvg-2.so.2
#2  0xb77ee243 in rsvg_handle_get_pixbuf () from /usr/lib/i386-linux-gnu/librsvg-2.so.2
#3  0x08063b76 in eog_image_real_load (error=0x82d7924, error@entry=0xd, job=0x82d7918, job@entry=0x1, data2read=15,
    data2read@entry=136795624, img=0x82755e8) at eog-image.c:1187
#4  eog_image_load (img=0x82755e8,
    data2read=data2read@entry=(EOG_IMAGE_DATA_IMAGE | EOG_IMAGE_DATA_DIMENSION | EOG_IMAGE_DATA_EXIF | EOG_IMAGE_DATA_XMP),
    job=job@entry=0x82d7918, error=error@entry=0x82d7924) at eog-image.c:1326
#5  0x08067314 in eog_job_load_run (job=0x82d7918) at eog-jobs.c:338
#6  0x08068524 in eog_job_run (job=0x82d7918) at eog-jobs.c:155
#7  0x08066081 in handle_job (job=0x82d7918) at eog-job-queue.c:77
#8  eog_render_thread (data=0x0) at eog-job-queue.c:146
#9  0xb70f31c3 in g_thread_proxy (data=0x80da150) at /build/glib2.0-Q0IaBZ/glib2.0-2.36.3/./glib/gthread.c:798
#10 0xb7056cf1 in start_thread (arg=0xb6648b40) at pthread_create.c:311
#11 0xb6f8f01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131