This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Doug Lea's malloc implementation?
- From: "Nikolay V. Pyatkov" <npyatkov at usa dot net>
- To: ecos-discuss at sources dot redhat dot com
- Date: Sat, 10 Aug 2002 01:28:45 -0400
- Subject: [ECOS] Doug Lea's malloc implementation?
Hi
I was debugging GoAhead web server on linux synthetic target. It was crashing
in the middle of the first page transfer. I traced the problem to free() in
the "Doug Lea's malloc implementation". The values to the free looks fine. At
the top of the stack was allocation of 4 bytes and free of the same 4 bytes.
I could not get any useful information from the dbg. I removed -O2. The same
result.
But after selecting "Simple variable block implementation" instead of " Doug
Lea's malloc implementation" and recompiling the kernel everything works just
fine.
Did anyone see any problems with this package or it is just my setup?
Nikolay
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss