v.ondruch / tiscali.cz wrote:
> It fails on x86 as well - #9198

It seems the common problem is the main thread stack has no guard page
(at least not on my GNU/Linux systems).

I propose the following to test inside threads:
http://bogomips.org/ruby.git/patch?id=a2c08435f4346

I was only able to reproduce the problem on a CentOS 6.2 machine,
none of my usual Debian machines had the problem.

I am not sure if the problem with the main stack is fixable,
as mprotect is not portably usable on non-mmap-ed memory.

nobu: thoughts?