the UI on OS X. The problem is due to a large variable on the stack, and pthreads have a smaller stack size than the main thread by default. On Linux the pthread stack size seems to be 2MB, OS X 512KB and Windows 256KB - 512KB.
the UI on OS X. The problem is due to a large variable on the stack, and pthreads have a smaller stack size than the main thread by default. On Linux the pthread stack size seems to be 2MB, OS X 512KB and Windows 256KB - 512KB.