[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: garbage colleciton crash
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 04 Mar 2004 09:44:40 -0300
> We have been chasing a really bizarre bug all day.
>free (crashes in here in the pool manager of MSL by Metrowerks)
Those symptoms point to memory corruption. You should try a good
memory-access checker (purify, valgrind, eletric-fence?).
> I can get rid of the bug by slowly eliminating lines of lua source code
> until I can get it down to a single ascii character is the reason for
> the crash.
Small changes like that change the pace of the garbage collector, which
in turn changes all the allocation pattern of your program.