Nailed it on the head. bad programing. I forgot how wonderful valgrind is, thanks.
> Date: Sat, 26 Dec 2009 13:52:06 -0500 > From: cottrell wfu edu > To: shashaness hotmail com > CC: gtk-app-devel-list gnome org; gtk-osx-users lists sourceforge net > Subject: Re: Random memory allocation error > > > On Sat, 26 Dec 2009, Shawn Bakhtiar wrote: > > > At what appears to be random locations in a program which runs > > thought 24000 components, and breaking out the formulas in to > > there raw material components (formulations table of about > > 200,000 formulation lines, I see this error message: > > > > malloc: *** error for object 0xe41074: incorrect checksum for > > freed object - object was probably modified after being > > freed.*** > > Your code is buggy. Run it under valgrind and you'll see where > the bugs are. > > Allin Cottrell |