Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2004 09:56:20 -0700 (PDT)
From:      Dan Strick <strick@covad.net>
To:        roberthuff@rcn.com
Cc:        emulation@freebsd.org
Subject:   Re: problems with linux and java
Message-ID:  <200406091656.i59GuKn8000556@mist.nodomain>

next in thread | raw e-mail | index | archive | help
On Tue, 8 Jun 2004 21:19:14 -0400, Robert Huff wrote:
>>
> 	I am working with linux-sun-jdk14 under -Current, trying to
> bootstrap to the native jdk.  However, running java from
> linux-sun-jdk14 produces:
>
> huff@jerusalem> javavm
> #
> # HotSpot Virtual Machine Error, Internal Error
> # Please report this error at
> # http://java.sun.com/cgi-bin/bugreport.cgi
> #
> # Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode)
> #
> # Error ID: 4F533F4C494E55583F491418160E435050030B
> #
>
> Heap at VM Abort:
> Heap
>
> 	... and the process hangs, consuming CPU until killed.
> 	I have been told (possibly by Greg Lewis, though I cannot find
> the e-mail) this is a linux emulation issue.
> 	I have PROCFS and PSEUDOFS in the kernel, linux.ko and
> linprocfs.ko loaded, and linprocfs mounted.  Linux_base is 7.1_7.
>>

Ugh ... Linux emulator support for Java has been broken for several years.
I think it got sick somewhere between FreeBSD release 4.3 and 4.6.2.
I used to think that I must have installed the Java runtime incorrectly
but gradually became convinced the problem was in the Linux emulator.
I posted a question about the problem to a couple of FreeBSD mailing
lists and got no response.  I asked a dozen or so other FreeBSD users
if they had noticed this problem and not one of them would admit that
they used the JRE on FreeBSD (or the Linux Netscape which may be the
biggest JRE application) or that they cared one way or another.

I suspect that the FreeBSD Linux emulator has gotten a couple of
years out of date.  I think this is important but I can't complain
since I am in no position to maintain it myself.

Dan Strick



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