Lennart Augustsson <lennart@augustsson.net> writes:
> I can repeat that. Whatever the cause is (not enough stack with threads?),
> it is certainly a(nother) pthread bug.
When you link in libpthread, the main thread's stack is limited to
256k, due to the way threads are identified at runtime.
- Nathan