Re: [x86] Access off the bottom of stack causes a segfault?

From: Eric W. Biederman
Date: Thu Oct 16 2003 - 19:25:48 EST


Chris Lattner <sabre@xxxxxxxxxx> writes:

> My compiler is generating accesses off the bottom of the stack (address
> below %esp). Is there some funny kernel interaction that I should be
> aware of with this? I'm periodically getting segfaults.

Beyond the signal thing. You are using a demand grown vma for the
stack, and using it past where it has grown. If you grow the vma
deliberately you can use more of it. But using more area than
you have allocated for the stack is most certainly a bug.


Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/