[Bug 883359] Re: imagmagick convert leaves files in /tmp after exiting with error

Launchpad Bug Tracker 883359 at bugs.launchpad.net
Sun Jan 1 04:18:05 UTC 2012


[Expired for imagemagick (Ubuntu) because there has been no activity for
60 days.]

** Changed in: imagemagick (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to imagemagick in Ubuntu.
https://bugs.launchpad.net/bugs/883359

Title:
  imagmagick convert leaves files in /tmp after exiting with error

Status in “imagemagick” package in Ubuntu:
  Expired

Bug description:
  The following SVG file (also attached) has a NUL character just before
  the "/" in the <path /> element.

  <?xml version="1.0" encoding="UTF-8"?>
  <svg xmlns="http://www.w3.org/2000/svg">
    <path  />
  </svg>

  This is invalid XML. convert dies with an error message:

  % convert fail_166.svg fail_166.png
  convert: Couldn't find end of Start Tag path
   `` @ svg.c/SVGError/2550.
  convert: missing an image filename `fail_166.png' @ convert.c/ConvertImageCommand/2838.

  It exits with error code 1 -- not an uncontrolled exit like a
  segfault. It leaves behind a file in /tmp/ -- this is the bug. It
  should clean up the tmp file before exiting.

  % cat /tmp/magick-XXi9qeeM
  push graphic-context
  encoding "UTF-8"
  viewbox 0 0 0 0
  affine -nan 0 0 -nan 0.0 0.0
  push graphic-context

  Running bulk conversions on many invalid SVG files results in many
  files left behind in /tmp.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: imagemagick 7:6.5.7.8-1ubuntu1.1
  ProcVersionSignature: Ubuntu 2.6.32-34.77-generic 2.6.32.44+drm33.19
  Uname: Linux 2.6.32-34-generic x86_64
  NonfreeKernelModules: fglrx
  Architecture: amd64
  Date: Fri Oct 28 22:51:20 2011
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/zsh
  SourcePackage: imagemagick

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/883359/+subscriptions




More information about the foundations-bugs mailing list