[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] malloc() bug ?
On Fri, Jan 8, 2010 at 5:12 PM, Mark Duckworth
<mduckworth@atari-source.org> wrote:
> On 1/8/10 6:07 PM, Vincent Rivière wrote:
>>
>> Mark Duckworth wrote:
>>>
>>> Often when building a large software package I'll get an error like this:
>>>
>>>> > make: ../mintlib/malloc.c:187: __free: Assertion `s == r' failed.
>>
>> Damn, I had that bug yesterday with make on EasyMiNT, while I was testing
>> MiKRO's stuff.
>> The makefile was really simple, probably using only "which" and "sed" as
>> external commands...
>> I didn't backuped it and today I can't reproduce the problem :-(
>>
>> Unfortunately this problem seems to appear randomly :-(
>>
> Absolutely true, and even if you rebuild all make dependencies, different
> versions of make itself, it always comes back no matter what during long
> make sessions. There is definitely something to this - but what?
>
> Thanks,
> Mark
>
long sessions, implies unallocation of memory, or memory overruns,
maybe cause by "not quite right" sizes returned by malloc, or an
unallocation size not match the malloc properly, even by 1 or 2
bytes.. which could be a based base number/counter as opposed to a
zero based number/counter
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)?
Paul