On 9/22/07, Dave Murray-Rust <D.S.Murray-Rust@sms.ed.ac.uk> wrote:
Hi All,

I'm having real hassles with port - most packages fail to install,
with a segfault, e.g.:

groke:503:dave>port install tiff
--->  Fetching zlib
--->  Verifying checksum(s) for zlib
--->  Extracting zlib
--->  Applying patches to zlib
--->  Configuring zlib
--->  Building zlib with target all
--->  Staging zlib into destroot
tclsh(394) malloc: *** error for object 0x312770: double free
tclsh(394) malloc: *** set a breakpoint in szone_error to debug
tclsh(394) malloc: *** error for object 0x312770: double free
tclsh(394) malloc: *** set a breakpoint in szone_error to debug
tclsh(394) malloc: *** error for object 0x312770: double free
tclsh(394) malloc: *** set a breakpoint in szone_error to debug
--->  Installing zlib 1.2.3_1
tclsh(394) malloc: *** error for object 0x313760: double free
tclsh(394) malloc: *** set a breakpoint in szone_error to debug
tclsh(394) malloc: *** error for object 0x313790: double free
tclsh(394) malloc: *** set a breakpoint in szone_error to debug
tclsh(394) malloc: *** error for object 0x3137f0: double free
tclsh(394) malloc: *** set a breakpoint in szone_error to debug
Segmentation fault


At other times, I get a bus error but I didn't save a copy/paste of
that, and it's not reproducible.

what version of port do you have installed? is your ports tree up to date? is all your XCode stuff up to date? 

try installing zlib with the -dv switches to see what output you get. And send along the results of port -v as well. 

--
Paul Beard / www.paulbeard.org/
<paulbeard@gmail.com/paulbeard@mac.com>