From owner-freebsd-bugs Fri Feb 9 18:40:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 749EC37B67D for ; Fri, 9 Feb 2001 18:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1A2e2I62792; Fri, 9 Feb 2001 18:40:02 -0800 (PST) (envelope-from gnats) 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 ; 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 X-Send-Pr-Version: 3.2 Subject: kern/24982: stack gap usage Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24982 >Category: kern >Synopsis: stack gap usage >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 09 18:40:01 PST 2001 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message