[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Coldfire-build



On Mon, 2011-03-14 at 23:39 +0100, OL wrote:

> > There seems to be a stack issue. Almost every time I start a program
> > from the desktop (doesn't matter which), the desktop crashes with a
> > "stack underflow" error message. Helmut, any idea what could be causing
> > this?
> >
> > Jo Even
> >
> Perhaps ISTKSIZE define in proc.h is not enough?

The error is thrown in do_wakeup_things() in proc.c. I don't know the
internals of the kernel at all, but it looks to me like it checks if the
process' supervisor stackpointer is below it's supervisor-stack. I don't
know if increasing the interrupt-stack will help in this case.

Jo Even