lua-users home
lua-l archive

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


> 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.

-- Roberto