|
Re: Malloc problem: msg#00110lib.uclibc.general
Doriguzzi Roberto <doriguzzi@xxxxxxxxxxxx> writes: > I wrote a simple piece of code like this: ... > If I compile it with the glibc library it works for an infinite period > of time. If I compile it with the uclibc library it works until the > memory (about 7 MB on my embedded system) finishes. Always I get the > message "Terminated". I checked the memory while the program was > running so now I can say that it's a malloc problem. I tried it just now, and it seems to work fine -- it continually maps and unmaps the same block of memory, with no net growth. > I'm using the latest uclibc (0.9.15) with the 2.4.18 kernel. The > processor is an ARM 720T running at 73 Mhz. _Not_ uClinux, right? I.e., your processor has a MMU, doesn't it? What version (or date you got it from CVS) of uClibc are you using? Can you run `strace' on the process (you'd better get rid of the call to `write' first, so the strace log doesn't fill up with calls to write)? -Miles -- Would you like fries with that? |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Awk poetry ;) [was: awk replacement for initfini.pl]: 00110, Miles Bader |
|---|---|
| Next by Date: | uclibc and kdevelop: 00110, D M |
| Previous by Thread: | Re: Malloc problemi: 00110, Doriguzzi Roberto |
| Next by Thread: | uclibc and kdevelop: 00110, D M |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |