From owner-freebsd-java@FreeBSD.ORG Thu Jan 31 19:01:04 2013 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0FFAE628 for ; Thu, 31 Jan 2013 19:01:04 +0000 (UTC) (envelope-from pphillips@experts-exchange.com) Received: from mail.l3.redsrci.com (mail.pub.l3.redsrci.com [64.156.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id E9E67ADF for ; Thu, 31 Jan 2013 19:01:03 +0000 (UTC) Received: from mail.l3.redsrci.com (localhost [127.0.0.1]) by mail.l3.redsrci.com (Postfix) with ESMTP id 60C946F129B for ; Thu, 31 Jan 2013 11:01:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= experts-exchange.com; h=content-transfer-encoding:content-type :content-type:in-reply-to:references:subject:subject :mime-version:user-agent:from:from:date:date:message-id:received :received; s=ee; t=1359658863; x=1361473263; bh=ahtYufcNnUkuRf4Q RkVbMVZprLjdWTMZjQ3Z2qE5r4o=; b=LHQXPXm75QcBvLgP0svOHNnFjzmfVFP+ /uafh57vgN+P7WuyOv+QUP+H8NyXY5e1rzCeFc5UB25+59hpUNOaIrvPHq++Per+ EYu500qSgFwcc2nfG+4vUIl/24YlThuKs5pE5kE7GB2ybDVq0xmtVH8s9QQrzY/D tvrqYALqdaU= X-Virus-Scanned: amavisd-new at redsrci.com Received: from mail.l3.redsrci.com ([127.0.0.1]) by mail.l3.redsrci.com (mail.l3.redsrci.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oyLTiLwFVQPA for ; Thu, 31 Jan 2013 11:01:03 -0800 (PST) Received: from [192.168.103.98] (fw1.pub.noc.redsrci.com [72.29.164.238]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pphillips) by mail.l3.redsrci.com (Postfix) with ESMTPSA id AF6D86ED34B for ; Thu, 31 Jan 2013 11:01:02 -0800 (PST) Message-ID: <510ABF6E.8050404@experts-exchange.com> Date: Thu, 31 Jan 2013 11:01:02 -0800 From: Phil Phillips User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Re: OpenJDK7: libnet.so getting closed twice References: <5108356B.1060008@experts-exchange.com> In-Reply-To: <5108356B.1060008@experts-exchange.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2013 19:01:04 -0000 It turns out that this bug seems to be release-specific. The double close() behavior is consistent on FreeBSD 7, but I have yet to see it happen on FreeBSD 8. My only hunch is that this has something to do with OpenJDK7 having more of the system calls "restartable" (interrupted system calls getting retried). Maybe there's something not quite right with FreeBSD 7 reporting EINTR - perhaps specifically when there's an open() / close() with no read()? That's all just speculation, though. In any event, this is probably not too big of an issue, considering FreeBSD 7 is approaching end-of-life. -Phil