Chris, Your program appears to be overrunning a malloc() allocation and corrupting the heap. Link it with Electric Fence (install the efence package and link with -lefence). Run it inside of the debugger, and the program should die on the instruction that is causing the overrun. Bruce -- Bruce Perens <Bruce@Pixar.com> Pixar Animation Studios