← Back to team overview

desktop-packages team mailing list archive

[Bug 42629] Re: EOG crashes on SVG images created with OpenOffice.org Draw

 

I ran into this one with some SVG images generated by graphviz from dot
files.

My problem was even more extreme ; the entire X server crashed, taking
my session and all my open applications with it. IMHO that makes it more
than a minor bug - anything that can crash your X server can cause you
to lose significant amounts of work.

This happens reliably on both SVG and PNG images generated by the dot
utility from the same file. The image is 4344x11893 pixels.

The SVG will open harmlessly in Inkscape. The PNG opens harmlessly in
GIMP. The thumbnail generator in nautilus creates a thumbnail for both
without causing problems.

Therefore I'm inclined to blame eog for the problem. Note especially
that the problem happens with PNG and not just SVG.

-- 
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/42629

Title:
  EOG crashes on SVG images created with OpenOffice.org Draw

Status in Eye of GNOME:
  Confirmed
Status in libRSVG - SVG Rendering Library:
  Fix Released
Status in The OpenOffice.org Suite:
  Invalid
Status in “eog” package in Ubuntu:
  Triaged

Bug description:
  EOG crashes on SVG images created with OpenOffice.org Draw. As I
  understand, the problem is that OpenOffice.org SVG export plugin uses
  plain huge integer dimensions, not centimeters, inches or something
  relavant. EOG just fails to allocate memory for an "über"-sized image
  then.

  I guess that from the following output:
  GLib-ERROR **: gmem.c:154: failed to allocate 2412898400 bytes
  aborting...

  Program received signal SIGABRT, Aborted.
  [Switching to Thread -1239532624 (LWP 11914)]
  0xffffe410 in __kernel_vsyscall ()
  (gdb)

  
  Personally Im not sure which side requires fixing, maybe both. OpeOffice should export in sane dimensions, and EOG should automatically reduce images or do something but not crash.

  Both Firefox and Inkscape load the image correctly.

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