From owner-freebsd-java@FreeBSD.ORG Mon Jan 24 21:30:24 2005 Return-Path: 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 A812916A4CE for ; Mon, 24 Jan 2005 21:30:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69F5C43D39 for ; Mon, 24 Jan 2005 21:30:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j0OLUONU000538 for ; Mon, 24 Jan 2005 21:30:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j0OLUOO0000537; Mon, 24 Jan 2005 21:30:24 GMT (envelope-from gnats) Resent-Date: Mon, 24 Jan 2005 21:30:24 GMT Resent-Message-Id: <200501242130.j0OLUOO0000537@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, me@stefan.haischt.name Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1F9916A4CF for ; Mon, 24 Jan 2005 21:21:19 +0000 (GMT) Received: from mail.terralink.de (mail.tlink.de [217.9.16.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2953843D45 for ; Mon, 24 Jan 2005 21:21:19 +0000 (GMT) (envelope-from me@daniel.stefan.haischt.name) Received: from smtp.abyssworld.de (daniel-s-haischt.biz [84.252.66.2]) by mail.terralink.de (Postfix) with ESMTP id AF9F9BD669 for ; Mon, 24 Jan 2005 22:21:17 +0100 (CET) Received: from abyssone.abyssworld.de (smtp.abyssworld.de [192.168.1.6]) by smtp.abyssworld.de (Postfix) with SMTP id 4D54917C31 for ; Mon, 24 Jan 2005 22:21:16 +0100 (CET) Received: from (smtp.abyssworld.de) [192.168.1.6] by abyssone.abyssworld.de with smtp (geam 0.8.4) for ; Mon, 24 Jan 2005 22:21:16 +0100 Received: from abyssone.abyssworld.de (smtp.abyssworld.de [192.168.1.6]) by smtp.abyssworld.de (Postfix) with ESMTP id B3BCF17880 for ; Mon, 24 Jan 2005 22:21:14 +0100 (CET) Message-Id: <20050124212114.GA79838@abyssone.abyssworld.de> Date: Mon, 24 Jan 2005 22:21:14 +0100 From: "Daniel S. Haischt" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/76631: any port linux-*-jdk12 will core dump if using X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: me@stefan.haischt.name List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2005 21:30:24 -0000 >Number: 76631 >Category: java >Synopsis: any port linux-*-jdk12 will core dump if using linux_base-8 >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 24 21:30:23 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Daniel S. Haischt >Release: FreeBSD 5.3-STABLE i386 >Organization: Daniel S. Haischt IT Consulting >Environment: System: FreeBSD abyssone.abyssworld.de 5.3-STABLE FreeBSD 5.3-STABLE #0: Sun Jan 16 23:38:12 CET 2005 root@:/usr/obj/usr/src/sys/ABYSSONE i386 System: FreeBSD vmware1.abyssworld.de 4.11-STABLE FreeBSD 4.11-STABLE #0: Mon Jan 17 22:06:18 CET 2005 root@:/usr/obj/usr/src/sys/GENERIC i386 Port: linux-sun-jdk-1.2.2.017_2 Port: linux-blackdown-jdk-1.2.2_5 Port: linux_base-8-8.0_4 >Description: If one is running either FreeBSD 5.x or FreeBSD 4.x together with linux_base-8 he won't be able to execute any linux-*-jdk (e.g. linux-sun-jdk-1.2.2.017_2). The reason for this issue is that if one executes for example ... -> /usr/local/linux-sun-jdk1.2.2/bin/java -version he will immediately get a core dump as follows. OUCH: nested memory code, to 1 levels. Abort trap (core dumped) After several investigation cycles I did elaborate that a downgrade to either linux_base-7 or linux_base-6 would solve the issue. Because of the just described issue it is not possible, for example, to compile the native jdk-1.2 for FreeBSD because it depends on linux-jdk1.2. >How-To-Repeat: Install either FreeBSD 4.x or FreeBSD 5.x together with linux_base-8. Additionally you have to install on of the following linux jdks to reproduce the core dump. * linux-sun-jdk-1.2.2.017_2 * linux-blackdown-jdk-1.2.2_5 >Fix: Deinstall linux_base-8 if possible and install linux_base-7 or linux_base-6. >Release-Note: >Audit-Trail: >Unformatted: