From owner-freebsd-emulation Tue Nov 20 8:39:32 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from zcars0m9.nortelnetworks.com (zcars0m9.nortelnetworks.com [47.129.242.157]) by hub.freebsd.org (Postfix) with ESMTP id 0EA4A37B416 for ; Tue, 20 Nov 2001 08:39:29 -0800 (PST) Received: from zcars04e.ca.nortel.com (zcars04e.ca.nortel.com [47.129.242.56]) by zcars0m9.nortelnetworks.com (8.11.0/8.11.0) with ESMTP id fAKGchS06834 for ; Tue, 20 Nov 2001 11:38:43 -0500 (EST) Received: from zcard00m.ca.nortel.com by zcars04e.ca.nortel.com; Tue, 20 Nov 2001 11:39:12 -0500 Received: from zcard0ka.ca.nortel.com ([47.129.242.162]) by zcard00m.ca.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id X2KM0ZHP; Tue, 20 Nov 2001 11:38:15 -0500 Received: from hcarp00g (hcarp00g.ca.nortel.com [47.196.31.114]) by zcard0ka.ca.nortel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id PX30TLPW; Tue, 20 Nov 2001 11:38:16 -0500 Date: Tue, 20 Nov 2001 11:41:03 -0500 (EST) X-Sybari-Space: 00000000 00000000 00000000 From: "Andrew Atrens" X-X-Sender: atrens@hcarp00g.ca.nortel.com To: emulation@freebsd.org Subject: Small prog to demonstrate linux-jdk1.3.x signal handling problem. (fwd) Message-ID: <20011120113845.G38199-100000@hcarp00g.ca.nortel.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Orig: Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I originally sent this to -java, but it might be more suited here. This pre-dates the email Ari sent earlier today. ---------- Forwarded message ---------- Date: Thu, 15 Nov 2001 19:25:41 -0500 (EST) From: Andrew Atrens To: java@freebsd.org Subject: Small prog to demonstrate linux-jdk1.3.x signal handling problem. All, Here is a small program which kills both (linux) Sun/Blackdown JDK 1.3.x/1.4.x Hotspot JVM, _and_ the (linux) IBM JDK 1.3.0 JVM. The Sun/Blackdown JVMs will SEGV. The IBM JVM 'runs away' and is unreponsive to anything but SIGKILL. Cheers, Andrew. import java.io.*; public class ClientOfDeath { static String s = null; public static void main(String[] args) throws IOException { for (;;) { s = null; try { s.compareTo(""); } catch (NullPointerException n) { s = ""; } } } } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message