While working on adding leak detection to the nightly regression tests I found that the memento build seg faults on a several of the input test files with the 64 bit Mac OS X build, e.g.: membin/gs -sDEVICE=ppmraw -o test.ppm ./z400454b01d4-1.pdf This is a regression, having started with dd09a0706ab09a54f5fbb05c63420c86375b45bf.
Fixed in: commit b549f7df132df28783e34ef6839812b691c9eed5 Author: Robin Watts <robin.watts@artifex.com> Date: Tue May 15 18:22:06 2012 +0100 Bug 693039: Fix Memento crashes After reallocing a block, it is best to avoid reading from the old location. (Read flags, then realloc, then write flags). Also some minor tweaks to avoid warnings etc.