From owner-freebsd-java Sun Jan 26 0:38:51 2003 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 16A6F37B401 for ; Sun, 26 Jan 2003 00:38:49 -0800 (PST) Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 040C343F3F for ; Sun, 26 Jan 2003 00:38:48 -0800 (PST) (envelope-from co9@xs4all.nl) Received: from xs4all.nl (a194-109-252-84.adsl.xs4all.nl [194.109.252.84]) by smtpzilla5.xs4all.nl (8.12.0/8.12.0) with ESMTP id h0Q8ci99051997; Sun, 26 Jan 2003 09:38:46 +0100 (CET) Message-ID: <3E339E93.10403@xs4all.nl> Date: Sun, 26 Jan 2003 09:38:43 +0100 From: Robin Schilham Reply-To: co9@xs4all.nl User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030121 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java Subject: Re: 5.0-RELEASE core dumps running Jetty References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 William Holt wrote: > Hi, > > I have been trying to use Jetty on 5.0 and still not having > any > luck. I recently pinned it down to a problem with trying to > convert > a ServerSocket to a String! The following short program > crashes in exactly the same way as Jetty. > > I have tracked it further to the native class > InetAddressImpl.c > > Specifically getHostByAddr( int ) seems to be causing > the problem. > > I haven't got any response to previous posts - is anyone > else seeing this problem? Please try and run the following > small program and let me know if it core dumps on your 5.0 > release > system. > Please take a look at the postings in the thread "jboss3 java core dump" of 1/13/2003 on this list. It's probably the same issue. Regards, Robin Schilham > Thank you, > -Will > > PS: this is using jdk1.31p7 - just go to > /usr/ports/www/jetty > and type make and it will build it for you. > > > ===============snip===================== > import java.net.*; > public class CrashBSD > { > static public void main( String args[] ) > { > try > { > ServerSocket ss = new ServerSocket( 0 ); > System.out.println( ss ); > } > catch ( Exception e ) > { > System.out.println( e ); > System.exit( 1 ); > } > } > } > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message