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]
Other format: [Raw text]

eCos semaphores on ARM-E7T question..


Hi,

I am building an application using threads and the semaphoring infrastructure of eCos.

All works as expected until I extend one of my structs to include an additional array of 16 chars.
This breaks the application, and what seems to happen is that this additional entry makes (at least) one of my semaphores not react anymore. Hence the threads waiting for that semaphore hangs..


Has anyone seen this behavior before? I have inspected my code and found nothing suspicious in the memory allocation routines. Also, doubling the stack sizes of all threads did not help either - same behavior.

Adding more data to another struct (as a test) does not cause the break. Also, so far gcc has always complained when I crossed the memory bounds, so I am not quite sure where to look..

Any help is much applreciated. Many thanks in advance,

Ali

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement



-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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