Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2001 15:47:32 -0500 (EST)
From:      "Andrew Atrens" <atrens@nortelnetworks.com>
To:        hackers@freebsd.org
Subject:   linux JVMs not handling SEGV well.
Message-ID:  <20011114152822.G3841-100000@hcarp00g.ca.nortel.com>

next in thread | raw e-mail | index | archive | help

All,

I'm using 4.x-stable, linux-base-6.x, and am encountering a lot of
turbulence with both Sun's jdk1.3.x HotSpot JVM and IBM's linux jdk1.3.x
JVM.

I have a buggy 3rdparty java app that occasionally causes a null pointer
exception to be thrown. While not fatal for the app (the exception is
correctly caught), it's most often fatal for the JVM. The SUN jvm SEGV's (
doesn't correctly catch the SIGNAL ), while the IBM jvm seems to get
locked in kernel mode - only responding to SIGKILL and chewing up tons of
'system' cpu time. The common denominator here is that both JITs utilize
linux threads. When I use a non-threaded JIT, the problem doesn't occur.

The problem is readily reproducible, but I'm not sure how to debug it.
I've played with truss and ktrace, but I think it's time to begin thinking
about using the kernel debugger.

Anyone have suggestions on the best way to proceed ?

Andrew.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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