Keir Fraser wrote: > But you're running a debug build, so you have a 4kB stack. That seems wrong. The debug build enables extra code, so if anything it would need more stack space than the standard build. Simply running the extra code in the same stack space should be enough... Does the attached patch look remotely sane? -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan