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

Re: [MiNT] malloc() bug ?



On 1/11/10 7:44 AM, Paul Wratt wrote:
2010/1/11 Vincent Rivière<vincent.riviere@freesbee.fr>:
Paul Wratt wrote:
Tis a guess really, but is there any (logical) reason as to why there
should be an issue regarding memory usage and management, ONLY on long
or large compiles (or makes)?
Last time it occurred for me it was a very short test makefile, with no gcc
call, only multiple calls to "which" and "sed". I had copy/pasted these
lines 6 or 7 times to simulate a big activity, and the malloc bug appeared.
Unfortunately I didn't backup that simple makefile :-(

It is sure that the "make" command from SpareMiNT contains the malloc bug.
However I didn't run MiNT with memory protection, maybe some other process
(which, sed or other) has overwritten the make memory.

This is really annoying.
This problem does crop up with memory protection and it will occur even if you rebuild all of make and its dependencies. It's interesting that sed will trigger it too. This isn't good at all.

Thanks,
Mark