From owner-freebsd-java@FreeBSD.ORG Wed Jul 19 01:59:41 2006 Return-Path: X-Original-To: freebsd-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 637EB16A4DA for ; Wed, 19 Jul 2006 01:59:41 +0000 (UTC) (envelope-from kurt@intricatesoftware.com) Received: from mta6.srv.hcvlny.cv.net (mta6.srv.hcvlny.cv.net [167.206.4.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06E3443D45 for ; Wed, 19 Jul 2006 01:59:40 +0000 (GMT) (envelope-from kurt@intricatesoftware.com) Received: from [172.16.1.72] (ool-457a77e8.dyn.optonline.net [69.122.119.232]) by mta6.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J2M00BCWO7F9MA0@mta6.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Tue, 18 Jul 2006 21:59:40 -0400 (EDT) Date: Tue, 18 Jul 2006 21:59:38 -0400 From: Kurt Miller In-reply-to: <200607152340.1335@centrum.cz> To: freebsd-java@freebsd.org Message-id: <200607182159.38840.kurt@intricatesoftware.com> MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_xl5dLgx86EoRz4LNSP5rcA)" Content-disposition: inline References: <200607131456.604@centrum.cz> <200607131340.40067.lists@intricatesoftware.com> <200607131340.40067.lists@intricatesoftware.com> <200607152340.1335@centrum.cz> User-Agent: KMail/1.9.3 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Jan Zach Subject: Re: diablo 1.5 crash 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: Wed, 19 Jul 2006 01:59:41 -0000 --Boundary_(ID_xl5dLgx86EoRz4LNSP5rcA) Content-type: text/plain; charset=iso-8859-2 Content-transfer-encoding: 7BIT Content-disposition: inline On Saturday 15 July 2006 5:40 pm, Jan Zach wrote: > I was experimenting a bit and found the problematic font - > it is x11-fonts/freefonts package Thanks. I was able to reproduce the crash here. I don't know much about fonts, but I've determined that the Old Town font in that package contains an illegal glyph name (50_pct_gray) according to this document: http://partners.adobe.com/public/developer/opentype/index_glyph2.html#4 Still the jvm shouldn't crash on it. A glyph name beginning with underscore is valid, but also not handled with the current jvm code. Perhaps someone who knows more about fonts could add support for underscores. In the meantime, here's a patch for java/jdk15/files to avoid the crash. -Kurt --Boundary_(ID_xl5dLgx86EoRz4LNSP5rcA)--