On Wed, 2015-03-25 at 19:45 +0000, Richard W.M. Jones wrote:
> On Wed, Mar 25, 2015 at 06:30:25PM +0000, David Woodhouse wrote:
> > If the compiler is single-threaded, and increasing the stack ulimit 
> > fixes the problem, that implies that the default stack ulimit is less 
> > than the 8MiB-64KiB that it takes to reach the guard page...
> 
> Just so I'm clear, is the stack supposed to grow down automatically
> (ie. does the stack automatically use MAP_GROWSDOWN), or is OCaml
> supposed to do something when the stack hits the guard page?
> 
> I guess it's also possible that an OCaml stack frame is so big that it
> skips the guard page, or that GCC does some kind of stack "filling" to
> trigger the guard page which OCaml does not do.

This is easy to trigger, right? Can you catch it in gdb and 't a a bt'


-- 
dwmw2

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to