Bug 24982

Summary: stack gap usage
Product: Base System Reporter: Atsuo Ohki <ohki>
Component: kernAssignee: Remko Lodder <remko>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-RELEASE   
Hardware: Any   
OS: Any   

Description Atsuo Ohki 2001-02-10 02:40:01 UTC
	rfork() system call with RFMEM flag set causes
	two or more processes to share the same phisycal space.
	This means if those processes would require stack gap
	space at the same time, the contents of stack gap space would
	be messed up.  Processes under Liux-emulation encounter this
	problem (especially on dual CPU machines).

Fix: 

access to stack gap space must be controlled among
	processes which share the same phisycal space or
	stack gap space should not be shared.
How-To-Repeat: 
	just try to run JDK1.3 demo programs on mixed mode java.
	demo programs drop into infinite loop at different point
	of each run.
Comment 1 iedowse freebsd_committer freebsd_triage 2002-09-17 08:53:54 UTC
Responsible Changed
From-To: freebsd-bugs->iedowse


I've been working on this in -current.
Comment 2 iedowse freebsd_committer freebsd_triage 2005-02-06 16:58:07 UTC
Responsible Changed
From-To: iedowse->freebsd-bugs


Return this one to the pool as other people have made a lot of 
progress recently on avoiding the use of the stackgap.
Comment 3 Remko Lodder freebsd_committer freebsd_triage 2006-12-30 15:58:33 UTC
State Changed
From-To: open->feedback

hello is this problem still relevant? 


Comment 4 Remko Lodder freebsd_committer freebsd_triage 2006-12-30 15:58:33 UTC
Responsible Changed
From-To: freebsd-bugs->remko

grab the pr
Comment 5 Remko Lodder freebsd_committer freebsd_triage 2007-01-05 06:59:19 UTC
State Changed
From-To: feedback->closed

The submitter notifies us that this problem is resolved. Close the PR 
accordingly. If this was in error, please notify me and We will see how 
we can resolve this.