Stack full or something else?

Daron Chabot daron.chabot at
Fri Nov 12 18:43:09 UTC 2010

On Fri, Nov 12, 2010 at 11:50 AM, João Rasta <freakforever at> wrote:

> Hi,
> I have an RTEMS POSIX API application which comes to a point that if a
> small function (with some doubles passed as arguments) is called, the
> application exits with an error. At first i thought of increasing the stack
> space. I did this with CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE but the
> problem remains even if i remove all the contents of the function.
> 1) Am i setting up the stack size correctly? I think i am, but i ask just
> in case..
> 2) Is there any other explanation to why a function call crashes the
> application besides having a full stack? Again, i erased the function
> contents..

What architecture is this running on ?

What is the application exit error (message and/or return code)?

It looks like all POSIX threads are created as floating-point tasks (FP
state saved across context switches), so there "shouldn't" be a problem on
that aspect...

> Best,
> JM
> _______________________________________________
> rtems-users mailing list
> rtems-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list