Date: Tue, 28 Jan 2003 07:45:45 +1030 From: Greg Lewis <glewis@eyesbeyond.com> To: Robin Schilham <co9@xs4all.nl> Cc: Greg Lewis <glewis@eyesbeyond.com>, freebsd-java@FreeBSD.ORG Subject: Re: jboss3 java core dump Message-ID: <20030128074545.A10604@misty.eyesbeyond.com> In-Reply-To: <3E326B6E.1080700@xs4all.nl>; from co9@xs4all.nl on Sat, Jan 25, 2003 at 11:48:14AM %2B0100 References: <list.freebsd.java#811472746.20030113124453@ua.fm> <3E3127D3.7030907@xs4all.nl> <20030125060352.A39692@misty.eyesbeyond.com> <3E326B6E.1080700@xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 25, 2003 at 11:48:14AM +0100, Robin Schilham wrote:
> The changes that you proposed do not seem to solve the problem. The
> value of hp is still -1 in some cases, which causes the SIGBUS at
> line 311.
>
> The following java class illustrates the problem:
>
> import java.net.*;
> import java.io.*;
>
> public class Crash {
> public static void main(String[] args) {
>
> int port = 8083;
> InetAddress bindAddress = null;
> int backlog = 50;
> ServerSocket server = null;
>
> try {
> server = new ServerSocket(port, backlog, bindAddress);
>
> // the following statement causes a SIGBUS:
> System.out.println("Started server: " + server);
> } catch (IOException e) {
> System.out.println("caught exception: " + e);
> }
> }
> }
This doesn't cause a SIGBUS for me :(. All I see is the output:
Started server: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8083]
--
Greg Lewis Email : glewis@eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis@FreeBSD.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030128074545.A10604>
