From ohki@smr00.gssm.otsuka.tsukuba.ac.jp  Fri Feb  9 18:31:42 2001
Return-Path: <ohki@smr00.gssm.otsuka.tsukuba.ac.jp>
Received: from gssm.otsuka.tsukuba.ac.jp (utogwgw.gssm.otsuka.tsukuba.ac.jp [130.158.176.189])
	by hub.freebsd.org (Postfix) with SMTP id 82D9837B698
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  9 Feb 2001 18:31:41 -0800 (PST)
Received: (qmail 99502 invoked from network); 10 Feb 2001 02:31:40 -0000
Received: from OneOfLocalMachines (HELO smr00.gssm.otsuka.tsukuba.ac.jp) (10.2.1.1)
  by utogw.gssm.otsuka.tsukuba.ac.jp with SMTP; 10 Feb 2001 02:31:40 -0000
Received: (from ohki@localhost)
	by smr00.gssm.otsuka.tsukuba.ac.jp (8.9.3/8.9.3) id LAA39311;
	Sat, 10 Feb 2001 11:31:40 +0900 (JST)
	(envelope-from ohki)
Message-Id: <200102100231.LAA39311@smr00.gssm.otsuka.tsukuba.ac.jp>
Date: Sat, 10 Feb 2001 11:31:40 +0900 (JST)
From: ohki@gssm.otsuka.tsukuba.ac.jp
Reply-To: ohki@gssm.otsuka.tsukuba.ac.jp
To: FreeBSD-gnats-submit@freebsd.org
Subject: stack gap usage
X-Send-Pr-Version: 3.2

>Number:         24982
>Category:       kern
>Synopsis:       stack gap usage
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 09 18:40:01 PST 2001
>Closed-Date:    Fri Jan 05 06:59:23 GMT 2007
>Last-Modified:  Fri Jan 05 06:59:23 GMT 2007
>Originator:     Atsuo Ohki
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
GSSM, University of Tsukuba, Tokyo, Japan
>Environment:

	any system which have rfork() system call and RFMEM flag.

>Description:

	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).

>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.

>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.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->iedowse 
Responsible-Changed-By: iedowse 
Responsible-Changed-When: Tue Sep 17 00:53:54 PDT 2002 
Responsible-Changed-Why:  

I've been working on this in -current. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24982 
Responsible-Changed-From-To: iedowse->freebsd-bugs 
Responsible-Changed-By: iedowse 
Responsible-Changed-When: Sun Feb 6 16:58:07 GMT 2005 
Responsible-Changed-Why:  

Return this one to the pool as other people have made a lot of 
progress recently on avoiding the use of the stackgap. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24982 
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Sat Dec 30 15:58:33 UTC 2006 
State-Changed-Why:  
hello is this problem still relevant? 


Responsible-Changed-From-To: freebsd-bugs->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Sat Dec 30 15:58:33 UTC 2006 
Responsible-Changed-Why:  
grab the pr 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24982 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Fri Jan 5 06:59:19 UTC 2007 
State-Changed-Why:  
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. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24982 
>Unformatted:
