[AWS] Building AWS with libgnutls

Dennison, Ted Ted.Dennison at flightsafety.com
Mon Jun 2 21:32:01 CEST 2008


Dennison, Ted wrote:
> Ted Dennison writes:
> > common cause of this particular symptom in an Ada program is a task
> > having too small of a stack for the amount of data being declared in
it.
> 
> Interesting.  In your experience, does that cause segfaults during
> elaboration, i.e. while the only task running is the environment task?

My memory is that elaboration is when this problem typically occurs. The
"running" part of your question is a bit of a red-herring. What is at
issue is when the task bodies are elaborated, along with their
stack-based local variables.

Most tasks are created and have their stack variables built during
elaboration. The exception would be task objects (of a defined task
type) that are dynamically allocated. Even those *could* be created
during an elaboration, if the coder allocates them inside a package's
"begin...end" block.


More information about the AWS mailing list