From owner-freebsd-hackers Mon Jan 17 16:55:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id BD71F15018 for ; Mon, 17 Jan 2000 16:55:31 -0800 (PST) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id TAA17507; Mon, 17 Jan 2000 19:55:24 -0500 (EST) Date: Mon, 17 Jan 2000 19:55:24 -0500 (EST) From: Daniel Eischen Message-Id: <200001180055.TAA17507@pcnet1.pcnet.com> To: hackers@FreeBSD.ORG, ian@bulinfo.net Subject: Re: The stack size for a process? Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi, > > after making world of a CURRENT cvsupped yesterday, one of my > applications stopped working because of a Segmentation fault. > > The C procedure where the problem pops has about 64k local variables. > here's the assembly output of the procedure's beginning: > > 0x805bb60 : pushl %ebp > 0x805bb61 : movl %esp,%ebp > 0x805bb63 : subl $0x1000c,%esp > 0x805bb69 : pushl %edi > > > The Segmentation fault happens when the process tries to push %edi in > the stack, which has been just decreased by 0x1000c. Are you using threads? Dan Eischen eischen@vigrid.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message