Opened 15 years ago

Closed 15 years ago

#20945 closed defect (fixed)

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

Reported by: jowens (John Owens) Owned by: ryandesign (Ryan Carsten Schmidt)
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 (2)

mp.pdf (10.3 KB) - added by jowens (John Owens) 15 years ago.
mp.png (9.3 KB) - added by jowens (John Owens) 15 years ago.

Download all attachments as: .zip

Change History (13)

Changed 15 years ago by jowens (John Owens)

Attachment: mp.pdf added

Changed 15 years ago by jowens (John Owens)

Attachment: mp.png added

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to ryandesign@…

comment:2 Changed 15 years ago by codex69@…

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

comment:3 Changed 15 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

comment:4 in reply to:  3 ; Changed 15 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.

comment:5 in reply to:  4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

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.

comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Port: ImageMagick added; imagemagick removed
Summary: ImageMagick "convert" segfaulting on pdf->eps conversionImageMagick: "convert" segfaults on pdf->eps conversion

comment:7 Changed 15 years ago by takashi@…

Cc: takashi@… added

Cc Me!

comment:8 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: snowleopard added
Status: newassigned

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).

comment:9 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

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?

comment:10 Changed 15 years ago by codex69@…

Works for me, too!

comment:11 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.