[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: core dump on realloc?
- From: Diego Nehab <diego@...>
- Date: Tue, 8 Jan 2002 14:49:33 -0200 (EDT)
> > >This seems very strange to me but i have seen it repeatedly now. I have
> > >embedded lua into a cgi to act as a simple templating engine and the cgi
> > >is execute approx 500k times a day but once a day - it cores. Looking at
Does your CGI program perform any operations that could be overwriting
someone else's heap memory? When a program writes a few bytes out of
bounds, the memory manager usually does not detect it until the next
malloc or free.
It could be that it is not Lua's fault...
Regards,
Diego.