From owner-freebsd-java@FreeBSD.ORG Mon Aug 1 07:29:53 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D3A7106566C for ; Mon, 1 Aug 2011 07:29:53 +0000 (UTC) (envelope-from kjkoster@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id F16A78FC14 for ; Mon, 1 Aug 2011 07:29:52 +0000 (UTC) Received: by ewy1 with SMTP id 1so3800826ewy.13 for ; Mon, 01 Aug 2011 00:29:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=fjEuIlnbyyaRwqvwJ39xIyRvAzPUC+/slSE4YtyEvqM=; b=BM02yn0JkXgsCgeORhhokDLwFQnk8A8H0MnfsYly/K9ACFHdpryBOzdA/FP/+wfi0h jYpTTbPJV8bn1HoEwibxwkaj4QoJjZdLHujf5ec3HF7f5mitPOhTKqPlXWfLYQlluCtX W+951+tfWaEOpJs4bHTL/wfUzAa9pR935u3+4= Received: by 10.213.98.209 with SMTP id r17mr712189ebn.110.1312183791830; Mon, 01 Aug 2011 00:29:51 -0700 (PDT) Received: from [10.0.135.79] (csp4.waag.org [195.169.148.4]) by mx.google.com with ESMTPS id r5sm987316eef.36.2011.08.01.00.29.50 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 01 Aug 2011 00:29:50 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=iso-8859-1 From: Kees Jan Koster In-Reply-To: <4E327120.60606@gmail.com> Date: Mon, 1 Aug 2011 09:29:49 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <3A511F0F-34D2-4652-8552-C844343D8C6F@gmail.com> References: <66A45AAC-2406-4D61-ADE9-EA860B5B2740@gmail.com> <4E31891E.40709@gmail.com> <598EAC72-7D58-4D96-BC9E-6CFB5EEDE4AB@gmail.com> <4E327120.60606@gmail.com> To: Tiernan Messmer X-Mailer: Apple Mail (2.1244.3) Cc: pieter@degoeje.nl, freebsd-java@freebsd.org Subject: Re: Java Segfault with 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: Mon, 01 Aug 2011 07:29:53 -0000 Dear Tiernan, >> Thank you for the suggested fix. Other than running Minecraft, do you = have any way to reproduce this? >=20 > I've only encountered it running Minecraft, but I'm pretty sure that = anything heavily using libz in a similar fashion (Java or otherwise) = would trigger it because (see below) Or encode PNGs, as my code does. :) >> Also, can you please dig a little to find where you found this? I'd = like to file a bug report for this. If you can't there is no man = overboard, but I like to be thorough. >=20 > After a quick Google I found the source of the patch - = http://www.freebsd.org/cgi/query-pr.cgi?pr=3D154073&cat=3D = - Although = the fix was actually for the same bug in perl, not Java, hence my = comment above. >=20 > By the looks of it that patch has been MFC'd to 8-STABLE as of the = 21st of July. Thank you for looking this up for me. I installed an 8-STABLE with the fix last night. Interestingly, this = also resolves a problem where I would see excessive CPU usage on the PNG = encoding process. Likely the segfault is related to high CPU usage. I cannot say for sure that this is the case, though. I did a full world = install. -- Kees Jan http://java-monitor.com/ kjkoster@kjkoster.org +31651838192 Human beings make life so interesting. Do you know that in a universe so = full of wonders, they have managed to invent boredom. Quite astonishing... -- Terry = Pratchett