Date: Fri, 25 Apr 1997 14:09:15 +0200 (MET DST) From: joa@kuebart.stuttgart.netsurf.de To: FreeBSD-gnats-submit@freebsd.org Subject: ports/3383: Problem with kaffe core dump Message-ID: <199704251209.OAA00424@jocki.domestic> Resent-Message-ID: <199704251220.FAA11107@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704251209.OAA00424>