After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 642612 - unable to load this SVG file
unable to load this SVG file
Status: RESOLVED DUPLICATE of bug 672990
Product: eog
Classification: Core
Component: image viewer
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-02-17 19:43 UTC by garrett.mitchener
Modified: 2012-11-11 18:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
an SVG file that crashes eog (66.02 KB, image/svg+xml)
2011-02-17 19:43 UTC, garrett.mitchener
Details

Description garrett.mitchener 2011-02-17 19:43:44 UTC
Created attachment 181163 [details]
an SVG file that crashes eog

When you try to open the attached SVG file, it crashes eog.  It also crashes firefox. No preview appears for this file in nautilus.  So it's probably a bug in a library that they have in common.  Inkscape can open it with no problem.  The file was exported from Mathematica.
Comment 1 Fabio Durán Verdugo 2011-02-17 20:14:16 UTC
I can confirm this report. here the backtrace.

[Thread debugging using libthread_db enabled]
Core was generated by `eog /home/fabio/Desktop/attachment.cgi'.
Program terminated with signal 11, Segmentation fault.

Thread 1 (Thread 0xb6cffb70 (LWP 7073))

  • #0 rsvg_cairo_to_pixbuf
    at /usr/include/bits/string3.h line 52
  • #1 rsvg_handle_get_pixbuf_sub
    at rsvg.c line 102
  • #2 rsvg_handle_get_pixbuf
    at rsvg.c line 137
  • #3 gdk_pixbuf__svg_image_stop_load
    at io-svg.c line 153
  • #4 gdk_pixbuf_loader_close
    at gdk-pixbuf-loader.c line 724
  • #5 eog_image_real_load
    at eog-image.c line 1098
  • #6 eog_image_load
    at eog-image.c line 1252
  • #7 eog_job_load_run
    at eog-jobs.c line 336
  • #8 eog_job_run
    at eog-jobs.c line 153
  • #9 handle_job
    at eog-job-queue.c line 77
  • #10 eog_render_thread
    at eog-job-queue.c line 146
  • #11 g_thread_create_proxy
    at gthread.c line 1897
  • #12 start_thread
    at pthread_create.c line 301
  • #13 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 133

Comment 2 Fabio Durán Verdugo 2011-02-17 20:17:56 UTC
could be cairo problem
Comment 3 garrett.mitchener 2011-02-17 21:37:46 UTC
I've poked around with this file in Inkscape some more.  It seems that there's a really big rectangle in it just a couple of lines down:

<rect fill='rgb(100%,100%,100%)' stroke='none' x='-2.2518e+15' y='-2.2518e+15' width='4.5036e+15' height='4.5036e+15' />

I don't know why that's there.  It's not really part of the picture.  But still, eog shouldn't crash because of it.
Comment 4 Claudio Saavedra 2011-02-17 23:23:48 UTC
> #0  rsvg_cairo_to_pixbuf (pixels=0x97238008 "", rowstride=11644972, height=2911181) at /usr/include/bits/string3.h:52

I'd say it's rsvg, isn't it? Most likely the rowstride and/or height are just insanely big.
Comment 5 Felix Riemann 2011-02-18 08:52:10 UTC
If it is the size it could be related to bug 340963. But it's not crashing on my F14 laptop here (while it does on the other bug). Maybe there's some 32bit<->64bit trickery involved here.
Comment 6 garrett.mitchener 2011-02-18 16:06:58 UTC
Could be -- My workstation where I first noticed the crash is 64 bit.
Comment 7 Felix Riemann 2012-01-18 11:58:45 UTC
Just noted that it doesn't crash anymore with the latest librsvg from git.
It simply fails to load the image and tells you so.
Comment 8 nodiscc 2012-07-28 14:29:40 UTC
eog 3.4.2-1 from Debian wheezy doesn't crash anymore on this file.
It fails loading the image and displays this error message:
"Could not load image 'Bad file PenroseTriangle.svg'.
Image loading failed."

Firefox loads the image correctly.

Changing title and severity accordingly.
Comment 9 Felix Riemann 2012-11-11 18:08:45 UTC
This is likely failing due to a cairo limitation now: bug 672990.

Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 672990 ***