Re: User-mode linux stack overflow: could be generic problem

From: Jeremy Fitzhardinge (
Date: Sun Oct 08 2000 - 03:40:12 EST

On Sun, Oct 08, 2000 at 12:35:48AM -0500, Jeff Dike wrote:
> I've been waiting for someone to send me that stack. There aren't any real
> smoking guns there. I'm guessing that the difference between your laptop and
> the machine it works on is that your laptop is running a fairly recent kernel
> (2.4.0-testx) and the other isn't.

Yep, that's right.

> The sigcontext struct greatly increased in
> size (to ~800 bytes IIRC) to accomodate the MMX registers or something. There
> are three signals on your stack, so those frames by themselves are taking up
> half the stack page.
> Anyway, the patch below removes 256 bytes from the set_signals frame. It
> ought to alleviate things a bit. I'll be looking for other things I can do,
> as well. Let me know how it works for you.

I'm afraid this doesn't help. The stack still overflows at the same point.
It looks like each signal frame is ~760 bytes. Even with this patch, the
overflow is 808 bytes (without the patch it's 1232 bytes).

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:10 EST