From owner-freebsd-java Thu Nov 15 6: 8:18 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 0FD1437B416; Thu, 15 Nov 2001 06:08:13 -0800 (PST) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Thu, 15 Nov 2001 15:08:11 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FDA0B0@l04.research.kpn.com> From: "Koster, K.J." To: 'Andrew Atrens' , "FreeBSD Java mailing list (E-mail)" Cc: hackers@FreeBSD.ORG Subject: RE: linux JVMs not handling SEGV well. Date: Thu, 15 Nov 2001 15:08:07 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [ CC'd to freebsd-java, please followup there too ] Dear Andrew, This question is better asked on -java, so I forwarded you question. There are many hardcore JVM hackers on that list. > > 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. > Well, considering that technically we don't actually have any Java VM post 1.1.8... :-) > > 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. > Could you perhaps provide a simple code sample that allows us to reproduce the problem? Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message