From owner-freebsd-ports Fri Apr 25 05:20:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA11146 for ports-outgoing; Fri, 25 Apr 1997 05:20:08 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA11107; Fri, 25 Apr 1997 05:20:03 -0700 (PDT) Resent-Date: Fri, 25 Apr 1997 05:20:03 -0700 (PDT) Resent-Message-Id: <199704251220.FAA11107@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-ports Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, joa@kuebart.stuttgart.netsurf.de Received: from jocki.domestic (kuebart.stuttgart.netsurf.de [194.233.216.182]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA11019 for ; Fri, 25 Apr 1997 05:18:40 -0700 (PDT) Received: (from joki@localhost) by jocki.domestic (8.8.5/8.8.5) id OAA00424; Fri, 25 Apr 1997 14:09:15 +0200 (MET DST) Message-Id: <199704251209.OAA00424@jocki.domestic> Date: Fri, 25 Apr 1997 14:09:15 +0200 (MET DST) From: joa@kuebart.stuttgart.netsurf.de Reply-To: joa@kuebart.stuttgart.netsurf.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/3383: Problem with kaffe core dump Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 3383 >Category: ports >Synopsis: kaffe core dumps if LD_LIBRARY_PATH not set >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 25 05:20:00 PDT 1997 >Last-Modified: >Originator: Joachim Kuebart >Organization: >Release: FreeBSD 2.2-RELEASE i386 >Environment: LD_LIBRARY_PATH not set! CLASSPATH=.:/usr/local/share/java/classes.zip:/usr/local/share/kaffe/biss.zip KAFFEHOME=/usr/lcoal/share/kaffe The problem also occurs when one or both of CLASSPATH and KAFFEHOME are NOT set. >Description: When LD_LIBARARY_PATH is not set to include /usr/lcoal/lib, kaffe(1) generates a bus error and gets its core dumped. The manpage says LD_LIBRARY_PATH only needs to be set when ld.so(1)'s default library path doesn't include /usr/local/lib. However, the error also occurs when this path was set using ldconfig(8) to belong to ld.so's default search path. >How-To-Repeat: Get a test.class file with a valid java bytecode (e.g. generated by guavac or kaffe sun.tools.javac.Main) Call kaffe test This generates Bus error (core dumped) >Fix: Include the ENVIRONMENT script that comes along with kaffe anywhere in the startup scripts and correct the manpage. >Audit-Trail: >Unformatted: