Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2001 00:01:12 +0900
From:      Munehiro Matsuda <haro@h4.dion.ne.jp>
To:        glewis@eyesbeyond.com
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: java dumps core with orion server on 5-current
Message-ID:  <20011128000112D.haro@h4.dion.ne.jp>
In-Reply-To: <20011127161429.B17727@misty.eyesbeyond.com>
References:  <20011122010342F.haro@h4.dion.ne.jp> <20011127161429.B17727@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Greg,

From: Greg Lewis <glewis@eyesbeyond.com>
Date: Tue, 27 Nov 2001 16:14:29 +1030
::On Thu, Nov 22, 2001 at 01:03:42AM +0900, Munehiro Matsuda wrote:
::> I'm new to java on FreeBSD, and just tried out jdk13 and orion port to see 
::> how things are coming along.
::> Unfortunately, java dumps core on start up on orion.
::> This is a 5-current system, so there may some unknown issues with it. :-(
::
::Indeed.  5-current is unsupported essentially.  That said, if its something
::which can be fixed easily its worth pursuing.
<snip>
::This is handy, but it would be better if you can reproduce the crash with
::java_g.
::
::> I would like to know, how to setup debuging version of JDK, so I can
::> help debug things around.
::
::Use java_g rather than just java.  That will get a more detailed trace.

Thanks for the info.
I was able to get core dump with java_g, also. Here's the trace.

# cd /usr/local
# gdb jdk1.3.1/bin/i386/green_threads/java_g orion1.4.5/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.5...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/libexec/ld-elf.so.1...done.
#0  0x280c0f34 in kill () from /usr/lib/libc.so.5
(gdb) where
#0  0x280c0f34 in kill () from /usr/lib/libc.so.5
#1  0x281124f7 in abort () from /usr/lib/libc.so.5
#2  0x28193779 in Abort ()
    at ../../../src/share/javavm/runtime/interpreter.c:1449
#3  0x281d11de in panic (
    format=0x281dbc00 "\"%s\", line %d: assertion failure\n")
    at ../../../src/share/javavm/runtime/util.c:126
#4  0x281805dd in PrepareInterfaces (cb=0x28ef6660)
    at ../../../src/share/javavm/runtime/classresolver.c:1385
#5  0x281813bc in PrepareClass (cb=0x28ef6660)
    at ../../../src/share/javavm/runtime/classresolver.c:1833
#6  0x281808e4 in LinkClass (cb=0x28ef6660)
    at ../../../src/share/javavm/runtime/classresolver.c:1489
#7  0x281807c1 in LinkClass (cb=0x28ef7010)
    at ../../../src/share/javavm/runtime/classresolver.c:1448
#8  0x281807c1 in LinkClass (cb=0x28ec3100)
    at ../../../src/share/javavm/runtime/classresolver.c:1448
#9  0x2818428c in InitClass (cb=0x28ec3100)
    at ../../../src/share/javavm/runtime/classruntime.c:1065
#10 0x281a0a33 in ExecuteJava_C (initial_pc=0x2d871ee8 "$BV\(Br\001$B1"(B, 
    ee=0x823b004) at ../../../src/share/javavm/runtime/executeJava.c:1655
#11 0x28191b42 in do_execute_java_method_vararg (ee=0x823b004, obj=0x28edd220, 
    method_name=0x8053b48 "run", method_signature=0x8053268 "()V", mb=0x0, 
    isStaticCall=FALSE, 
    args=0x2d871f70 "\200$B0#(B\b\004$B0#(B\b\230\037\207-\203$B|\(B034($BH|(B\034(\004$B0#(B\b$B8\(B037\207-($B}\(B034( $BRm(B(\004$B0#(B\b$B8\(B037\207-\031$B}\(B034($BH|(B\034($Bh\(B037\207-$BXQ(B\013(\003", 
    otherBits=0x0, shortFloats=FALSE)
    at ../../../src/share/javavm/runtime/interpreter.c:573
#12 0x28191340 in execute_java_dynamic_method (ee=0x823b004, obj=0x28edd220, 
    method_name=0x281e1220 "run", signature=0x281e165e "()V")
    at ../../../src/share/javavm/runtime/interpreter.c:288
#13 0x281bcf89 in ThreadRT0 (p=0x28edd220)
    at ../../../src/share/javavm/runtime/jvm.c:2101
#14 0x281cfd28 in saveStackBase (args=0x281bcf34)
    at ../../../src/share/javavm/runtime/threads.c:139
#15 0x2807c0b1 in start_func (func=0x281cfcc8 <saveStackBase>, args=0xbfbfead8)
    at ../../../../src/solaris/hpi/green_threads/src/threads_md.c:351
#16 0x0 in ?? ()
(gdb) 

Hope this helps,
  Haro
=------------------------------------------------------------------------------
           _ _    Munehiro (haro) Matsuda
 -|- /_\  |_|_|   Business Incubation Dept., Kubota Corp.
 /|\ |_|  |_|_|   1-3 Nihonbashi-Muromachi 3-Chome
                  Chuo-ku Tokyo 103-8310, Japan
                  Tel: +81-3-3245-3318  Fax: +81-3-3245-3315
                  Email: haro@kubota.co.jp






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?20011128000112D.haro>