Date: Sun, 9 Mar 2003 15:38:52 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Khairil Yusof <kaeru@pd.jaring.my> Cc: Alexey Zelkin <phantom@FreeBSD.org.ua>, Greg Lewis <glewis@eyesbeyond.com>, freebsd-java@FreeBSD.ORG Subject: Re: Error building jdk 1.4.1 on 5.0-p4 Message-ID: <20030309213852.GA47786@dan.emsphone.com> In-Reply-To: <1047244951.683.8.camel@daemon.home.net> References: <1047079208.715.45.camel@daemon.home.net> <20030308172845.A61777@misty.eyesbeyond.com> <1047114557.32447.28.camel@daemon.home.net> <20030308120006.A75574@phantom.cris.net> <1047244951.683.8.camel@daemon.home.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Mar 10), Khairil Yusof said:
> On Sat, 2003-03-08 at 18:00, Alexey Zelkin wrote:
> > If you're using 5.0-RELEASE -- first question - did you apply
> > libc_r patch and rebuily/reinstalled libc_r ?
>
> To make sure, I tried to rebuild with 5.0-CURRENT (9th March). I get
> to this point before the linux javac fails. I have 1.6GB of swap left
> and no limits on memory use.
>
> VM option 'ThreadStackSize=768'
> Error occurred during initialization of VM
> java.lang.OutOfMemoryError
> Dumping core....
> gmake[4]: ***
> [/usr/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/java.net/net/obj_g/.class.headers.i586] Abort trap (core dumped)
I get the same error at the same place on my system. javah_g has
allocated only 170MB at this point, according to top. I've got 1Gb of
RAM, no ulimits, and lots of free swap. Here's the backtrace:
(gdb) where
#0 0x280db9c3 in kill () from /usr/lib/libc.so.5
#1 0x281409cd in abort () from /usr/lib/libc.so.5
#2 0x286c7fe2 in os::abort(int) (dump_core=1)
at /usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:1039
#3 0x284e1871 in vm_abort() ()
at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/java.cpp:500
#4 0x284e1949 in vm_exit_during_initialization(Handle) ()
at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/java.cpp:509
#5 0x2846ebbf in ~ExceptionMark (this=0xbfbfdba0)
at /usr/ports/java/jdk14/work/hotspot/src/share/vm/utilities/exceptions.cpp:231
#6 0x287676f2 in Threads::create_vm(JavaVMInitArgs*) (args=0x28c1dda4)
at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/thread.cpp:2712
#7 0x285570e5 in JNI_CreateJavaVM (vm=0xbfbfe510, penv=0xbfbfe50c, args=0x0)
at /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:2318
#8 0x0804a7b8 in InitializeJVM (pvm=0xbfbfe510, penv=0xbfbfe50c,
ifn=0xbfbfe4e4) at ../../../../src/share/bin/java.c:939
#9 0x08049015 in main (argc=31, argv=0x8065108)
at ../../../../src/share/bin/java.c:234
#10 0x08048bf5 in _start (
ap=0xbfbfe7d8 "/usr/ports/java/jdk14/work/control/build/bsd-i586/bin/javah_g") at /usr/src/lib/csu/i386-elf/crt1.c:103
--
Dan Nelson
dnelson@allantgroup.com
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?20030309213852.GA47786>
