Opened 17 years ago

Closed 15 years ago

Last modified 15 years ago

#12532 closed defect (worksforme)

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

Reported by: aaron@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: imagemagick Cc: aaron@…, ryandesign (Ryan Carsten Schmidt)
Port: ImageMagick

Description (last modified by blb@…)

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 (4)

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: aaron@… ryandesign@… added
Milestone: 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.

comment:2 Changed 15 years ago by blb@…

Resolution: worksforme
Status: newclosed

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

comment:3 Changed 15 years ago by blb@…

Description: modified (diff)
Port: ImageMagick added

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.