From owner-freebsd-java@FreeBSD.ORG Sat Jul 29 18:53:16 2006 Return-Path: X-Original-To: java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB6E516A4DA for ; Sat, 29 Jul 2006 18:53:16 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EA084401B for ; Sat, 29 Jul 2006 18:49:13 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by wr-out-0506.google.com with SMTP id 37so78424wra for ; Sat, 29 Jul 2006 11:49:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=r7+J9o7x878WJK37lUNcrkJSXsqphsPGK6j3kxtInKlM0MVLccCZsGLJ570BjjjODllVJpRIPrgGW0QrMxXbBHZV1gNzvBEY1cyoAvxHpDD94S9+45IYqCwnWCKI2CZoNOX4AB2xXA1n21m7ak+CMfPwqvKSPg0Wp/qHhsOP9Hs= Received: by 10.64.241.3 with SMTP id o3mr1040564qbh; Sat, 29 Jul 2006 11:49:03 -0700 (PDT) Received: by 10.35.105.10 with HTTP; Sat, 29 Jul 2006 11:49:02 -0700 (PDT) Message-ID: Date: Sat, 29 Jul 2006 22:49:02 +0400 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: java@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: aa4423f3a3fd332e Cc: Subject: linprocfs and linux-sun-{jdk,jre}15 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jul 2006 18:53:17 -0000 If I run 'java' (either directly or through the wrapper) under an unprivileged user with linprocfs mounted it hangs in a CPU hog. Truss shows continuous read(2) calls all with 'Permission denied' errors. If I unmount linprocfs and try again I get this error: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed but everything works great after that. Under root java runs fine with linprocfs and emits the same warning without.