[AWS] AWS segfault bug?

Ted Dennison dennison at ssd.fsi.com
Fri Aug 20 21:00:36 CEST 2004


Ian Broster wrote:

>
> FYI, the segfault was a stack overflow, as Ted Dennison suggested,
> only triggered when needing more stacks because of
> tasking. We have removed a large buffer from the
> stack in our code.

I believe you can also increase the task's stack size in several ways. 
I'm a little sick today, so I won't trust my memory, but I think there's 
2 pragmas that do it (one of them obsolescent), and most compilers have 
a way to change the default stack size as well.

If you thought of this already, I'm sorry. But I didn't want the idea 
getting out that you *have* to move large objects out of tasks.

-- 
T.E.D.   Work     -  mailto:dennison at ssd.fsi.com
         Home     -  mailto:dennison at telepath.com (Yahoo: Ted_Dennison)
         Homepage -  http://www.telepath.com/~dennison/Ted/TED.html
--
Documentation is worth it just to be able to answer all your mail with 'RTFM'
  -- Alan Cox



More information about the AWS mailing list