This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

malloc


Quick question: Does anyone here (using 1.3.1) have problems using malloc?

I'm using the Cirrus 7212 and malloc seems to be very random in behavior - 
sometimes it will succeed on a few allocations and then fail on one more. 
Then, it will succeed on some (larger!) allocations in the same session.

I'm asking this because I want to know if I have some deeper underlying 
problem; broken heap management is not a killer for me because I prefer to 
avoid dynamic allocation in embedded apps.
=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

"Und setzet ihr nicht das Leben ein,
Nie wird euch das Leben gewonnen sein."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]