lkml.org 
[lkml]   [2000]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: User-mode linux stack overflow: could be generic problem
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).

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

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.055 / U:3.616 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site