From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1138 invoked by alias); 6 May 2005 19:31:05 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 700 invoked from network); 6 May 2005 19:30:55 -0000 Received: from unknown (HELO hotmail.com) (64.4.43.59) by sourceware.org with SMTP; 6 May 2005 19:30:55 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 6 May 2005 12:31:12 -0700 Message-ID: Received: from 84.56.159.152 by by17fd.bay17.hotmail.msn.com with HTTP; Fri, 06 May 2005 19:31:12 GMT X-Originating-Email: [replay688@hotmail.com] X-Sender: replay688@hotmail.com From: "Ali Sina" To: ecos-discuss@ecos.sourceware.org Bcc: Date: Fri, 06 May 2005 20:04:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 06 May 2005 19:31:12.0721 (UTC) FILETIME=[29938410:01C55272] Subject: [ECOS] eCos semaphores on ARM-E7T question.. X-SW-Source: 2005-05/txt/msg00090.txt.bz2 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