[MacPorts] #12532: ImageMagick 6.3.5: Resizing an Image Causes Deallocation of a Pointer Not Malloced

MacPorts noreply at macports.org
Thu Oct 30 23:17:04 PDT 2008


#12532: ImageMagick 6.3.5: Resizing an Image Causes Deallocation of a Pointer Not
Malloced
---------------------------------------+------------------------------------
  Reporter:  aaron at splatteredbits.com  |       Owner:  ryandesign at macports.org
      Type:  defect                    |      Status:  closed                 
  Priority:  Normal                    |   Milestone:  Port Bugs              
 Component:  ports                     |     Version:  1.5.0                  
Resolution:  worksforme                |    Keywords:  imagemagick            
      Port:  ImageMagick               |  
---------------------------------------+------------------------------------
Changes (by blb at macports.org):

  * port:  => ImageMagick


Old description:

> When I run the following command the convert command from the ImageMagick
> port:
>
>    % convert image.jpg -resize 100x100 image_thumb.jpg
>
> I get the following error:
>
> convert(27132) malloc: *** error for object 0x11087d0: pointer being
> reallocated was not allocated
> convert(27132) malloc: *** set a breakpoint in szone_error to debug
> convert(27132) malloc: ***  Deallocation of a pointer not malloced:
> 0x11087d0; This could be a double free(), or free() called with the
> middle of an allocated block; Try setting environment variable MallocHelp
> to see tools to help debug
> convert: unable to allocate string `begin=''
> id='W5M0MpCehiHzreSzNTczkc9d''.
>
> I downloaded the binary for Mac OS X from the ImageMagick web site and it
> does not exhibit this behavior.
>
> Platform: Mac OS X 10.4.10 2.4 GHz Intel Core 2 Duo, 2GB 667MHz DDR2
> SDRAM

New description:

 When I run the following command the convert command from the ImageMagick
 port:

    % convert image.jpg -resize 100x100 image_thumb.jpg

 I get the following error:
 {{{
 convert(27132) malloc: *** error for object 0x11087d0: pointer being
 reallocated was not allocated
 convert(27132) malloc: *** set a breakpoint in szone_error to debug
 convert(27132) malloc: ***  Deallocation of a pointer not malloced:
 0x11087d0; This could be a double free(), or free() called with the middle
 of an allocated block; Try setting environment variable MallocHelp to see
 tools to help debug
 convert: unable to allocate string `begin=''
 id='W5M0MpCehiHzreSzNTczkc9d''.
 }}}
 I downloaded the binary for Mac OS X from the ImageMagick web site and it
 does not exhibit this behavior.

 Platform: Mac OS X 10.4.10 2.4 GHz Intel Core 2 Duo, 2GB 667MHz DDR2 SDRAM

--

-- 
Ticket URL: <http://trac.macports.org/ticket/12532#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list