Re: [Gtk-osx-users] 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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]