Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Aug 1999 12:59:41 +0200
From:      Sascha Blank <blank@uni-trier.de>
To:        freebsd-java@freebsd.org
Subject:   jdk1.1.8 stopped working under 3.2-STABLE
Message-ID:  <19990822125941.A7397@blank.uni-trier.de>

next in thread | raw e-mail | index | archive | help
Hello,

today I have CVSupped the latest 3.2-STABLE version and did a make world
then; everything went fine as expected.

But when I started working with the latest JDK1.1.8/ELF port (dated July
19th) I noticed that every attempt to start "java" or "javac" results in
a core dump right after the start.  I have used exactly the same port
successfully about a month ago (with a recent 3.2-STABLE version at that
time), and my environment hasn't changed very much since then.

Maybe the following backtrace will help the porting team to find out
what is going on.

blank in ~> java_g -version
zsh: 1713 segmentation fault (core dumped)  java_g -version
blank in ~> gdb /usr/local/jdk1.1.8/bin/i386/green_threads/java_g java_g.core 
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
Core was generated by `java_g'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from
/usr/local/jdk1.1.8/lib/i386/green_threads/libjava_g.so...  done.
Reading symbols from /usr/lib/libxpg4.so.2...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/lib/libc.so.3...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x280c7ece in GetDefaultClassPath ()
    at ../../../../src/freebsd/java/javai/javai.c:806
806     ../../../../src/freebsd/java/javai/javai.c: No such file or directory.
(gdb) bt
#0  0x280c7ece in GetDefaultClassPath ()
    at ../../../../src/freebsd/java/javai/javai.c:806
#1  0x280c7f8c in sysGetDefaultJavaVMInitArgs (args_=0xbfbfd474)
    at ../../../../src/freebsd/java/javai/javai.c:825
#2  0x280b0b08 in JNI_GetDefaultJavaVMInitArgs (args_=0xbfbfd474)
    at ../../../../src/share/java/runtime/jni.c:3881
#3  0x280c5908 in java_main (argc=5, argv=0xbfbfd52c)
    at ../../../../src/freebsd/java/javai/javai.c:284
#4  0x8048434 in main (argc=5, argv=0xbfbfd52c, envp=0xbfbfd544)
    at ../../../../src/freebsd/java/javai/java.c:23
#5  0x80483b9 in _start ()
(gdb) quit

Because the crash has obviously something to do with the ClassPath I
tried to set the environment variable "CLASSPATH" to some reasonable
values (I don't have it set by default), but that didn't change
anything.

-- 
             Sascha Blank            | FreeBSD -
   Student and System Administrator  |     that's where you want to go today!
 at the University of Trier, Germany | 
    mailto:blank@fox.uni-trier.de    | See http://www.freebsd.org for details


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990822125941.A7397>