Opened 18 years ago

Closed 18 years ago

Last modified 16 years ago

#10922 closed defect (fixed)

convert -draw "text ..." results in Bus Error

Reported by: bclee@… Owned by: yeled@…
Priority: Normal Milestone:
Component: ports Version: 1.3.1
Keywords: markd@macports.org Cc: markd@…
Port:

Description

$ convert -draw "text 100,100 'ABC'" foo.jpg foo2.jpg Bus error

This works fine on my G4 OS X 10.4.8 iBook, but fails as above on my Intel 1.83GHz Intel Core Duo Mini with the same OS and MacPorts 1.3.1. I've installed Imagemagick and ghostscript (needed for the -draw text option) on both. The versions of ImageMagick differ (I installed this on the G4 several weeks ago) but the version of ghostscript is the same. The G4 does seem to have additional text related packages installed, maybe the dependencies for ImageMagick changed?

mini (where I get a bus error):

The following ports are currently installed:
  bzip2 @1.0.3_0 (active)
  freetype @2.1.10_1 (active)
  ghostscript @8.54_0 (active)
  ImageMagick @6.2.9-8_0+darwin_8 (active)
  jpeg @6b_1 (active)
  libiconv @1.11_0+darwin_8 (active)
  libpng @1.2.10_2+darwin_8 (active)
  libxml2 @2.6.23_0 (active)
  photopc @3.05_0 (active)
  tiff @3.8.2_0+darwin_8 (active)
  zlib @1.2.3_0 (active)

iBook (where it works):

The following ports are currently installed:
  atk @1.11.4_0 (active)
  bzip2 @1.0.3_0 (active)
  cairo @1.0.4_0 (active)
  expat @2.0.0_1 (active)
  fontconfig @2.3.2_2+macosx (active)
  freetype @2.1.10_1 (active)
  gettext @0.14.6_0 (active)
  ghostscript @8.54_0 (active)
  glib2 @2.12.0_1 (active)
  gqview @2.0.1_0 (active)
  gtk2 @2.8.19_0+darwin_8 (active)
  ImageMagick @6.2.7-5_0+darwin_8 (active)
  jpeg @6b_1 (active)
  libiconv @1.10_1+darwin_8 (active)
  libpixman @0.1.6_0 (active)
  libpng @1.2.10_2+darwin_8 (active)
  libxml2 @2.6.23_0 (active)
  pango @1.12.3_0 (active)
  photopc @3.05_0 (active)
  pkgconfig @0.20_0 (active)
  render @0.9_0 (active)
  tiff @3.8.2_0+darwin_8 (active)
  Xft2 @2.1.7_0 (active)
  xrender @0.9.0_0+darwin_8 (active)
  zlib @1.2.3_0 (active)

I'm new to MacPorts, so just let me know if there is additional information that would be useful (and how to find it!). Thanks.

Change History (8)

comment:1 Changed 18 years ago by bclee@…

That first line should be:

$ convert -draw "text 100,100 'ABC'" foo.jpg foo2.jpg 
Bus error

comment:2 Changed 18 years ago by bclee@…

Using +gs when I install imagemagick seems to solve the problem, it installs an older version of ghostscript and a few other packages. Here I've started over from scratch and only installed photopc and imagemagick:

$ port installed
The following ports are currently installed:
  bzip2 @1.0.3_0 (active)
  expat @2.0.0_1 (active)
  freetype @2.1.10_1 (active)
  gettext @0.15_0 (active)
  glib1 @1.2.10_5 (active)
  gplghostscript @8.50_0 (active)
  gtk1 @1.2.10_6 (active)
  ImageMagick @6.2.9-8_0+darwin_8+gs (active)
  jpeg @6b_1 (active)
  libiconv @1.11_0+darwin_8 (active)
  libpng @1.2.10_2+darwin_8 (active)
  libxml2 @2.6.23_0 (active)
  photopc @3.05_0 (active)
  pkgconfig @0.21_0 (active)
  tiff @3.8.2_0+darwin_8 (active)
  zlib @1.2.3_0 (active)

I seem to recall that the older version gave a more informative error until I installed ghostscript.

comment:3 Changed 18 years ago by markd@…

Cc: markd@… added

Imagemagick is now at 6.3.0. Same behavior? The summary line should begin with BUG: imagemagick-version so people don't need to read the whole ticket to know what is inside.

comment:4 Changed 18 years ago by markd@…

Keywords: markd@macports.org added

Is this problem resolved in the current version of imagemagick and dependencies?

comment:5 Changed 18 years ago by kballard (Lily Ballard)

Milestone: Available Ports

This sounds like a bug upstream

comment:6 Changed 18 years ago by markd@…

Resolution: fixed
Status: newclosed

comment:7 Changed 18 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: Available PortsPort Bugs
Priority: BlockerExpected
severity: Crash/data lossNormal

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.