From owner-freebsd-java@FreeBSD.ORG Mon Sep 15 03:45:53 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F4CC16A4BF for ; Mon, 15 Sep 2003 03:45:53 -0700 (PDT) Received: from smtp1.euronet.nl (smtp1.euronet.nl [194.134.35.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3906543F75 for ; Mon, 15 Sep 2003 03:45:52 -0700 (PDT) (envelope-from znerd@FreeBSD.org) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by smtp1.euronet.nl (Postfix) with ESMTP id 44953672CC for ; Mon, 15 Sep 2003 12:45:49 +0200 (MEST) From: Ernst de Haan To: java@FreeBSD.org Date: Mon, 15 Sep 2003 12:45:55 +0200 User-Agent: KMail/1.5.2 References: <200309101245.17396.znerd@FreeBSD.org> <200309121711.40523.ernst.dehaan@nl.wanadoo.com> <200309151242.18807.znerd@FreeBSD.org> In-Reply-To: <200309151242.18807.znerd@FreeBSD.org> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309151245.55421.znerd@FreeBSD.org> Subject: Re: Unexpected signal: 11 [Was: Sun JDK 1.4.2_01 for Linux] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2003 10:45:53 -0000 Okay okay okay. Attachments are a nightmare with this list. Get the file here: http://people.freebsd.org/~znerd/SynchronizeOnNull.java Ernst On maandag 15 september 2003 12:42, Ernst de Haan wrote: > The problem is the following code snippet: > > synchronized (session) { > > } > > where session is null. I've written a small program to attempt to > reproduce the problem with that, but now the result is different. See the > attached .java file. Still the native JDK 1.4 handles it correctly, > producing a NullPointerException, but the Sun JDK 1.4.2_01 for Linux just > hangs. > > Should we send this to -hackers for investigation? > > Ernst > > On vrijdag 12 september 2003 17:11, Ernst de Haan wrote: > > Okay. It's reproducible. If I start Tomcat, running my web service > > application (WAR), I execute CreateSession and then GetSessionDetails > > for that session and BOOM > > > > With the native jdk14, I just get a NullPointerException... > > > > Ernst > > > > On vrijdag 12 september 2003 16:54, Ernst de Haan wrote: > > > > Is it just my imagination or is the Sun JDK 1.4.2_01 for Linux > > > > (java/linux-sun-jdk14) stable and very well performing? On my > > > > FreeBSD > > > > > > It was just my imagination ;-) See below for the error message I got > > > seconds after I started up my application server and executed no more > > > than 3 requests: > > > > > > > > > Unexpected Signal : 11 occurred at PC=0x2A6BD991 > > > Function=[Unknown.] > > > Library=(N/A) > > > > > > NOTE: We are unable to locate the function name symbol for the error > > > just occurred. Please refer to release documentation for > > > possible reason and solutions. > > > > > > > > > Current Java thread: > > > > > > Dynamic libraries: > > > Can not get information for pid = 21338 > > > > > > Heap at VM Abort: > > > Heap > > > def new generation total 576K, used 138K [0x2c760000, 0x2c800000, > > > 0x2cc40000) > > > eden space 512K, 24% used [0x2c760000, 0x2c77ee30, 0x2c7e0000) > > > from space 64K, 23% used [0x2c7e0000, 0x2c7e3b78, 0x2c7f0000) > > > to space 64K, 0% used [0x2c7f0000, 0x2c7f0000, 0x2c800000) > > > tenured generation total 3036K, used 2298K [0x2cc40000, > > > 0x2cf37000, 0x30760000) > > > the space 3036K, 75% used [0x2cc40000, 0x2ce7e870, 0x2ce7ea00, > > > 0x2cf37000) > > > compacting perm gen total 5376K, used 5140K [0x30760000, > > > 0x30ca0000, 0x34760000) > > > the space 5376K, 95% used [0x30760000, 0x30c653f8, 0x30c65400, > > > 0x30ca0000) > > > > > > Local Time = Fri Sep 12 16:50:59 2003 > > > Elapsed Time = 194 > > > # > > > # HotSpot Virtual Machine Error : 11 > > > # Error ID : 4F530E43505002EF > > > # Please report this error at > > > # http://java.sun.com/cgi-bin/bugreport.cgi > > > # > > > # Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode) > > > # > > > # An error report file has been saved as hs_err_pid21314.log. > > > # Please refer to the file for further information. > > > > > > _______________________________________________ > > > freebsd-java@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-java > > > To unsubscribe, send any mail to > > > "freebsd-java-unsubscribe@freebsd.org"