Re: stack segment size change?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 22 Dec 1998 13:26:19 +0000 (GMT)


> Has the maximum (without ulimit) size of the user stack segment
> changed between 2.0 and 2.1? I have a bizarre userland bug that
> appears to be stack overflow, and it only manifests when 2.0 kernels
> are in use.

Are you using sys5 shared memory. If so that would probably explain it.
When the shm stuff was cleaned up the structure exposed to user space
shrank and libc5 uses it. This made some libc5 apps built versus 2.1.13x
crash on 2.0 (eg apache). Ive sent Linus the patches to put the extra
padding in the structure for libc5 users and its fixed in the 131ac code

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