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<MAXHEAPBLOCKS;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.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help