Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2000 19:55:24 -0500 (EST)
From:      Daniel Eischen <eischen@vigrid.com>
To:        hackers@FreeBSD.ORG, ian@bulinfo.net
Subject:   Re: The stack size for a process?
Message-ID:  <200001180055.TAA17507@pcnet1.pcnet.com>

next in thread | raw e-mail | index | archive | help
> 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 <transaction_read_objects>:   pushl  %ebp
> 0x805bb61 <transaction_read_objects+1>: movl   %esp,%ebp
> 0x805bb63 <transaction_read_objects+3>: subl   $0x1000c,%esp
> 0x805bb69 <transaction_read_objects+9>: 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001180055.TAA17507>