From owner-freebsd-java@FreeBSD.ORG Tue Mar 25 11:35:39 2014 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 550EFCB8 for ; Tue, 25 Mar 2014 11:35:39 +0000 (UTC) Received: from gulbra.net (ec2-174-129-193-206.compute-1.amazonaws.com [174.129.193.206]) by mx1.freebsd.org (Postfix) with ESMTP id 2BDFCDFF for ; Tue, 25 Mar 2014 11:35:39 +0000 (UTC) Received: from domU-12-31-39-14-60-7A.compute-1.internal (localhost [127.0.0.1]) by gulbra.net (Postfix) with ESMTP id B491C7F7 for ; Tue, 25 Mar 2014 11:35:01 +0000 (UTC) Received: by gulbra.net (Postfix, from userid 33) id 582127F3; Tue, 25 Mar 2014 11:35:01 +0000 (UTC) To: Konstantin Belousov Subject: Re: kern/187238: =?UTF-8?Q?vm=2Epmap=2Epcid=5Fenabled=3D=22=31=22?= =?UTF-8?Q?=20causes=20Java=20to=20coredump=20in=20FBSD=20=31=30?= X-PHP-Originating-Script: 0:rcmail.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 25 Mar 2014 12:35:01 +0100 From: Henrik Gulbrandsen In-Reply-To: <20140324191138.GZ21331@kib.kiev.ua> References: <831cb7b9f4719265e66a26edcf6c0859@www.gulbra.net> <20140324191138.GZ21331@kib.kiev.ua> Message-ID: <4fef2a9d6875efd153ec11294c0cded6@www.gulbra.net> X-Sender: henrik@gulbra.net User-Agent: Roundcube Webmail/0.9.0 Cc: Craig Rodrigues , Alan Cox , pho@freebsd.org, bug-followup@freebsd.org, freebsd-java@freebsd.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2014 11:35:39 -0000 On 2014-03-24 20:11, Konstantin Belousov wrote: > Yes, I think that the analysis and the patch (for stable/10) is > correct. > Thank you for tracking this down. I'm glad to hear that. I was a bit worried when I encountered a very similar crash in another Java port yesterday, but that was independent of the vm.pmap.pcid_enabled tunable and turned out to be a simple ABI version mismatch. > Show me the first lines of the verbose dmesg for your machine. I'm sorry - was this a request for me or Craig? I'm not quite sure what information you're looking for. > Below is the cumulative patch for HEAD. If somebody can test this > with jdk build on HEAD, it would be useful. > For testing, the tunable vm.pmap.pcid_enabled must be set to 1 > from the loader prompt. I'd be happy to test, but at the moment I'm stuck doing some real work on my only suitable machine, so it will have to wait. If anyone else wants to do it - feel free to contribute! :-) /Henrik