Re: Memory bug: new_string_header() and free_string()

2001-10-24 Thread Dan Sugalski
At 11:10 AM 10/24/2001 -0700, R. O'Neil wrote: >I noticed recently that calling pdump on a >pbc file, in this case mops.pbc, causes a >segfault. I traced this down to calling >free_string() in resources.c. It just so >happens that calling mem_allocate_aligned() >in new_string_header() makes the

Memory bug: new_string_header() and free_string()

2001-10-24 Thread R. O'Neil
I noticed recently that calling pdump on a pbc file, in this case mops.pbc, causes a segfault. I traced this down to calling free_string() in resources.c. It just so happens that calling mem_allocate_aligned() in new_string_header() makes the STRING pointer unacceptable for free(). This ca