From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gilles Chanteperdrix MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17662.51277.92702.704397@domain.hid> Date: Wed, 6 Sep 2006 15:08:29 +0200 Subject: Re: AW: [Xenomai-help] resubmission : memset of heap crashes Xenomai-Task In-Reply-To: <17662.51060.327530.534889@domain.hid> References: <5D63919D95F87E4D9D34FF7748CE2C2A4E9CDD@ARVMAIL1.mra.roland-man.biz> <17662.49530.72472.462058@domain.hid> <44FEC63E.3070009@domain.hid> <17662.51060.327530.534889@domain.hid> List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wolfgang Grandegger , Roderik_Wildenburg@domain.hid, xenomai@xenomai.org Gilles Chanteperdrix wrote: > Wolfgang Grandegger wrote: > > > > I was able to reproduce the problem on my MPC5200 system some time ago > > and I have checked the index "i" as well. "i" was not out-of-range, > > IIRC. The problem only shows up on PowerPC., at least Jan was unable > > to reproduce it on a x86 system. How could we debug the seg fault. Do > > you have a good idea? Would the IPIPE tracer help? > > I do not see how i could not be out of range. After a > for(i=0;i loop, i is guaranteed to be MAXHEAPBLOCKS, which is one step beyond the > array index limit. But there is a break in the for loop. Ok. Got it. -- Gilles Chanteperdrix.