fixing broken macports package
08 November 2012
After some recent macports upgrade pdftk and ImageMagick’s convert staterted to abort with an error message that the function malloc had failed due to some object pointer being freed that hadn’t been allocated beforehand. It looked like this:
pdftk(1088,0x7fff70ea8cc0) malloc: *** error for object 0x10418c880: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Abort trap
How to fix this? I tried to up- and downgrade various packages without much strategy at first, which produced some packages that wouldn’t build at all any more. I finally resorted to removing all outdated... Read more.