From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23852 invoked by alias); 10 Jun 2004 15:49:26 -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 23831 invoked from network); 10 Jun 2004 15:49:26 -0000 Received: from unknown (HELO motgate8.mot.com) (129.188.136.8) by sourceware.org with SMTP; 10 Jun 2004 15:49:26 -0000 Received: from il06exr02.mot.com (il06exr02.mot.com [129.188.137.132]) by motgate8.mot.com (Motorola/Motgate8) with ESMTP id i5AFnx63014546 for ; Thu, 10 Jun 2004 08:49:59 -0700 (MST) Received: from il06exm11.corp.mot.com (il06exm11.corp.mot.com [10.0.111.11]) by il06exr02.mot.com (Motorola/il06exr02) with ESMTP id i5AFmEvq016973 for ; Thu, 10 Jun 2004 10:48:14 -0500 Received: by il06exm11 with Internet Mail Service (5.5.2657.72) id ; Thu, 10 Jun 2004 10:49:24 -0500 Message-ID: <5D454811D0A1D711A12A00065BF36FAD08B9DF30@il06exm11> From: Rycerz Roman-G11565 To: ecos-discuss@sources.redhat.com Date: Thu, 10 Jun 2004 15:49:00 -0000 Subject: RE: [ECOS] Startup problem X-SW-Source: 2004-06/txt/msg00102.txt.bz2 Sorry I keep forgetting to include the environments * What target platform [processor architecture] -> Power PC on a MPC5554 * What tools are you using -> gcc 2.95.3-10, Insight 5.2, ecos config tool 2.11 * What eCos configuration -> I/O subsystem, Serial Device Drivers, eCos Kernel * Is this repeatable or random -> random in the sense that from 1 compile to the next it comes and goes Roman -----Original Message----- From: Gary Thomas [mailto:gary@mlbassoc.com] Sent: Thursday, June 10, 2004 10:33 AM To: Sven Rehfuss Cc: Rycerz Roman-G11565; ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Startup problem On Thu, 2004-06-10 at 09:23, Sven Rehfuss wrote: > Hi, > use a debugger and check the code. If the routines modify stack > variables before decrementing the stack pointer, it maybe is the same > problem I had. If it is the same problem, I can give you the solution. Why not share this solution with us all? After all, that's what this forum is for! > > Regards, > Sven Rehfu? > > > Am Do, den 10.06.2004 schrieb Rycerz Roman-G11565 um 17:08: > > Hi > > > > I have an intermittent problem. When starting up the eCos kernel > > the call to "cyg_hal_invoke_constructors" sometimes fails with a > > segmentation violation. It seems to happening when the destructors > > are being called. in thread.cxx > > > > its in the routine "~cyg_thread_remove_from_list", it seem to be > > working it way back thru a linked list assigning > > prev = prev->list_next when it blows up prev is set to the contents of memory "0", location a null ptr problem. > > > > I know this is a quite vague description, and I may all wrong.. But > > does anyone have any ideas why this is happening ??? You've not told us much about your environment. * What target platform [processor architecture]? * What tools are you using * What eCos configuration * Is this repeatable or random -- Gary Thomas MLB Associates -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss