convert (from ImageMagick port) crashes with segmentation fault in Snow Leopard

Artemio Gonzalez Lopez artemiog at mac.com
Sat Sep 12 13:34:01 PDT 2009


I successfully rebuilt the ImageMagick port from scratch after  
upgrading to Snow Leopard. However, I've just noticed that /opt/local/ 
bin/convert crashes with a segmentation fault error every time I try  
to use it:

imac:~$ convert -debug All spacings.pdf spacings.gif
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
utility.c/ExpandFilenames/866/Configure
   Command line: convert {-debug} {All} {spacings.pdf} {spacings.gif}
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "/opt/local/share/ImageMagick-6.5.5/ 
config/coder.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "/opt/local/lib/ImageMagick-6.5.5/ 
config/coder.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "/opt/local/share/doc/ 
ImageMagick-6.5.5/coder.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "/opt/local/share/ImageMagick-6.5.5/ 
coder.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "/Users/artemio/.magick/coder.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "coder.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
coder.c/LoadCoderList/639/Configure
   Loading coder configuration file "/opt/local/share/ 
ImageMagick-6.5.5/config/coder.xml" ...
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Module convert[12438]:  
module.c/OpenModule/1154/Module
   Searching for module "PDF" using filename "pdf.la"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Module convert[12438]:  
module.c/GetMagickModulePath/549/Module
   Searching for coder module file "pdf.la" ...
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Module convert[12438]:  
module.c/OpenModule/1163/Module
   Opening module at path "/opt/local/lib/ImageMagick-6.5.5/modules- 
Q16/coders/pdf.la"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Module convert[12438]:  
module.c/OpenModule/1190/Module
   Method "RegisterPDFImage" in module "PDF" at address 0x100823920
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Module convert[12438]:  
module.c/OpenModule/1204/Module
   Method "UnregisterPDFImage" in module "PDF" at address 0x1008238e0
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Policy convert[12438]:  
policy.c/IsRightsAuthorized/520/Policy
   Domain: Path; rights=Read; pattern="spacings.pdf" ...
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Blob convert[12438]:  
blob.c/OpenBlob/2407/Blob
     read 3 magic header bytes
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Cache convert[12438]:  
cache.c/DestroyPixelCache/1504/Cache
   destroy
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "/opt/local/share/ImageMagick-6.5.5/ 
config/magic.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "/opt/local/lib/ImageMagick-6.5.5/ 
config/magic.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "/opt/local/share/doc/ 
ImageMagick-6.5.5/magic.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "/opt/local/share/ImageMagick-6.5.5/ 
magic.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "/Users/artemio/.magick/magic.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "magic.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
magic.c/LoadMagicList/682/Configure
   Loading magic configure file "/opt/local/share/ImageMagick-6.5.5/ 
config/magic.xml" ...
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Policy convert[12438]:  
policy.c/IsRightsAuthorized/520/Policy
   Domain: Coder; rights=Read; pattern="PDF" ...
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Policy convert[12438]:  
policy.c/IsRightsAuthorized/520/Policy
   Domain: Path; rights=Read; pattern="spacings.pdf" ...
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Blob convert[12438]:  
blob.c/OpenBlob/2407/Blob
     read 3 magic header bytes
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Cache convert[12438]:  
cache.c/DestroyPixelCache/1504/Cache
   destroy
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Policy convert[12438]:  
policy.c/IsRightsAuthorized/520/Policy
   Domain: Path; rights=Read; pattern="spacings.pdf" ...
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Blob convert[12438]:  
blob.c/OpenBlob/2407/Blob
     read 3 magic header bytes
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Resource convert[12438]:  
resource.c/AcquireUniqueFileResource/436/Resource

2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Resource convert[12438]:  
resource.c/AcquireUniqueFileResource/467/Resource
   /var/folders/zM/zM8CqesGGm4R6jf3pacqNk+++TI/-Tmp-/magick-z7KjVL8d
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Resource convert[12438]:  
resource.c/RelinquishUniqueFileResource/990/Resource
   /var/folders/zM/zM8CqesGGm4R6jf3pacqNk+++TI/-Tmp-/magick-z7KjVL8d
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Resource convert[12438]:  
resource.c/AcquireUniqueFileResource/436/Resource
%????F-1.5
<</Metadata 20 0 R/OCProperties<</D<</ON[24 0 R 49 0 R 72 0 R 94 0 R  
114 0 R]/Order 115 0 R/RBGroups[]>>/OCGs[24 0 R 49 <</Length 15880/ 
Subtype/XML/Type/Metadata>>streamalog>>
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.2.2-c063  
53.352624, 2008/07/30-18:05:41        ">
    <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
       <rdf:Description rdf:about=""
             xmlns:pdf="http://ns.adobe.com/pdf/1.3/">
          <pdf:Producer>GPL Ghostscript 8.70</pdf:Producer>
       </rdf:Description>
       <rdf:Description rdf:about=""
             xmlns:xmp="http://ns.adobe.com/xap/1.0/"
             xmlns:xmpGImg="http://ns.adobe.com/xap/1.0/g/img/">
          <xmp:ModifyDate>2009-09-12T21:20:19+02:00</xmp:ModifyDate>
          <xmp:CreateDate>2009-09-12T21:10:02+02:00</xmp:CreateDate>
          <xmp:CreatorTool>Adobe Illustrator(R) 13.0</xmp:CreatorTool>
          <xmp:MetadataDate>2009-09-12T21:20:19+02:00</xmp:MetadataDate>
          <xmp:Thumbnails>
             <rdf:Alt>
                <rdf:li rdf:parseType="Resource">
                   <xmpGImg:width>256</xmpGImg:width>
                   <xmpGImg:height>176</xmpGImg:height>
                   <xmpGImg:format>JPEG</xmpGImg:format>
                   <xmpGImg:image>/9j/4AAQSkZJRgABAgEASABIAAD/ 
7QAsUGhvdG9z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46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "/opt/local/share/ImageMagick-6.5.5/ 
config/delegates.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "/opt/local/lib/ImageMagick-6.5.5/ 
config/delegates.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "/opt/local/share/doc/ 
ImageMagick-6.5.5/delegates.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "/opt/local/share/ImageMagick-6.5.5/ 
delegates.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "/Users/artemio/.magick/delegates.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
configure.c/GetConfigureOptions/528/Configure
   Searching for configure file: "delegates.xml"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Configure convert[12438]:  
delegate.c/LoadDelegateList/1194/Configure
   Loading delegate configuration file "/opt/local/lib/ 
ImageMagick-6.5.5/config/delegates.xml" ...
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Resource convert[12438]:  
resource.c/AcquireUniqueFileResource/436/Resource
   spacings.pdf
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Resource convert[12438]:  
resource.c/AcquireUniqueFileResource/467/Resource
   /var/folders/zM/zM8CqesGGm4R6jf3pacqNk+++TI/-Tmp-/magick-CHbUK6LZ
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Policy convert[12438]:  
policy.c/IsRightsAuthorized/520/Policy
   Domain: Path; rights=Read; pattern="/var/folders/zM/ 
zM8CqesGGm4R6jf3pacqNk+++TI/-Tmp-/magick-CHbUK6LZ" ...
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Blob convert[12438]:  
blob.c/OpenBlob/2407/Blob
     read 3 magic header bytes
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Cache convert[12438]:  
cache.c/DestroyPixelCache/1504/Cache
   destroy
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Module convert[12438]:  
module.c/OpenModule/1154/Module
   Searching for module "PNM" using filename "pnm.la"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Module convert[12438]:  
module.c/GetMagickModulePath/549/Module
   Searching for coder module file "pnm.la" ...
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Module convert[12438]:  
module.c/OpenModule/1163/Module
   Opening module at path "/opt/local/lib/ImageMagick-6.5.5/modules- 
Q16/coders/pnm.la"
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Module convert[12438]:  
module.c/OpenModule/1190/Module
   Method "RegisterPNMImage" in module "PNM" at address 0x100831040
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Module convert[12438]:  
module.c/OpenModule/1204/Module
   Method "UnregisterPNMImage" in module "PNM" at address 0x100830ff0
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Policy convert[12438]:  
policy.c/IsRightsAuthorized/520/Policy
   Domain: Coder; rights=Read; pattern="PNM" ...
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Policy convert[12438]:  
policy.c/IsRightsAuthorized/520/Policy
   Domain: Path; rights=Read; pattern="/var/folders/zM/ 
zM8CqesGGm4R6jf3pacqNk+++TI/-Tmp-/magick-CHbUK6LZ" ...
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Blob convert[12438]:  
blob.c/OpenBlob/2407/Blob
     read 3 magic header bytes
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Resource convert[12438]:  
resource.c/AcquireMagickResource/257/Resource
   Area: 1.202mb/1.202mb/4gb
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Resource convert[12438]:  
resource.c/AcquireMagickResource/257/Resource
   Memory: 1.202mb/1.202mb/3gb
2009-09-12T21:30:46+02:00 0:01 0.000u 6.5.5 Cache convert[12438]:  
cache.c/OpenPixelCache/3867/Cache
   open /var/folders/zM/zM8CqesGGm4R6jf3pacqNk+++TI/-Tmp-/magick- 
CHbUK6LZ[0] (heap memory, 479x329 1.202mb)
Segmentation fault

Any suggestions as to how to fix this?

Cheers,

Artemio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1893 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090912/dafd7f07/attachment.bin>


More information about the macports-users mailing list