
12 Sep
2012
12 Sep
'12
5:57 a.m.
I can confirm that using default_stacksize() instead of minimum stack size fixes the problem.
fine ;)
So it would appear that stderr must use the stack for scratch space. So apparently, linux has a min stack size of 8kb which is relatively small!
It's a general problem that boost.context can not predict how much stack space would be required. With automatically growing stack (like GCC's split stacks) the problewm would be gone - unfortunately no standard for such a stack API exists. Oliver