New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20945 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

ImageMagick: "convert" segfaults on pdf->eps conversion

Reported by: john_owens@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard Cc: takashi@…
Port: ImageMagick

Description

$ convert --version
Version: ImageMagick 6.5.5-0 2009-08-28 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC

$ convert mp.pdf mp.eps
Segmentation fault

This happens on every pdf conversion I've tried (pdf->eps or jpg or tiff or gif). Other conversions appear to work OK.

I took a quick look through the ImageMagick bugs and users lists and didn't see anything relevant, so this might be a MacPort-specific problem. It'd be nice if someone else could try to reproduce. I did not see this behavior before, but don't use convert a lot.

I am attaching a png and pdf (convert png->pdf). Converting the pdf to eps segfaults for me.

Attachments

mp.pdf Download (10.3 KB) - added by john_owens@… 2 years ago.
mp.png Download (9.3 KB) - added by john_owens@… 2 years ago.

Change History

Changed 2 years ago by john_owens@…

Changed 2 years ago by john_owens@…

  Changed 2 years ago by macsforever2000@…

  • owner changed from macports-tickets@… to ryandesign@…

  Changed 2 years ago by codex69@…

I can confirm that anything I tried with PDFs leads to a segmentation fault (identify, convert, display).

follow-up: ↓ 4   Changed 2 years ago by blb@…

Seems to work for me (10.5.8, Xcode 3.1.3, Intel), I do note that my convert does not report OpenMP, could that be related?

$ port installed ImageMagick
The following ports are currently installed:
  ImageMagick @6.5.5-0_0+graphviz+gs+jbig+jpeg2+lcms+perl+q16+rsvg (active)
$ convert --version
Version: ImageMagick 6.5.5-0 2009-08-23 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC

in reply to: ↑ 3 ; follow-up: ↓ 5   Changed 2 years ago by codex69@…

Replying to blb@…:

Seems to work for me (10.5.8, Xcode 3.1.3, Intel), I do note that my convert does not report OpenMP, could that be related?

I had no problem under 10.5.8 neither, it's just happening since 10.6. Don't know where the OpenMP comes from, I didn't see an option for that.

in reply to: ↑ 4   Changed 2 years ago by ryandesign@…

Replying to codex69@…:

Don't know where the OpenMP comes from, I didn't see an option for that.

The request to add OpenMP support is still outstanding, but I'm guessing ImageMagick automatically enables it if GCC is new enough, and presumably GCC on Snow Leopard is new enough.

  Changed 2 years ago by ryandesign@…

  • port changed from imagemagick to ImageMagick
  • summary changed from ImageMagick "convert" segfaulting on pdf->eps conversion to ImageMagick: "convert" segfaults on pdf->eps conversion

  Changed 2 years ago by takashi@…

  • cc takashi@… added

Cc Me!

  Changed 2 years ago by ryandesign@…

  • status changed from new to assigned
  • keywords snowleopard added

I see the problem too, but will just be reporting it to the magick-bugs list, once I confirm the problem still exists in the latest release (6.5.5-7).

  Changed 2 years ago by ryandesign@…

6.5.5-7 works for me. Can you "sudo port selfupdate" and "sudo port upgrade ImageMagick" and see if it works for you too?

  Changed 2 years ago by codex69@…

Works for me, too!

  Changed 2 years ago by ryandesign@…

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.