Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2001 21:06:38 +0200
From:      Magnus Nylen <magnus.nylen@home.se>
To:        freebsd-java@freebsd.org
Subject:   Patchlevel 4 for the JDK 1.3.1 (potential bug found)
Message-ID:  <20010914190705.A129137B40F@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
Hi FreeBSD Java Community,

for fun I tried the native JDK 1.3.1 port for FreeBSD with the latest 
patchset (4). I wanted to run NetBeans 3.2.1 which I downloaded from 
http://www.netbeans.org to see if I could use the IDE on my FreeBSD box.

'uname -a' gives:
FreeBSD gw.home.bogus 4.4-RC FreeBSD 4.4-RC #6: Sun Sep  9 17:25:43 CEST 2001 
    root@gw.home.bogus:/usr/obj/usr/src/sys/FIREWALL  i386

After installing NetBeans and building some JSP pages. I tried to run the 
code I had written inside NetBeans (which seems to start tomcat).

(After advise I was using 'java_g' before I used 'java' but then NetBeans 
seems to crash almost immediately.)


Here is the oucome:
----------------------------
bash-2.05$ gdb -e /usr/local/jdk1.3.1/bin/i386/green_threads/java_g -c 
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 6, Abort trap.
Reading symbols from 
/usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi_g.so...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from 
/usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm_g.so...done.
Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libverify_g.so...done.
Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libjava_g.so...done.
Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libzip_g.so...done.
Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libawt_g.so...done.
Reading symbols from 
/usr/local/jdk1.3.1/jre/lib/i386/libmlib_image_g.so...done.
Reading symbols from /usr/X11R6/lib/libXm.so.2...done.
Reading symbols from /usr/X11R6/lib/libXp.so.6...done.
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libXtst.so.6...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Reading symbols from /usr/X11R6/lib/libXThrStub.so.6...done.
Reading symbols from 
/usr/local/jdk1.3.1/jre/lib/i386/libfontmanager_g.so...done.
Reading symbols from /usr/lib/libstdc++.so.3...done.
Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libnet_g.so...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x280bc764 in kill () from /usr/lib/libc.so.4
(gdb) backtrace
#0  0x280bc764 in kill () from /usr/lib/libc.so.4
#1  0x280f87e5 in abort () from /usr/lib/libc.so.4
#2  0x281766e1 in Abort () at 
../../../src/share/javavm/runtime/interpreter.c:1449
#3  0x281b3ef1 in panic (format=0x281be940 "\"%s\", line %d: assertion 
failure\n") at ../../../src/share/javavm/runtime/util.c:126
#4  0x281635b5 in PrepareInterfaces (cb=0x294751b8) at 
../../../src/share/javavm/runtime/classresolver.c:1385
#5  0x28164394 in PrepareClass (cb=0x294751b8) at 
../../../src/share/javavm/runtime/classresolver.c:1833
#6  0x281638bc in LinkClass (cb=0x294751b8) at 
../../../src/share/javavm/runtime/classresolver.c:1489
#7  0x28163799 in LinkClass (cb=0x29475200) at 
../../../src/share/javavm/runtime/classresolver.c:1448
#8  0x28167254 in InitClass (cb=0x29475200) at 
../../../src/share/javavm/runtime/classruntime.c:1065
#9  0x281837db in ExecuteJava_C (initial_pc=0x31f86ee8 
"Ö\r\001±$D\020(ür\a(\237C\034(", ee=0x9b33204)
    at ../../../src/share/javavm/runtime/executeJava.c:1655
#10 0x28174ab2 in do_execute_java_method_vararg (ee=0x9b33204, 
obj=0x2942a7f0, method_name=0x8053ba8 "run", 
    method_signature=0x80532c8 "()V", mb=0x0, isStaticCall=FALSE, 
    args=0x31f86f70 
"\2002³\t\0042³\t\230oø1\237)\e(ä)\e(\0042³\t¸oø1D*\e(ð§B)\0042³\t¸oø15*\e(ä)\e(èoø1\210Ö\n(\003", 
otherBits=0x0, 
    shortFloats=FALSE) at ../../../src/share/javavm/runtime/interpreter.c:573
#11 0x281742b4 in execute_java_dynamic_method (ee=0x9b33204, obj=0x2942a7f0, 
method_name=0x281c3f60 "run", signature=0x281c439e "()V")
    at ../../../src/share/javavm/runtime/interpreter.c:288
#12 0x2819fcb4 in ThreadRT0 (p=0x2942a7f0) at 
../../../src/share/javavm/runtime/jvm.c:2101
#13 0x281b2a44 in saveStackBase (args=0x2819fc60) at 
../../../src/share/javavm/runtime/threads.c:139
#14 0x2807a4d1 in start_func (func=0x281b29e4 <saveStackBase>, 
args=0x307df7a0)
    at ../../../../src/solaris/hpi/green_threads/src/threads_md.c:351
#15 0x0 in ?? ()
(gdb) quit


Regards,
Magnus

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?20010914190705.A129137B40F>