← Back to team overview

desktop-packages team mailing list archive

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

 

I've attached an SVG file that crashes the entire X server when opened
in eog (but not when opened in Inkscape).

This doesn't happen on my home desktop with a big beefy nvidia card,
just on "productivity" machines with lesser graphics cards.

** Attachment added: "SVG file that crashes entire X server when opened in eog"
   https://bugs.launchpad.net/ubuntu/+source/eog/+bug/42629/+attachment/2676857/+files/6._Create-new-refset-spec.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