From owner-freebsd-java Sat Jan 25 20:19:59 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 DC27A37B401 for ; Sat, 25 Jan 2003 20:19:57 -0800 (PST) Received: from cabrillo.edu (boris.cabrillo.cc.ca.us [207.62.187.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 878F743F13 for ; Sat, 25 Jan 2003 20:19:57 -0800 (PST) (envelope-from wiholt@cabrillo.edu) Received: from [63.249.101.109] (account ) by cabrillo.edu (CommuniGate Pro WebUser 3.5.9) with HTTP id 4073305 for ; Sat, 25 Jan 2003 20:19:52 -0800 From: "William Holt" Subject: 5.0-RELEASE core dumps running Jetty To: freebsd-java@freebsd.org X-Mailer: CommuniGate Pro Web Mailer v.3.5.9 Date: Sat, 25 Jan 2003 20:19:52 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit 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 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. 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