java dumps core with orion server on 5-current

java dumps core with orion server on 5-current

Post by Greg Lew » Wed, 28 Nov 2001 14:45:31




> 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.

Quote:> # cd /usr/local
> # gdb jdk1.3.1/jre/bin/i386/green_threads/java orion1.4.5/java.core
> #0  0x280badc8 in kill () from /usr/lib/libc.so.5
> (gdb) where
> #0  0x280badc8 in kill () from /usr/lib/libc.so.5
> #1  0x2810c38b in abort () from /usr/lib/libc.so.5
> #2  0x2817cae5 in Abort ()
>    from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
> #3  0x281a5a5c in panicHandler ()
>    from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
> #4  0x280786cb in userSignalHandler ()
>    from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
> #5  0x28078684 in intrDispatch ()
>    from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
> #6  0x2807192c in intrDispatchMD ()
>    from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
> #7  0xbfbfffac in ?? ()
> #8  0x281a6e35 in args_done ()
>    from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
> #9  0x28174349 in invokeJNINativeMethod ()
>    from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
> #10 0x281746a0 in invokeLazyNativeMethod ()
>    from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
> #11 0x281ad647 in ivq_not_ijn6 ()
>    from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
> #12 0x1 in ?? ()
> #13 0x8379800 in ?? ()

This is handy, but it would be better if you can reproduce the crash with
java_g.

Quote:> 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.

--

Eyes Beyond                           Phone : (801) 765 1887
Information Technology                Web   : http://www.eyesbeyond.com


with "unsubscribe freebsd-java" in the body of the message

 
 
 

java dumps core with orion server on 5-current

Post by Munehiro Matsu » Thu, 29 Nov 2001 00:03:02


Hi Greg,


Date: Tue, 27 Nov 2001 16:14:29 +1030

::> 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


with "unsubscribe freebsd-java" in the body of the message