Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #12532 (closed defect: worksforme)

Opened 15 months ago

Last modified 3 weeks ago

ImageMagick 6.3.5: Resizing an Image Causes Deallocation of a Pointer Not Malloced

Reported by: aaron@… Owned by: ryandesign@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.5.0
Keywords: imagemagick Cc: aaron@…, ryandesign@…
Port: ImageMagick

Description (last modified by blb@…) (diff)

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

Change History

Changed 15 months ago by ryandesign@…

  • cc aaron@…, ryandesign@… added
  • milestone set to Port Bugs

I'm unable to reproduce the problem. Works for me. I'm also on Mac OS X 10.4.10, on 2.2 GHz Intel Core 2 Duo with 2 GB RAM. I suggest you try setting MallocHelp as the message indicates, and/or work with the ImageMagick developers to figure out what's up, and/or attach to this ticket the image which causes the crash.

Changed 3 weeks ago by blb@…

  • status changed from new to closed
  • resolution set to worksforme

Closing, lack of response, can't reproduce here.

Changed 3 weeks ago by blb@…

  • description modified (diff)
  • port set to ImageMagick
Note: See TracTickets for help on using tickets.