From owner-freebsd-java@FreeBSD.ORG Sat Jan 28 14:10:22 2006 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DCA616A422 for ; Sat, 28 Jan 2006 14:10:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9280343D79 for ; Sat, 28 Jan 2006 14:10:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0SEABri005961 for ; Sat, 28 Jan 2006 14:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0SEABEH005955; Sat, 28 Jan 2006 14:10:11 GMT (envelope-from gnats) Resent-Date: Sat, 28 Jan 2006 14:10:11 GMT Resent-Message-Id: <200601281410.k0SEABEH005955@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vaclav Kadlcik Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95C9D16A420 for ; Sat, 28 Jan 2006 14:06:35 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FF5543D5A for ; Sat, 28 Jan 2006 14:06:35 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k0SE6Y0O083441 for ; Sat, 28 Jan 2006 14:06:34 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k0SE6Y2J083440; Sat, 28 Jan 2006 14:06:34 GMT (envelope-from nobody) Message-Id: <200601281406.k0SE6Y2J083440@www.freebsd.org> Date: Sat, 28 Jan 2006 14:06:34 GMT From: Vaclav Kadlcik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: java/92459: jdk-1.4.2p8_2 crashes in libzip.so when starting eclipse 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, 28 Jan 2006 14:10:22 -0000 >Number: 92459 >Category: java >Synopsis: jdk-1.4.2p8_2 crashes in libzip.so when starting eclipse >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 28 14:10:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Vaclav Kadlcik >Release: 6.0-RELEASE-p4 >Organization: >Environment: reeBSD nbvk 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #2: Thu Jan 26 08:45:24 CET 2006 root@nbvk:/usr/obj/usr/src/sys/NBVK i386 >Description: The patchset p8 broke comaptibility with eclipse: java: jdk-1.4.2p8_2, eclipse: eclipse-3.1.1_3 When starting eclipse, it crashes with an error window: "JVM terminated. Exit code=1 /usr/local/bin/java (...edited...)" and an error log file hs_err_pidNNN.log: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x286DCF57 Function=inflate_fast+0x17 Library=/usr/local/jdk1.4.2/jre/lib/i386/libzip.so Current Java thread: at org.eclipse.swt.internal.gtk.OS._pango_context_list_families(Native Method) (...edited...) Dynamic libraries: (...edited...) 0x286cd000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so (...edited...) 0x42d15000 /lib/libz.so.3 (...edited...) # Java VM: Java HotSpot(TM) Client VM (1.4.2-p8-root_28_jan_2006_08_37 mixed mode) I looked at Changelog in bsd-jdk14-patches-8.tar.gz and found: 2005-12-08 Thursday 05:48 glewis (...edited...) "Privatise" the symbols in libzip.so to avoid conflicting with those in the systems libz.so. This conflict broke applications such as Eclipse which is linked with libz.so (via gtk+ I believe). I'm afraid *this* change broke Eclipse... >How-To-Repeat: Build java/jdk14 and java/eclipse from ports and run eclipse. >Fix: Just a workaround: I uninstalled jdk-1.4.2p8_2 and installed jdk-1.4.2p7_2. (I usually run portupgrade with '-b'.) >Release-Note: >Audit-Trail: >Unformatted: